git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26ff858
)
s4:security Bring in #defines for the user and primary group token location
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 14 Aug 2010 03:26:35 +0000
(13:26 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 17 Aug 2010 23:30:08 +0000
(09:30 +1000)
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
source4/libcli/security/security.h
patch
|
blob
|
history
diff --git
a/source4/libcli/security/security.h
b/source4/libcli/security/security.h
index 585170ed61c5f017d23e3cbf2a16c9d53e2e74fe..236096560c13f8f8d4928eb15beeb595f7496da6 100644
(file)
--- 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,