[ejabberd] ldap_uidattr not working

Safford, Brian brian.safford at eds.com
Mon Feb 26 19:02:21 MSK 2007


I am trying to configure LDAP for authentication, and have the
following:

% For LDAP authentication use these lines instead of above one:
{auth_method, ldap}.
{ldap_servers, ["eimldap.mail.eds.com"]}.    % List of LDAP servers
{ldap_uidattr, "jabberid"}.            % LDAP attribute that holds user
ID
{ldap_uidattr_format, "%u"}.
{ldap_filter, "(objectClass=inetOrgPerson)"}.
{ldap_base, "ou=eim.mail.eds.com,o=jabber,c=us"}. % Search base of LDAP
directory
{ldap_rootdn, "cn=Manager,o=jabber,c=us"}. % LDAP manager
{ldap_password, "xxxxxxxx"}. % Password to LDAP manager

The log on my LDAP server shows:

Feb 26 09:55:49 plimin1 slapd[2962]: conn=165065 op=5 SRCH
base="ou=eim.mail.eds.com,o=jabber,c=us" scope=2 deref=0
filter="(&(uid=brian.safford)(objectClass=inetOrgPerson))"

It appears that ejabberd isn't using the ldap_uidattr value of
'jabberid'.

Thoughts?

Regards,

Brian Safford
Senior Consultant
EDS - Managed Messaging Services


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20070226/ef227487/attachment.htm


More information about the ejabberd mailing list