[ejabberd] ejabberd LDAP authentication woes

Jeff Schroeder jeffschroed at gmail.com
Wed Feb 25 17:06:42 MSK 2009


On Tue, Feb 24, 2009 at 7:54 PM, Evgeniy Khramtsov <xramtsov at gmail.com> wrote:
> 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"}.

That did it, thankyou!


-- 
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com


More information about the ejabberd mailing list