[ejabberd] mod_shared_roster_ldap config help

Mike Kaganski mikekaganski at hotmail.com
Tue Nov 15 07:22:38 MSK 2011


Kristian Davies <kristian.davies <at> gmail.com> writes:

> {ldap_ufilter, "(&(objectClass=user)(!
(userAccountControl:1.2.840.113556.1.4.803:=2))(!(ou=Disabled_Users))(!
(ou=Boring_users))(!(ou=TEST))(!(ou=Employees)))"},

I think that

{ldap_ufilter, "(&(objectClass=user)(!
(userAccountControl:1.2.840.113556.1.4.803:=2)))"},

would suffice, as it will select only those people that are children of your 
group, that you have already filtered out; and I don't think that users in 
your LDAP have "ou" attribute anyway.

> 
> I still have to look at the chattyness to AD and vcards and more
> testing etc.  We will have 1300 users all friends of each other but
> only 200 online at any one time.
> 

Take a look at http://www.ejabberd.im/node/4996

Best regards, Mike.




More information about the ejabberd mailing list