Here is the client side session... shell/iX> ldapadd -p 1234 -D cn=root,o=hp,c=DE -w secret dn: o=hp,c=DE objectclass: organization adding new entry o=hp,c=DE dn: cn=lars,o=hp,c=de objectclass: person email: me@home adding new entry cn=lars,o=hp,c=de :eod shell/iX> ldapsearch -? ldapsearch: Unknown option -? usage: ldapsearch [options] filter [attributes...] where: filter RFC-1558 compliant LDAP search filter attributes whitespace-separated list of attributes to retrieve (if no attribute list is given, all are retrieved) options: -n show what would be done but don't actually search -v run in verbose mode (diagnostics to standard output) -t write values to files in /tmp -u include User Friendly entry names in the output -A retrieve attribute names only (no values) -B do not suppress printing of non-ASCII values -L print entries in LDIF format (-B is implied) -R do not automatically follow referrals -d level set LDAP debugging level to `level' -F sep print `sep' instead of `=' between attribute names and values -S attr sort the results by attribute `attr' -f file perform sequence of searches listed in `file' -b basedn base dn for search -s scope one of base, one, or sub (search scope) -a deref one of never, always, search, or find (alias dereferencing) -l time lim time limit (in seconds) for search -z size lim size limit (in entries) for search -D binddn bind dn -w passwd bind passwd (for simple authentication) -h host ldap server -p port port on ldap server shell/iX> ldapsearch -p 1234 -b o=hp,c=de 'objectclass=*' o=hp,c=DE objectclass=organization cn=lars,o=hp,c=de objectclass=person email=me@home shell/iX> ldapsearch -p 1234 -b o=hp,c=de objectclass=person cn=lars,o=hp,c=de objectclass=person email=me@home shell/iX> ldapsearch -p 1234 -b o=hp,c=de objectclass=person email cn=lars,o=hp,c=de email=me@home shell/iX> kill -s HUP `cat var/slapd.pid`