summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 0e48b4c6c0..33a33037a8 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -303,6 +303,9 @@ typedef struct sid_info
* token->user_sids[2-num_sids] = supplementary group SIDS.
*/
+#define PRIMARY_USER_SID_INDEX 0
+#define PRIMARY_GROUP_SID_INDEX 1
+
#ifndef _NT_USER_TOKEN
typedef struct _nt_user_token {
size_t num_sids;