From: Luke Howard Date: Fri, 22 Jul 2005 07:55:45 +0000 (+0000) Subject: Don't fail if no group plugins X-Git-Tag: OPENLDAP_AC_BP~255 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e6ed981ab91fc3732bcb6212df8bee1143b431d4;p=openldap Don't fail if no group plugins --- diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 7772467ec6..e377377a8a 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -930,7 +930,7 @@ slapi_over_acl_group( slapi_pblock_set( pb, SLAPI_X_GROUP_TARGET_ENTRY, (void *)target ); rc = slapi_int_call_plugins( op->o_bd, SLAPI_X_PLUGIN_PRE_GROUP_FN, pb ); - if ( rc == 0 ) + if ( rc >= 0 ) /* 1 means no plugins called */ rc = SLAP_CB_CONTINUE; else slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void **)&rc );