summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-03 23:34:24 +0000
committerJeremy Allison <jra@samba.org>2001-11-03 23:34:24 +0000
commitf8e2baf39eb864481dd48f61404136b325cd73c2 (patch)
tree01e73e826f6f817e7ef9dd044cd1cc919eb152d1 /source3/include
parent69a59c5bbceb4ea5a766cf8e9a42392369142e91 (diff)
downloadsamba-f8e2baf39eb864481dd48f61404136b325cd73c2.tar.gz
samba-f8e2baf39eb864481dd48f61404136b325cd73c2.tar.bz2
samba-f8e2baf39eb864481dd48f61404136b325cd73c2.zip
Added NT_USER_TOKEN into server_info to fix extra groups problem.
Got "medieval on our ass" about const warnings (as many as I could :-). Jeremy. (This used to be commit ee5e7ca547eff016818ba5c43b8ea0c9fa69b808)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/auth.h5
-rw-r--r--source3/include/smb.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h
index 427cb8b489..04c5aa55e5 100644
--- a/source3/include/auth.h
+++ b/source3/include/auth.h
@@ -77,10 +77,9 @@ typedef struct serversupplied_info
int n_groups;
gid_t *groups;
- /* NT group information taken from the info3 structure */
+ /* NT group information taken from the info3 structure */
- int n_rids;
- uint32 *group_rids;
+ NT_USER_TOKEN *ptok;
uchar session_key[16];
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;