Category Archives: ldap


Install on ubuntu:  sudo apt-get install slapd ldap-utils sudo apt-get install phpldapadmin sudo service apache2 restart http://host/phpldapadmin Reference openldap-server.html One correction: please quote the binding dn below in bash. OpenLDAPServer How to change RootDN  /etc/ldap/slapd.d/cn=config/olcDatabase={1}hdb.ldif olcDatabase={1}hdb.ldif:olcRootDN: cn=admin,dc=example,dc=com How to change RootPWD … Continue reading

Posted in ldap | Tagged | Leave a comment

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

Posted in ldap | Leave a comment