The filter in this example is based on Active Directory security account manager (SAM) objects. This and other search criteria may vary depending on the directory you search.
C> ldapsearch -H ldap://host:port/ -Y DIGEST-MD5 -U drct01 -b "CN=Users,DC=esrootdom,DC=esdev,DC=tdat" -s one "(sAMAccountName=drct01)"
The DIGEST-MD5 authentication protocol used by LDAP is deprecated. Teradata strongly recommends you use simple binding with TLS protection, and stop using DIGEST-MD5.