]> git.sur5r.net Git - openldap/commitdiff
use dn_match
authorPierangelo Masarati <ando@openldap.org>
Wed, 16 Jan 2002 12:15:27 +0000 (12:15 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 16 Jan 2002 12:15:27 +0000 (12:15 +0000)
servers/slapd/back-ldbm/group.c

index 3a4dde44863ff0fe2bc6fb2f2f1a8f9f93c82710..ac7f45ce3361e1c6893b2da2c25628681efd6ba7 100644 (file)
@@ -68,7 +68,7 @@ ldbm_back_group(
                target->e_ndn, 0, 0 ); 
 #endif
 
-       if (strcmp(target->e_ndn, gr_ndn->bv_val) == 0) {
+       if (dn_match(&target->e_nname, gr_ndn)) {
                /* we already have a LOCKED copy of the entry */
                e = target;
 #ifdef NEW_LOGGING