]> git.sur5r.net Git - openldap/commitdiff
Bug fix.
authorMark Valence <mrv@openldap.org>
Wed, 14 Jun 2000 23:28:28 +0000 (23:28 +0000)
committerMark Valence <mrv@openldap.org>
Wed, 14 Jun 2000 23:28:28 +0000 (23:28 +0000)
servers/slapd/back-ldbm/group.c

index 41f1df011e5219f63ed9fd4a366d76cce35ac4e8..512f8e6b80c5a4f698b6ae0be0e595bdc5647fef 100644 (file)
@@ -123,7 +123,7 @@ ldbm_back_group(
        bv.bv_val = (char *) op_ndn;
        bv.bv_len = strlen( op_ndn );         
 
-       if( value_find( group_at, attr->a_vals, &bv ) == 0 ) {
+       if( value_find( group_at, attr->a_vals, &bv ) != LDAP_SUCCESS ) {
                Debug( LDAP_DEBUG_ACL,
                        "<= ldbm_back_group: \"%s\" not in \"%s\": %s\n", 
                        op_ndn, gr_ndn, group_at_name );