X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Facl.c;h=d6e92eb53b42d643afb4004199f5cf986536ae0c;hb=d2d574858005d9f81129a7502b663a5cd9c0f22d;hp=dc424912891613c96deb1c022ad78a880b10f402;hpb=e2a15115b010b74ed5baf589614873994d9c36ec;p=openldap diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index dc42491289..d6e92eb53b 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -267,7 +267,7 @@ acl_access_allowed( if ( strcasecmp( b->a_dnpat, "self" ) == 0 && op->o_ndn != NULL && *(op->o_ndn) && e->e_dn != NULL ) { - if ( strcasecmp( edn, op->o_ndn ) == 0 ) { + if ( strcmp( edn, op->o_ndn ) == 0 ) { Debug( LDAP_DEBUG_ACL, "<= acl_access_allowed: matched by clause #%d access %s\n", i, (b->a_access & ~ACL_SELF) >= @@ -356,7 +356,7 @@ acl_access_allowed( string_expand(buf, sizeof(buf), b->a_group, edn, matches); (void) dn_normalize_case(buf); - if (be_group(be, e, buf, odn, + if (backend_group(be, e, buf, odn, b->a_objectclassvalue, b->a_groupattrname) == 0) { Debug( LDAP_DEBUG_ACL,