Difference between revisions of "Testing LDAP connectivity"

From Tech-Wiki
Jump to: navigation, search
(Created page with "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...")
 
 
Line 1: Line 1:
 +
[[Category:F5 Networks]]
 +
 
Get the Active Directory Controller:
 
Get the Active Directory Controller:
 
  dig _ldap._tcp.domain.com SRV
 
  dig _ldap._tcp.domain.com SRV

Latest revision as of 23:30, 6 February 2017


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