* [Comm] libsasl2-plugin-mysql-2
@ 2003-11-26 16:42 Serge Cherpatyuk
2003-11-26 20:23 ` [Comm] libsasl2-plugin-mysql-2 Konstantin Lepikhov
0 siblings, 1 reply; 3+ messages in thread
From: Serge Cherpatyuk @ 2003-11-26 16:42 UTC (permalink / raw)
To: community
Коллеги,
а как заставить 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
С уважением,
Сергей.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Comm] Re: libsasl2-plugin-mysql-2
2003-11-26 16:42 [Comm] libsasl2-plugin-mysql-2 Serge Cherpatyuk
@ 2003-11-26 20:23 ` Konstantin Lepikhov
2003-11-26 20:43 ` Valery V. Inozemtsev
0 siblings, 1 reply; 3+ messages in thread
From: Konstantin Lepikhov @ 2003-11-26 20:23 UTC (permalink / raw)
To: community
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Re: libsasl2-plugin-mysql-2
2003-11-26 20:23 ` [Comm] libsasl2-plugin-mysql-2 Konstantin Lepikhov
@ 2003-11-26 20:43 ` Valery V. Inozemtsev
0 siblings, 0 replies; 3+ messages in thread
From: Valery V. Inozemtsev @ 2003-11-26 20:43 UTC (permalink / raw)
To: community
<skip>
>>mysql_pwdcol: password
>>
>>
>>Пытаемся запуститься:
>>
>># service saslauthd start
>>Starting SASLauthd server: saslauthd: unknown
>>authentication mechanism: mysql
>>
>>
>правильно. Обычно в таком случае используют pam_mysql, а в sasl указывают
>тип авторизации pam
>
>
>
ftp://212.13.100.3/pub/shrek/ALTLinux/SRPMS/SRPMS.local/pam_mysql-0.5-alt1.src.rpm
ftp://212.13.100.3/pub/shrek/ALTLinux/i686/RPMS.local/pam_mysql-0.5-alt1.src.rpm
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-26 20:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-26 16:42 [Comm] libsasl2-plugin-mysql-2 Serge Cherpatyuk
2003-11-26 20:23 ` [Comm] libsasl2-plugin-mysql-2 Konstantin Lepikhov
2003-11-26 20:43 ` Valery V. Inozemtsev
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