goto return_results;
}
- if( is_entry_objectclass( e, group_oc ) ) {
+ if( !is_entry_objectclass( e, group_oc ) ) {
Debug( LDAP_DEBUG_ACL,
"<= ldbm_back_group: failed to find %s in objectClass\n",
group_oc_name, 0, 0 );
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 );