From: Andrew Brink (abrink at netstandard dot net)
Date: Thu Jun 24 2004 - 15:05:00 EDT
I'm trying to get saslauthd + ldap to work against a 2003 Active Directory Domain.
The command:
ldapsearch -x -b dc=domainname,dc=local -W -s sub -D \ cn=Administrator,cn=Users,dc=domainname,dc=local" "(cn=Administrator)"
That works, and returns me a bunch of information based off the administrator user. I can put other uses in the cn= and get information based off those users. So I know that I can connect to LDAP fine and get info.
Below is my saslauthd.conf:
ldap_servers: ldap://bw-admin
ldap_bind_dn: cn=Administrator,cn=Users,dc=domain,dc=local
ldap_bind_secret: AdministratorPassword
ldap_auth_method: bind
ldap_verbose: on
ldap_debug: 3
ldap_search_base: dc=domain,dc=local
ldap_scope: sub
ldap_filter: name=%u
saslauthd -a ldap is running.
testsaslauthd -u Administrator -p AdministratorPassword does not work, the log says:
Jun 24 13:44:51 saslauthd[14006]: Entry not found (name=Administrator).
Jun 24 13:44:51 saslauthd[14006]: Authentication failed for Administrator: User not found (-6)
Jun 24 13:44:51 saslauthd[14006]: do_auth : auth failure: [user=Administrator] [service=imap] [realm=] [mech=ldap] [reason=Unknown]
Any help would be great!
Thanks!
Andrew
|
|
|