mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Don't fail if no group plugins
This commit is contained in:
parent
cb786e3330
commit
e6ed981ab9
@ -930,7 +930,7 @@ slapi_over_acl_group(
|
|||||||
slapi_pblock_set( pb, SLAPI_X_GROUP_TARGET_ENTRY, (void *)target );
|
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 );
|
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;
|
rc = SLAP_CB_CONTINUE;
|
||||||
else
|
else
|
||||||
slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void **)&rc );
|
slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void **)&rc );
|
||||||
|
Loading…
Reference in New Issue
Block a user