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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
rb:authagainstldap [08/07/2017 11:52] external edit
rb:authagainstldap [12/09/2018 23:50]
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 =====
Line 59: Line 73:
 +===== ToDo =====

rb/authagainstldap.txt ยท Last modified: 24/07/2019 17:00 by andrew