Testing LDAP connectivity
From Tech-Wiki
More actions
BIG-IP LDAP/Active Directory connectivity checks retained for troubleshooting.
Validation status
Reviewed against current F5 LDAP/LDAPS authentication guidance on 27 September 2026.
Do not place directory passwords in shell history
The legacy examples use command-line passwords. Prefer an interactive prompt, protected credential mechanism or supported BIG-IP AAA test workflow.
Original technical reference
Get the Active Directory Controller:
dig _ldap._tcp.domain.com SRV
Test authentication:
adtest -t auth - r domain.com -u user -w password
Get group membership:
ldapsearch -x -D "User Name" -w user -h dc.domain.com -b "cn=User Name",cn=users,dc=domain,dc=com memberOf