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.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.
*/