diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-02 13:55:42 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-02 13:55:42 +0000 |
commit | 32d5416b6a777a7874fec8518ec44e750560d882 (patch) | |
tree | fc131a6a1693847cb20af69e4cff36941ab53f3f /source3/include | |
parent | 88a97957e7d6547fc0a021127d1de52a132d341f (diff) | |
download | samba-32d5416b6a777a7874fec8518ec44e750560d882.tar.gz samba-32d5416b6a777a7874fec8518ec44e750560d882.tar.bz2 samba-32d5416b6a777a7874fec8518ec44e750560d882.zip |
split the username in the vuser structure into a separate
userdom_struct. As the name implies this also contains a domain
(unused at the moment).
This will be important shortly, as operation in appliance mode needs
the domain to be always carried with the username.
(This used to be commit ee8546342d5be90e730372b985710d764564b124)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 11 |
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 */ |