From 84d40095e1d7ba5c66cabfd2d41012162d652970 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 8 Jun 2000 13:56:07 +0000 Subject: added a NET_USER_INFO_3 struct to user_struct. register_vuid fills it with constructed info. (This used to be commit b1889e4334012b1b2caa604b859da4271509fc87) --- source3/include/smb.h | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'source3/include/smb.h') 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. */ -- cgit