diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-29 13:43:10 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-05 18:28:58 +0200 |
commit | c6d209f8342d56adc52a6c8ab99a4a2e17d409b2 (patch) | |
tree | 33d2d3d0f011a990700c093f02268f4247cef418 /source3/smbd/lanman.c | |
parent | bb3755968f5e953340edfb0b71997dddc11badb9 (diff) | |
download | samba-c6d209f8342d56adc52a6c8ab99a4a2e17d409b2.tar.gz samba-c6d209f8342d56adc52a6c8ab99a4a2e17d409b2.tar.bz2 samba-c6d209f8342d56adc52a6c8ab99a4a2e17d409b2.zip |
Remove the unix token info from "struct user_struct"
(This used to be commit aa2299d42adf4d27e707ac755e07be70d0af1bb4)
Diffstat (limited to 'source3/smbd/lanman.c')
-rw-r--r-- | source3/smbd/lanman.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 39d49334e0..7ba4b64477 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -3338,8 +3338,9 @@ static bool api_RNetUserGetInfo(connection_struct *conn, uint16 vuid, Don't depend on vuser being non-null !!. JRA */ user_struct *vuser = get_valid_user_struct(vuid); if(vuser != NULL) { - DEBUG(3,(" Username of UID %d is %s\n", (int)vuser->uid, - vuser->user.unix_name)); + DEBUG(3,(" Username of UID %d is %s\n", + (int)vuser->server_info->uid, + vuser->user.unix_name)); } if (!str1 || !str2 || !UserName || !p) { @@ -3589,8 +3590,9 @@ static bool api_WWkstaUserLogon(connection_struct *conn,uint16 vuid, } if(vuser != NULL) { - DEBUG(3,(" Username of UID %d is %s\n", (int)vuser->uid, - vuser->user.unix_name)); + DEBUG(3,(" Username of UID %d is %s\n", + (int)vuser->server_info->uid, + vuser->user.unix_name)); } uLevel = get_safe_SVAL(param,tpscnt,p,0,-1); |