|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: problems with sasl ldap pam_login_attribute
From: Jimmy Ott (admin
onnet.ch)
Date: Mon Apr 03 2006 - 16:02:02 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor Duchovni wrote:
> On Mon, Apr 03, 2006 at 10:43:11PM +0200, Jimmy Ott wrote:
>
>
>>Hello,
>>
>>i've got a problem with sasl smtpd authentication.
>>sasl is configured and following test is working:
>>
>>testsaslauthd -u myemail
domain.com -p mysecret -s smtp -f
>>/var/run/saslauthd/mux
>>
>>pam_ldap.conf looks as following:
>>
>>host ldap.intra.onnet.ch
>>base ou=domains,dc=intra,dc=onnet,dc=ch
>>ldap_version 3
>>port 389
>>scope sub
>>pam_filter objectclass=CourierMailAccount
>>pam_login_attribute mail
>>pam_password crypt
>>
>>if i'm trying to smtp authenticate via telnet or a mail client the error
>>shows up in mail.log: SASL PLAIN authentication failed
>>
>>i've already figured out, where the problem is, but do not know how to
>>solve it: if i use for pam_login_attribute another attributed instead of
>>mail, e.g. cn, or sn, or another attribute with no
sign in value the
>>authentication works great with postfix. the authentication is currently
>>for debuging PLAIN AUTH. is there a problem with base64encoding an
sign?
>
>
> Perhaps your setting of
> http://www.postfix.org/postconf.5.html#smtpd_sasl_local_domain is not
> appropriate.
>
i've just removed the value in smtpd_sasl_local_domain, and it's now a
null string, but still not working. or what should i enter, what is the
name of the "local SASL authentication realm"?
many thanks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]