summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-14 13:26:35 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-08-18 09:30:08 +1000
commite229f68b3e8f146d5dfa4ab57f126cc7ea5c7214 (patch)
treec2875b1836f0a881228cd9ceeeb0317fc1ceb6cb /source4/libcli
parent26ff85893437c2c762972ed2eb542c6cfe1bb049 (diff)
downloadsamba-e229f68b3e8f146d5dfa4ab57f126cc7ea5c7214.tar.gz
samba-e229f68b3e8f146d5dfa4ab57f126cc7ea5c7214.tar.bz2
samba-e229f68b3e8f146d5dfa4ab57f126cc7ea5c7214.zip
s4:security Bring in #defines for the user and primary group token location
This will allow us to stop duplicating the user and primary group SID in the struct security_token, and therefore make it more like the NT_USER_TOKEN in Samba3. Andrew Bartlett
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/security/security.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/security/security.h b/source4/libcli/security/security.h
index 585170ed61..236096560c 100644
--- a/source4/libcli/security/security.h
+++ b/source4/libcli/security/security.h
@@ -22,6 +22,9 @@
#include "librpc/gen_ndr/security.h"
+#define PRIMARY_USER_SID_INDEX 0
+#define PRIMARY_GROUP_SID_INDEX 1
+
enum security_user_level {
SECURITY_ANONYMOUS = 0,
SECURITY_USER = 10,