Active Directory Configuration: LDAP manager?

Hi,

I am very new to ejabberd and my knowledge about active directory is extremely limited. I need to know what the LDAP manager account is and where do I get the password for the LDAP manager? Will it always be administrator?

{auth_method, ldap}.
{ldap_servers, ["ADSERVER"]}. % List of LDAP servers
{ldap_base, "OU=All Users,DC=mydomain,DC=co,DC=za"}. % Search base of LDAP directory
{ldap_rootdn, "DC=mydomain,DC=co,DC=za"}.
{ldap_password, ""}. % Password to LDAP manager??
{ldap_uids, [{"cn", %u"}]}.
{ldap_filter, "(memberOf=*)"}.

I also want people to login using their network login names... is the above setting correct?

Any help would be appreciated.

The LDAP manager is the user

The LDAP manager is the user account in active directory that has the ability to browse LDAP. This can be any account you create as long as the permissions are set properly.

the rootdn should point directly to this account. If your account is "ldapbrowse" your rootdn would be

{ldap_rootdn, "cn=ldapbrowse,dc=mydomain,dc=co,dz=za"}.

This is the ldap uid that i use to pull the users account name for authentication.

{ldap_uids, [{"sAMAccountName"}]}.

You can set the logging on the server to 5 and tail the /var/log/ejabberd/ejabberd.log file and see if ldap queries are working properly.

Thank You

Thank you very much.

It's working like a charm.

Syndicate content