POSTFIX - SASL - LDAP -JAMM
Tristan Defert <[email protected]> Tue, 26 Oct 2004 16:20:03 +0200
| Newsgroups | gmane.mail.jamm.user |
|---|---|
| Message-ID | <[email protected]> |
Hi list, i'm trying to set up SASL work with Postfix: Jamm-(LDAP)-Postfix already works But i can't have POSTFIX to work with SASL, smtpd crashes. my /usr/lib/sasl2/smtpd.conf : ############ pwcheck_method: saslauthd mech_list: plain login ############ I run saslauthd with a command like: /usr/local/sbin/saslauthd -t 30 -c -a ldap -O /opt/local/etc/saslauthd.conf -m /opt/local/var/state -V With that, sasl auth daemon run with ldap as auth mechanism, with config file /opt/local/etc/saslauthd.conf: ############ ldap_scope: sub ldap_auth_method: bind ldap_debug 1 mechanisms="ldap" ldap_servers: ldap://127.0.0.1/ ldap_bind_dn: cn=Manager,dc=mydomain,dc=com ldap_bind_pw: clear_text_jamm_admin_password ldap_search_base: o=myhosting,dc=mydomain,dc=com ldap_timeout: 10 ldap_filter: (&(objectClass=JammMailAccount)(mail=%u)) ldap_password_attr: userPassword ldap_verbose: on ############ When i run testsaslauthd: testsaslauthd -u [email protected] -p cleartextpassword 0: NO "authentication failed" #### auth fails... i just get and in syslog, i get: Oct 26 15:31:30 mail saslauthd[15368]: do_auth : auth failure: [[email protected]] [service=imap] [realm=] [mech=ldap] [reason=Unknown] So, what could be the problem? i tried my filter in an ldap browser, it works... Perhaps this doesn't work because Jamm porperty called userPassword is an MD5 hash ? did someone succeeded in authenticating SASL against Jamm schema ?? thx to read me and perhaps correct me Tristan ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl