Thursday, July 11, 2013

Simple Ldap Tools: search users in Ldap OID, and test connection to the Ldap Server




Ldapsearch.exe is a simple and free tool (freeware). It is most likely installed as part of the oracle portal installation. You can do a search for ldapsearch.exe on the Portlet Provider server. If you find it, then you can use it. If not, you need to download it from the internet and install it on Portlet Provider, then you can do the search from there.
 
ldapsearch -h <oid hosturl> -p 3060 -D cn=orcladmin -w <cn=orcladmin login password> -b "cn=SSO,cn=Products,cn=OracleContext" -s base "(objectclass=*)"



You can also get Ldapbind.exe and run the following commands to test the connectivity to the Ldap server. You should see “Bind Succeeded” as the result.

        ldapbind -h <oidhost1 name> -p 3060 -D "cn=orcladmin" -q
      Input cn=orcladmin password when prompted.
This ensures that connection to the ldap server can be established.

Go to the following links for more information:

http://www.ldapguru.info/ldap/ldap-search-best-practices.html


 


No comments:

Post a Comment