1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

test simple ldap-search provider usage

Submitted by: Eric Covener <ecovener@us.ibm.com>

Github: closes #714


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eric Covener
2026-08-26 00:11:06 +00:00
parent f7002ab88b
commit ef0dfb4cf1
2 changed files with 10 additions and 0 deletions

View File

@@ -883,6 +883,7 @@ LimitRequestFields 32
Alias /modules/ldap/simple @DocumentRoot@
Alias /modules/ldap/group @DocumentRoot@
Alias /modules/ldap/refer @DocumentRoot@
Alias /modules/ldap/search @DocumentRoot@
# Simple user lookup
<Location /modules/ldap/simple>
@@ -915,6 +916,14 @@ LimitRequestFields 32
AuthBasicProvider ldap
Require ldap-group cn=Subgroup,ou=dept,dc=example,dc=com
</Location>
# ldap-search
<Location /modules/ldap/search>
AuthLDAPURL "ldap://localhost:8389/dc=example,dc=com?uid"
AuthLDAPBindDN "cn=httpd,dc=example,dc=com"
AuthLDAPBindPassword mod_authnz_ldap
Require ldap-search cn=Subgroup
</Location>
</IfDefine>
##

View File

@@ -26,6 +26,7 @@ CASES = [
("/modules/ldap/group/", "delta", "Delta", 200),
("/modules/ldap/refer/", "alpha", "Alpha", 401),
("/modules/ldap/refer/", "beta", "Beta", 200),
("/modules/ldap/search/", "unchecked", "unchecked", 200),
]