This is a Quick script to check the Name & Department of User in LDAP via ldapsearch command: Please see the output in raw view..
karn : UNIX mauj : SAN woody : BACKUP Ken : WINDOWS
- The second LDAP script ie ldaphostprofile.sh gives you quick details about "PreferredList" , DefaultServerList & Location of the LDAP Servers.