/usr/bin/ldapwhoami
ldapwhoami implements the LDAP 'Who Am I?' extended operation. ldapwhoami opens a connection to an LDAP server, binds, and performs a whoami operation.