ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Serge Cherpatyuk <gray380@mail333.com>
To: community <community@altlinux.ru>
Subject: [Comm] libsasl2-plugin-mysql-2
Date: Wed, 26 Nov 2003 19:42:55 +0300 (MSK)
Message-ID: <200311261642.hAQGgthr093843@www1.hotbox.ru> (raw)

Коллеги,

а как заставить sasl2 понимать mysql как механизм
аутентификации? Что-то я в документации не смог найти.

По умолчанию устанавливается ldap:
OPTIONS="-a ldap -O /usr/lib/sasl2/saslauthd.conf"

Я по образу поменял:

# cat /etc/sysconfig/saslauthd
OPTIONS="-a mysql -O /etc/sasl2/smtpd.conf"

# cat /etc/sasl2/smtpd.conf
pwcheck_method: mysql
mysql_user: postfix
mysql_pasword: xxxxxxxxx
mysql_host: localhost
mysql_database: mail
mysql_table: users
mysql_uidcol: login
mysql_pwdcol: password


Пытаемся запуститься:

# service saslauthd start
Starting SASLauthd server: saslauthd: unknown
authentication mechanism: mysql

Установлены пакеты:

# rpm -qa|grep sasl2
libsasl2-2.1.10-alt1.5
cyrus-sasl2-2.1.10-alt1.5
cyrus-sasl2-docs-2.1.10-alt1.5
libsasl2-plugin-mysql-2.1.10-alt1.5

# rpm -qa|grep MySQL
MySQL-client-3.23.56-alt3# cat
/etc/sysconfig/saslauthd.orig
libMySQL-3.23.56-alt3
MySQL-server-3.23.56-alt3
libMySQL-devel-3.23.56-alt3
MySQL-doc-3.23.56-alt3

С уважением,
Сергей.


             reply	other threads:[~2003-11-26 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26 16:42 Serge Cherpatyuk [this message]
2003-11-26 20:23 ` [Comm] libsasl2-plugin-mysql-2 Konstantin Lepikhov
2003-11-26 20:43   ` Valery V. Inozemtsev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311261642.hAQGgthr093843@www1.hotbox.ru \
    --to=gray380@mail333.com \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git