1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

libgpo: clean up CSE module api, remove unrequired references to ads_struct.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Günther Deschner
2013-12-13 15:52:31 +01:00
committed by Andreas Schneider
parent 103e672ef5
commit 8fef712eff
5 changed files with 6 additions and 12 deletions

View File

@ -733,8 +733,7 @@ NTSTATUS gpext_process_extension(ADS_STRUCT *ads,
status = ext->methods->initialize(mem_ctx);
NT_STATUS_NOT_OK_RETURN(status);
status = ext->methods->process_group_policy(ads,
mem_ctx,
status = ext->methods->process_group_policy(mem_ctx,
flags,
root_key,
token,

View File

@ -61,8 +61,7 @@ struct gp_extension_methods {
NTSTATUS (*initialize)(TALLOC_CTX *mem_ctx);
NTSTATUS (*process_group_policy)(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
NTSTATUS (*process_group_policy)(TALLOC_CTX *mem_ctx,
uint32_t flags,
struct registry_key *root_key,
const struct security_token *token,
@ -70,8 +69,7 @@ struct gp_extension_methods {
const char *extension_guid,
const char *snapin_guid);
NTSTATUS (*process_group_policy2)(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
NTSTATUS (*process_group_policy2)(TALLOC_CTX *mem_ctx,
uint32_t flags,
const struct security_token *token,
struct GROUP_POLICY_OBJECT *gpo_list,

View File

@ -269,8 +269,7 @@ done:
/****************************************************************
****************************************************************/
static NTSTATUS registry_process_group_policy(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
static NTSTATUS registry_process_group_policy(TALLOC_CTX *mem_ctx,
uint32_t flags,
struct registry_key *root_key,
const struct security_token *token,

View File

@ -335,8 +335,7 @@ static WERROR scripts_apply(TALLOC_CTX *mem_ctx,
/****************************************************************
****************************************************************/
static NTSTATUS scripts_process_group_policy(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
static NTSTATUS scripts_process_group_policy(TALLOC_CTX *mem_ctx,
uint32_t flags,
struct registry_key *root_key,
const struct security_token *token,

View File

@ -140,8 +140,7 @@ static NTSTATUS gpttmpl_process(struct gp_inifile_context *ini_ctx,
/****************************************************************
****************************************************************/
static NTSTATUS security_process_group_policy(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
static NTSTATUS security_process_group_policy(TALLOC_CTX *mem_ctx,
uint32_t flags,
struct registry_key *root_key,
const struct security_token *token,