For reference (my own as much as anyone else’s’), here’s the ldapsearch translation of that AuthLDAPURL
.
“ldap://ldap.domain.local:389/OU=Users,DC=domain,DC=local?sAMAccountName”’
ldapsearch -W -h "ldap.domain.local" -b "OU=Users,DC=domain,DC=local" cn=test.user sAMAccountName
If I do something similar for myself, I can find myself in our LDAP.
[johrstrom@host ~]$ ldapsearch -x -h "host" -b "ou=People,dc=osc,dc=edu" cn=johrstrom uid
# extended LDIF
#
# LDAPv3
# base <ou=People,dc=osc,dc=edu> with scope subtree
# filter: cn=johrstrom
# requesting: uid
#
# johrstrom, People, osc.edu
dn: cn=johrstrom,ou=People,dc=osc,dc=edu
uid: johrstrom
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1