Document the group parameters

This commit is contained in:
Colin Leroy 2018-11-27 12:10:05 +01:00
parent 4936446940
commit bb27acb8c8
1 changed files with 5 additions and 0 deletions

View File

@ -116,6 +116,11 @@ In such a case you can define `X-Ldap-Template` template as follows:
proxy_set_header X-Ldap-Template "(&(cn=%(username)s)(memberOf=cn=group1,cn=Users,dc=example,dc=com))"; proxy_set_header X-Ldap-Template "(&(cn=%(username)s)(memberOf=cn=group1,cn=Users,dc=example,dc=com))";
If your LDAP server doesn't support the memberOf overlay, you can use the following parameters:
proxy_set_header X-Ldap-GroupBaseDN "ou=groups,dc=example,dc=com"
proxy_set_header X-Ldap-GroupTemplate "(cn=%(groupname)s)"
proxy_set_header X-Ldap-GroupLimit "group1"
The search filters can be combined from less complex filters using boolean operations and can be rather complex. The search filters can be combined from less complex filters using boolean operations and can be rather complex.
The reference implementation uses cookie-based authentication. If you are using HTTP basic authentication instead, comment out the following directives as shown: The reference implementation uses cookie-based authentication. If you are using HTTP basic authentication instead, comment out the following directives as shown: