summaryrefslogtreecommitdiff
path: root/source4/lib/policy/policy.h
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-06-07 15:21:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 17:19:13 +0200
commite18a172207b433a3f027541d4d5e98cea73dbcb6 (patch)
treea63664933c506d5adafda27c6519823f69e15ef5 /source4/lib/policy/policy.h
parent04133225c1c3ab53191da50cae39f2019e7f7f01 (diff)
downloadsamba-e18a172207b433a3f027541d4d5e98cea73dbcb6.tar.gz
samba-e18a172207b433a3f027541d4d5e98cea73dbcb6.tar.bz2
samba-e18a172207b433a3f027541d4d5e98cea73dbcb6.zip
Add preliminary support for storing changed Group Policies.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/policy/policy.h')
-rw-r--r--source4/lib/policy/policy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/policy/policy.h b/source4/lib/policy/policy.h
index 8dc2f9ccb0..d22c3d6a9d 100644
--- a/source4/lib/policy/policy.h
+++ b/source4/lib/policy/policy.h
@@ -104,11 +104,15 @@ NTSTATUS gp_set_inheritance(struct gp_context *gp_ctx, const char *dn_str, enum
NTSTATUS gp_create_ldap_gpo(struct gp_context *gp_ctx, struct gp_object *gpo);
NTSTATUS gp_set_ads_acl (struct gp_context *gp_ctx, const char *dn_str, const struct security_descriptor *sd);
+NTSTATUS gp_push_gpo (struct gp_context *gp_ctx, const char *local_path, struct gp_object *gpo);
+NTSTATUS gp_set_ldap_gpo(struct gp_context *gp_ctx, struct gp_object *gpo);
/* File system functions */
NTSTATUS gp_fetch_gpt (struct gp_context *gp_ctx, struct gp_object *gpo, const char **path);
NTSTATUS gp_create_gpt(struct gp_context *gp_ctx, const char *name, const char *file_sys_path);
NTSTATUS gp_set_gpt_security_descriptor(struct gp_context *gp_ctx, struct gp_object *gpo, struct security_descriptor *sd);
+NTSTATUS gp_push_gpt(struct gp_context *gp_ctx, const char *local_path,
+ const char *file_sys_path);
/* Ini functions */
NTSTATUS gp_parse_ini(TALLOC_CTX *mem_ctx, struct gp_context *gp_ctx, const char *filename, struct gp_ini_context **ret);