[ejabberd] ejabberd LDAP authentication woes

Evgeniy Khramtsov xramtsov at gmail.com
Wed Feb 25 06:54:39 MSK 2009


Jeff Schroeder wrote:

>================ ldap configuration in ejabberd.cfg ====================
>{auth_method, ldap}.
>{ldap_servers,
>["<ACTIVE DIRECTORY SERVER 1>"]}.
>{ldap_uidattr, "sAMAccountName"}.
>{ldap_base,
>"ou=Users,ou=EWT,dc=office,dc=bhtrader,dc=com"}.
>{ldap_rootdn,
>"cn=Jabber,ou=IT,ou=Users,ou=EWT,dc=office,dc=bhtrader,dc=com"}.
>{ldap_filter,
>"(memberOf=*)"}.
>{ldap_password, "<JABBERACCOUNTPASSWORD>"}.
>  
>

Your config file is incorrect. Use {ldap_uids, [{"sAMAccountName"}]} 
instead of {ldap_uidattr, "sAMAccountName"}.

-- 
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram at jabber.ru.



More information about the ejabberd mailing list