diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-15 15:55:31 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:11 +1000 |
commit | 92895379934b660affa70cd406e40719d429ae2a (patch) | |
tree | 6a6185b2e0476a7045535332fad6201caeda2424 /source3/smbd/session.c | |
parent | a39187f0f5e6f99ce8a38cba997e4ad15353e09e (diff) | |
download | samba-92895379934b660affa70cd406e40719d429ae2a.tar.gz samba-92895379934b660affa70cd406e40719d429ae2a.tar.bz2 samba-92895379934b660affa70cd406e40719d429ae2a.zip |
s3-auth Use struct auth_user_info_unix for unix_name and sanitized_username
This is closer to the layout of struct auth_session_info in auth.idl
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/smbd/session.c')
-rw-r--r-- | source3/smbd/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/session.c b/source3/smbd/session.c index 184ce1b3a5..a6bc4924b5 100644 --- a/source3/smbd/session.c +++ b/source3/smbd/session.c @@ -139,7 +139,7 @@ bool session_claim(struct smbd_server_connection *sconn, user_struct *vuser) /* Make clear that we require the optional unix_token in the source3 code */ SMB_ASSERT(vuser->session_info->unix_token); - fstrcpy(sessionid.username, vuser->session_info->unix_name); + fstrcpy(sessionid.username, vuser->session_info->unix_info->unix_name); fstrcpy(sessionid.hostname, sconn->remote_hostname); sessionid.id_num = i; /* Only valid for utmp sessions */ sessionid.pid = pid; |