summaryrefslogtreecommitdiffstats
path: root/source/smbd/password.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-19 16:54:12 +0200
committerVolker Lendecke <vl@samba.org>2008-06-19 18:51:37 +0200
commitdcaedf345e62ab74ea87f0a3fa1e3199c75c5445 (patch)
tree021c25ebb889c02228cd49341d0279ee347ab762 /source/smbd/password.c
parent64e9372ab997739d46669c0cc4a4c6edb11d5e64 (diff)
downloadsamba-dcaedf345e62ab74ea87f0a3fa1e3199c75c5445.tar.gz
samba-dcaedf345e62ab74ea87f0a3fa1e3199c75c5445.tar.xz
samba-dcaedf345e62ab74ea87f0a3fa1e3199c75c5445.zip
Wrap the unix token info in a unix_user_token in auth_serversupplied_info
No functional change, this is a preparation for more current_user ref removal
Diffstat (limited to 'source/smbd/password.c')
-rw-r--r--source/smbd/password.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c
index ebc72350b5a..1d3514429f3 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -271,8 +271,8 @@ int register_existing_vuid(uint16 vuid,
vuser->server_info, tmp);
DEBUG(10,("register_existing_vuid: (%u,%u) %s %s %s guest=%d\n",
- (unsigned int)vuser->server_info->uid,
- (unsigned int)vuser->server_info->gid,
+ (unsigned int)vuser->server_info->utok.uid,
+ (unsigned int)vuser->server_info->utok.gid,
vuser->server_info->unix_name,
vuser->server_info->sanitized_username,
pdb_get_domain(vuser->server_info->sam_account),
@@ -289,7 +289,7 @@ int register_existing_vuid(uint16 vuid,
}
DEBUG(3,("register_existing_vuid: UNIX uid %d is UNIX user %s, "
- "and will be vuid %u\n", (int)vuser->server_info->uid,
+ "and will be vuid %u\n", (int)vuser->server_info->utok.uid,
vuser->server_info->unix_name, vuser->vuid));
next_vuid++;