Search Scripts and an Example for
Searching the LDAP


The following is an example of locating a paricular UID:

./ldapsearch -v -b "dc=sun,dc=com" -h "LDAPHostName" -p 389 -D "cn=directory manager" -w password uid=jnester

The following is a script that will prompt you for the attributes and run the search dumping the output into a file that you specify.

Solairs Version
Linux Version




Go Back to Menu