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.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f61c8cbbad..a03d7a0bcb 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -603,14 +603,19 @@ struct dcinfo
};
+typedef struct {
+ fstring smb_name; /* user name from the client */
+ fstring unix_name; /* unix user name of a validated user */
+ fstring real_name; /* to store real name from password file - simeon */
+ 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 */
- fstring requested_name; /* user name from the client */
- fstring name; /* unix user name of a validated user */
- fstring real_name; /* to store real name from password file - simeon */
+ userdom_struct user;
BOOL guest;
/* following groups stuff added by ih */