Tuesday, August 31, 2010

ldapsearch usage

For example,
In order to find the home directory for a certain user id.

ldapsearch -H "ldap://ldapserver/" -D -W -vvv -L -x -b 'OU=Users,DC=mycomp,DC=com' -z 0 uid=$1 Home

No comments:

Post a Comment