summaryrefslogtreecommitdiff
path: root/source4/lib/policy
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-08-01 14:51:25 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-08-03 14:25:48 +1000
commit0c8d74299234b50c8705d7700da325146cf9a5fe (patch)
tree4e7e1792787f6bf1230b95ef8cc3b248927606f8 /source4/lib/policy
parent2d90cafa1013204d664c94e89c6745eb546ee254 (diff)
downloadsamba-0c8d74299234b50c8705d7700da325146cf9a5fe.tar.gz
samba-0c8d74299234b50c8705d7700da325146cf9a5fe.tar.bz2
samba-0c8d74299234b50c8705d7700da325146cf9a5fe.zip
s4-policy: Expose gp_ads_to_dir_access_mask() function
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/policy')
-rw-r--r--source4/lib/policy/gp_manage.c2
-rw-r--r--source4/lib/policy/policy.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/policy/gp_manage.c b/source4/lib/policy/gp_manage.c
index f2d32431df..e4321e50b1 100644
--- a/source4/lib/policy/gp_manage.c
+++ b/source4/lib/policy/gp_manage.c
@@ -24,7 +24,7 @@
#include "param/param.h"
#include "lib/policy/policy.h"
-static uint32_t gp_ads_to_dir_access_mask(uint32_t access_mask)
+uint32_t gp_ads_to_dir_access_mask(uint32_t access_mask)
{
uint32_t fs_mask;
diff --git a/source4/lib/policy/policy.h b/source4/lib/policy/policy.h
index d22c3d6a9d..e6ce15c9b8 100644
--- a/source4/lib/policy/policy.h
+++ b/source4/lib/policy/policy.h
@@ -123,5 +123,6 @@ NTSTATUS gp_get_ini_uint(struct gp_ini_context *ini, const char *section, const
NTSTATUS gp_create_gpo (struct gp_context *gp_ctx, const char *display_name, struct gp_object **ret);
NTSTATUS gp_create_gpt_security_descriptor (TALLOC_CTX *mem_ctx, struct security_descriptor *ds_sd, struct security_descriptor **ret);
NTSTATUS gp_set_acl (struct gp_context *gp_ctx, const char *dn_str, const struct security_descriptor *sd);
+uint32_t gp_ads_to_dir_access_mask(uint32_t access_mask);
#endif