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/rpc_server | |
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/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_netlog.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c index a198b6b98a..82573f7952 100644 --- a/source3/rpc_server/srv_netlog.c +++ b/source3/rpc_server/srv_netlog.c @@ -808,7 +808,7 @@ static BOOL api_net_sam_logon(prs_struct *data, prs_struct *rdata) &dummy_time, /* pass_must_change_time */ nt_username , /* user_name */ - vuser->real_name, /* full_name */ + vuser->user.real_name, /* full_name */ logon_script , /* logon_script */ profile_path , /* profile_path */ home_dir , /* home_dir */ diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 7110342383..35fb0423a5 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -120,8 +120,8 @@ static void attempt_remote_rpc_connect(pipes_struct *p) ZERO_STRUCT(usr); /* set up unix credentials from the smb side, to feed over the pipe */ - make_creds_unix(&usr.uxc, vuser->name, vuser->requested_name, - vuser->real_name, vuser->guest); + make_creds_unix(&usr.uxc, vuser->user.unix_name, vuser->user.smb_name, + vuser->user.real_name, vuser->guest); usr.ptr_uxc = 1; make_creds_unix_sec(&usr.uxs, vuser->uid, vuser->gid, vuser->n_groups, vuser->groups); |