]> git.sur5r.net Git - openldap/commitdiff
Don't fail if no group plugins
authorLuke Howard <lukeh@openldap.org>
Fri, 22 Jul 2005 07:55:45 +0000 (07:55 +0000)
committerLuke Howard <lukeh@openldap.org>
Fri, 22 Jul 2005 07:55:45 +0000 (07:55 +0000)
servers/slapd/slapi/slapi_overlay.c

index 7772467ec6db3f8e3b8f51dcb254cd827a32c04e..e377377a8af07af0a16980bda10b12096cd9cd4e 100644 (file)
@@ -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 );