This example authenticates the user against the Oracle Directory Server Enterprise Edition. You may find it beneficial to consult your directory administrator for the proper syntax for user names accepted by the directory.
In this test example, the user ID diperm01@testing is a valid user dn.
$ ldapsearch -H ldap://elkwoodca -b "" -s base -x -D testerm01@testing -W -Z namingContexts Enter LDAP password: dn: namingContexts: dc=elkwoodca,dc=example,dc=com namingContexts: o=NetscapeRoot $