ldapsearch -b DC=deadlycoffee,DC=com -h ldapserver -D CN=”James T. Kirk,OU=USSENT01,OU=FEDERATION,DC=deadlycoffee,DC=com” -w “$PASSWORD” “(sAMAccountName=jtk*)”
Make sure you use the same CN that you find with this Windows graphical tool:
ldapsearch -b DC=deadlycoffee,DC=com -h ldapserver -D CN=”James T. Kirk,OU=USSENT01,OU=FEDERATION,DC=deadlycoffee,DC=com” -w “$PASSWORD” “(sAMAccountName=jtk*)”
Make sure you use the same CN that you find with this Windows graphical tool: