[ejabberd] Re strict LDAP Attributes?

kato ultem2001 at yahoo.de
Thu Aug 14 23:49:11 MSD 2008


Using LDAP for authentification, ejabberd 2.0.1 generally attempts to
retrieve all attributes for a specific user. I'd like to restrict this to a
certain small set, such as [uid, sn, disabled, securityEquals].
Reason: It's not exactly useful retrieving all attributes for 6000 users (as
in inevitable LDAP timeout).

Does such functionality exist?
>From looking at the code, i'd suspect the ldap_dn_filter option in the
configuration file to be capable of this, however i'm unsure of the syntax
to be used.

Alternatively, a similar effect can presumably be reached by pre-setting the
SortedDNAttribs variable in ejabberd_auth_ldap.erl, however i'd prefer not
to hardcode this.

--
-- 
View this message in context: http://www.nabble.com/Restrict-LDAP-Attributes--tp18868494p18868494.html
Sent from the ejabberd mailing list archive at Nabble.com.



More information about the ejabberd mailing list