-
pam_ldap with tls and sasl
I've set up postfix in a chroot environment and have copied the necessary
files (not all though) into the chroot directory.
I've been able to do a smtp auth using sasl through pam, but when I turn on
the TLS option, this error appear:
May 9 21:06:17 thunderbolt postfix/smtpd[2714]: pam_ldap: ldap_starttls_s:
Connect error May 9 21:06:17 thunderbolt postfix/smtpd[2714]:
warning: thunderbolt.testing.com[192.168.1.7]: SASL LOGIN authentication
failed
I've already copied the right certificate and that certificate has been used
for other pam usage, such as login, etc. So from my deduction, there
shouldn't be any mistake about the hostname in the cert not matching the one
I'm about to connect to (in /etc/ldap.conf and
/var/spool/postfix/etc/ldap.conf, I've stated the ldap server is at
thunderbolt.testing.com).
There should be other thing that I had forgotten? Is it any library files
that I've not copied?
Thank you
-
Re:pam_ldap with tls and sasl
I have no idea. :P :'(
However a search turned up a couple things that might help. ;D
http://www.moongroup.com/archives/ma.../msg00007.html
Bunch of Postfix links. One is a Postfix SASL Authentication and TLS howto
http://www.postfix.com/docs.html
I hope these will help you out. As a last resort you might try the postfix mailing list.
Jim H
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks