We have one LDAP server with users in different contexts. (i.e. ou=sales,o=myorg; ou=mktg,o=myorg; ...)
But I can set only one ldap_base in ejabberd.cfg file for LDAP Authentication.
How can I configure ejabberd to search users in multiple ldap_base? (or set ldap search method like Sub-Tree)
Use LDAP filters
How can I configure ejabberd to search users in multiple ldap_base? (or set ldap search method like Sub-Tree)
You can do so by means of LDAP filter (it is possible in ejabberd >= 1.1.2)
Use plain text password - troubles
Thanks.
LDAP filter really usefull options. My problem was solved.
Hi Is possible to share
Hi
Is possible to share format of search filter what you used.
Thanks
Krishna
filters with Active Directory
I have a single ejabberd host authenticating with an AD with two OUs, set up like this:
Top (DN=X,DN=COM)
- ou=California
----- ou=Users
......... CN=User1
......... CN=User2
- ou=NewHampshire
----- ou=Users
......... CN=User3
......... CN=User4
- ou=NewYork
----- ou=Users
......... CN=User5
......... CN=User6
.
.
.
.
Is there a filter I can specify in the cfg if x.com is the search base, but I only want to limit the search and authenticate users only in California and NewHampshire?
I realize I can just put the search base at the top level, but I'd really like to optimize it for just a couple of OUs for huge directories.
thanks
alf
Hot to configure ejabberd to
Anyone knows how to do this en the last version of ejabberd?
I have:
ldap_base: "ou=Users,dc=domain,dc=com"
and i would also like to add
ldap_base: "ou=Other-Users,dc=domain,dc=com"
so i get users from both groups
Thanks