note the suffix/prefix stuff for ldap (#16091)

This commit is contained in:
Zane C. Bowers-Hadley 2024-06-04 23:15:08 -05:00 committed by GitHub
parent 0cdb58fab9
commit 7879b450ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,6 +196,13 @@ setsebool -P httpd_can_connect_ldap 1
Install __php_ldap__ or __php7.0-ldap__, making sure to install the
same version as PHP.
For the below, keep in mind the auth DN is composed using a string
join of `auth_ldap_prefix`, the username, and `auth_ldap_suffix`. This
means it needs to include `=` in the prefix and `,` in the suffix. So
lets say we have a prefix of `uid=`, the user `derp`, and the suffix of
`,ou=users,dc=foo,dc=bar`, then the result is
`uid=derp,ou=users,dc=foo,dc=bar`.
### Standard config
!!! setting "auth/ldap"