]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/acl.c
Updated some items
[openldap] / servers / slapd / acl.c
index dc424912891613c96deb1c022ad78a880b10f402..d6e92eb53b42d643afb4004199f5cf986536ae0c 100644 (file)
@@ -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,