Add SLAPI_X_GROUP_TARGET_ENTRY so that group plugin can use target entry

This commit is contained in:
Luke Howard 2004-08-26 04:24:29 +00:00
parent 2af6457771
commit 5f6996c8bf
3 changed files with 3 additions and 0 deletions

View File

@ -1618,6 +1618,7 @@ static void init_group_pblock( Operation *op, Entry *target,
slapi_pblock_set( op->o_pb, SLAPI_X_GROUP_ENTRY, (void *)e );
slapi_pblock_set( op->o_pb, SLAPI_X_GROUP_OPERATION_DN, (void *)op_ndn->bv_val );
slapi_pblock_set( op->o_pb, SLAPI_X_GROUP_ATTRIBUTE, (void *)group_at->ad_cname.bv_val );
slapi_pblock_set( op->o_pb, SLAPI_X_GROUP_TARGET_ENTRY, (void *)target );
}
static int call_group_preop_plugins( Operation *op )

View File

@ -437,6 +437,7 @@ extern Backend * slapi_cl_get_be(char *dn);
#define SLAPI_X_GROUP_ENTRY 1250 /* e */
#define SLAPI_X_GROUP_ATTRIBUTE 1251 /* group_at */
#define SLAPI_X_GROUP_OPERATION_DN 1252 /* op_ndn */
#define SLAPI_X_GROUP_TARGET_ENTRY 1253 /* target */
#define SLAPI_MANAGEDSAIT 1000

View File

@ -218,6 +218,7 @@ isOkNetscapeParam( int param )
case SLAPI_X_GROUP_ENTRY:
case SLAPI_X_GROUP_ATTRIBUTE:
case SLAPI_X_GROUP_OPERATION_DN:
case SLAPI_X_GROUP_TARGET_ENTRY:
return LDAP_SUCCESS;
default:
return INVALID_PARAM;