* mod_ldap: Don't filter subgroups on cn=*

Proposed by: covener
Reviewed by: jim, rjung

Backport of r1528143 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1528970 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rainer Jung
2013-10-03 18:55:16 +00:00
parent 2332406e98
commit fdbb876497
3 changed files with 4 additions and 6 deletions

View File

@ -1213,7 +1213,7 @@ start_over:
/* try to do the search */
result = ldap_search_ext_s(ldc->ldap, (char *)dn, LDAP_SCOPE_BASE,
(char *)"cn=*", subgroupAttrs, 0,
NULL, subgroupAttrs, 0,
NULL, NULL, NULL, APR_LDAP_SIZELIMIT, &sga_res);
if (AP_LDAP_IS_SERVER_DOWN(result)) {
ldc->reason = "ldap_search_ext_s() for subgroups failed with server"