summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-06-08 13:56:07 +0000
committerLuke Leighton <lkcl@samba.org>2000-06-08 13:56:07 +0000
commit84d40095e1d7ba5c66cabfd2d41012162d652970 (patch)
tree51d7e4ce6b98b55dd044180c7e87a1009bcbc064 /source3/include/smb.h
parent1bdbb4e6012307b366c064554361c59f27b1ae7e (diff)
downloadsamba-84d40095e1d7ba5c66cabfd2d41012162d652970.tar.gz
samba-84d40095e1d7ba5c66cabfd2d41012162d652970.tar.bz2
samba-84d40095e1d7ba5c66cabfd2d41012162d652970.zip
added a NET_USER_INFO_3 struct to user_struct.
register_vuid fills it with constructed info. (This used to be commit b1889e4334012b1b2caa604b859da4271509fc87)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h38
1 files changed, 20 insertions, 18 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 0b53146259..0efced2e38 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -612,24 +612,6 @@ typedef struct {
fstring domain; /* domain that the client specified */
} userdom_struct;
-typedef struct
-{
- uid_t uid; /* uid of a validated user */
- gid_t gid; /* gid of a validated user */
-
- userdom_struct user;
- BOOL guest;
-
- /* following groups stuff added by ih */
- /* This groups info is needed for when we become_user() for this uid */
- int n_groups;
- gid_t *groups;
-
- /* per-user authentication information on NT RPCs */
- /* lkclXXXX - THIS SHOULD NOT BE HERE! */
- struct dcinfo dc;
-} user_struct;
-
enum {LPQ_QUEUED,LPQ_PAUSED,LPQ_SPOOLING,LPQ_PRINTING};
typedef struct _print_queue_struct
@@ -1701,6 +1683,26 @@ struct ntdom_info
#include "client.h"
#include "rpcclient.h"
+typedef struct
+{
+ uid_t uid; /* uid of a validated user */
+ gid_t gid; /* gid of a validated user */
+
+ userdom_struct user;
+ BOOL guest;
+
+ /* following groups stuff added by ih */
+ /* This groups info is needed for when we become_user() for this uid */
+ int n_groups;
+ gid_t *groups;
+
+ NET_USER_INFO_3 usr;
+
+ /* per-user authentication information on NT RPCs */
+ /* lkclXXXX - THIS SHOULD NOT BE HERE! */
+ struct dcinfo dc;
+} user_struct;
+
/*
* Size of new password account encoding string. DO NOT CHANGE.
*/