ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Konstantin Lepikhov <lakostis@mmti.ru>
To: community@altlinux.ru
Subject: [Comm] Re: libsasl2-plugin-mysql-2
Date: Wed, 26 Nov 2003 23:23:21 +0300
Message-ID: <20031126202321.GA6677@lks.home> (raw)
In-Reply-To: <200311261642.hAQGgthr093843@www1.hotbox.ru>

Hi Serge!

Wednesday 26, at 07:42:55 PM you wrote:

> Коллеги,
> 
> а как заставить 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
правильно. Обычно в таком случае используют pam_mysql, а в sasl указывают
тип авторизации pam

-- 
WBR, Konstantin	      chat with ==>ICQ: 109916175
     Lepikhov,	      speak  to ==>JID: lakostis@jabber.org
aka L.A. Kostis       write  to ==>mailto:lakostis@pisem.net.nospam

...The information is like the bank... 			  (c) EC8OR


  reply	other threads:[~2003-11-26 20:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-26 16:42 [Comm] libsasl2-plugin-mysql-2 Serge Cherpatyuk
2003-11-26 20:23 ` Konstantin Lepikhov [this message]
2003-11-26 20:43   ` [Comm] libsasl2-plugin-mysql-2 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=20031126202321.GA6677@lks.home \
    --to=lakostis@mmti.ru \
    --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