[LDAP] How is it supposed to be used?

Forge Component
Published on 2014-11-24 by Filipe Jacinto
16 votes
Published on 2014-11-24 by Filipe Jacinto

Hi, just trying to make it work against several public ldap servers. (i.e. https://www.zflexldapadministrator.com/index.php/blog/82-free-online-ldap )

Site properties are setted and everything should be fine. I can connect using Apache Directory Studio and using same parameters always leads to "Error searching" or "server not operational" error.

Can you provide a configuration example for that server?



What do you have setup in site properties?

I am running it against our internal Active Directory and it works fine.

Supposing my LDAP server is LDAP001.my.domain.com, this is how I would set up the Site Properties:

LdapPath = ldap://LDAP001.my.domain.com

LdapUser = Domain\username

LdapPass = #$$#@((#(#)@)

So when you want to target a specific user object in LDAP, such as getting a property using one of the Server Actions provided by the LDAP module, you can either retrieve its LDAP Path first using the Search Server Action, or you set the LDAP path manually using Site.LdapPath + "/" + UserDN

So the path would look like: "ldap://LDAP001.mydomain.com/CN=Emanuele Mattei,OU=Users,DC=my,DC=domain,DC=com"