Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rb:authagainstldap [07/09/2018 17:27]
andrew [ACL on LDAP server]
rb:authagainstldap [12/09/2018 23:50] (current)
andrew [Cannot find group info]
Line 1: Line 1:
 ====== Authenticating against LDAP ====== ====== Authenticating against LDAP ======
 +
 +===== ldapsearch =====
 +
 +''​ldapsearch''​ is a command used to gather information from LDAP, but it can be used to test login auth too, if a user can bind successfully,​ they can be considered to authenticated,​ depending on what groups a user is a member of can be used to determine if they are authorized to access a specific resource.
 +
 +ldapsearch -h <​LDAPserverHostname>​ -D "bind DN" -W -b "​searchbase DN"
 +
 +-h LDAP server hostname \\
 +-b searchbase \\
 +-D bind DN \\
 +-W prompt for password on screen \\
 +
 +
 +
  
 ===== Cannot find group info ===== ===== Cannot find group info =====

rb/authagainstldap.txt ยท Last modified: 12/09/2018 23:50 by andrew