From: Mark Valence Date: Wed, 14 Jun 2000 23:28:28 +0000 (+0000) Subject: Bug fix. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2643 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ba044208a6aa4535b032f3d0062b8a5e01778e4c;p=openldap Bug fix. --- diff --git a/servers/slapd/back-ldbm/group.c b/servers/slapd/back-ldbm/group.c index 41f1df011e..512f8e6b80 100644 --- a/servers/slapd/back-ldbm/group.c +++ b/servers/slapd/back-ldbm/group.c @@ -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 );