summaryrefslogtreecommitdiff
path: root/source3/libgpo/gpo_util.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-29 17:06:22 +0100
committerGünther Deschner <gd@samba.org>2008-02-29 17:25:28 +0100
commit485b070eb86492dc07c29ae63634fb99389baea6 (patch)
treec9793481e1087bef42b910f1b05a716d1fd243cf /source3/libgpo/gpo_util.c
parent41efa5ca45f87435ad2a344010ead8e5e2fecbb0 (diff)
downloadsamba-485b070eb86492dc07c29ae63634fb99389baea6.tar.gz
samba-485b070eb86492dc07c29ae63634fb99389baea6.tar.bz2
samba-485b070eb86492dc07c29ae63634fb99389baea6.zip
Add "registry" Group Policy extension.
Guenther (This used to be commit 4e93301ca4931908a7d1994be45c57002f8c6fea)
Diffstat (limited to 'source3/libgpo/gpo_util.c')
-rw-r--r--source3/libgpo/gpo_util.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/libgpo/gpo_util.c b/source3/libgpo/gpo_util.c
index bc6c35726c..79f2690245 100644
--- a/source3/libgpo/gpo_util.c
+++ b/source3/libgpo/gpo_util.c
@@ -668,6 +668,18 @@ NTSTATUS check_refresh_gpo_list(ADS_STRUCT *ads,
/****************************************************************
****************************************************************/
+NTSTATUS gpo_get_unix_path(TALLOC_CTX *mem_ctx,
+ struct GROUP_POLICY_OBJECT *gpo,
+ char **unix_path)
+{
+ char *server, *share, *nt_path;
+ return gpo_explode_filesyspath(mem_ctx, gpo->file_sys_path,
+ &server, &share, &nt_path, unix_path);
+}
+
+/****************************************************************
+****************************************************************/
+
char *gpo_flag_str(uint32_t flags)
{
fstring str = "";