This example authenticates the user against the Sun Java System Directory Server. 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://elsegundoca -b "" -s base -x -D diperm01@testing -W -Z namingContexts Enter LDAP password: dn: namingContexts: dc=elsegundoca,dc=teradata,dc=com namingContexts: o=NetscapeRoot $