summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-05-11 13:33:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:59 -0500
commite4e8f840605dfdf92ca60cc8fc6a4c85336565fb (patch)
treed853a9fdd8b192c080ca3b02ee976fa585f736e4 /source/include
parent6e911c442bf9b076f43f99576f9b588df2c39233 (diff)
downloadsamba-e4e8f840605dfdf92ca60cc8fc6a4c85336565fb.tar.gz
samba-e4e8f840605dfdf92ca60cc8fc6a4c85336565fb.tar.xz
samba-e4e8f840605dfdf92ca60cc8fc6a4c85336565fb.zip
r22800: Add GPO_SID_TOKEN and an LDAP function to get tokensids from the tokenGroup attribute.
Guenther
Diffstat (limited to 'source/include')
-rw-r--r--source/include/ads_protos.h9
-rw-r--r--source/include/gpo.h7
2 files changed, 14 insertions, 2 deletions
diff --git a/source/include/ads_protos.h b/source/include/ads_protos.h
index 2565e2ca9b9..0cd7c2cac07 100644
--- a/source/include/ads_protos.h
+++ b/source/include/ads_protos.h
@@ -110,5 +110,10 @@ ADS_STATUS ads_do_search_all_sd_flags(ADS_STRUCT *ads, const char *bind_path,
int scope, const char *expr,
const char **attrs, uint32 sd_flags,
LDAPMessage **res);
-
-
+ADS_STATUS ads_get_tokensids(ADS_STRUCT *ads,
+ TALLOC_CTX *mem_ctx,
+ const char *dn,
+ DOM_SID *user_sid,
+ DOM_SID *primary_group_sid,
+ DOM_SID **sids,
+ size_t *num_sids);
diff --git a/source/include/gpo.h b/source/include/gpo.h
index a13c81b554d..431702e3001 100644
--- a/source/include/gpo.h
+++ b/source/include/gpo.h
@@ -94,3 +94,10 @@ struct GP_EXT {
#define GPO_CACHE_DIR "gpo_cache"
#define GPT_INI "GPT.INI"
+
+struct GPO_SID_TOKEN {
+ DOM_SID object_sid;
+ DOM_SID primary_group_sid;
+ size_t num_token_sids;
+ DOM_SID *token_sids;
+};