Skip to content

Commit

Permalink
note the suffix/prefix stuff for ldap (#16091)
Browse files Browse the repository at this point in the history
  • Loading branch information
VVelox committed Jun 5, 2024
1 parent 0cdb58f commit 7879b45
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/Extensions/Authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7879b45

Please sign in to comment.