summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-27 03:41:56 -0400
committerGünther Deschner <gd@samba.org>2010-05-28 00:55:53 +0200
commitd9cffc01be58184312a6a7b55bd523cf8daefa78 (patch)
treea7037d21510273479d752c9c7964264ac12524a1 /source3/smbd/password.c
parent6713f3d945f09a732e620641771d9ff403aca9ef (diff)
downloadsamba-d9cffc01be58184312a6a7b55bd523cf8daefa78.tar.gz
samba-d9cffc01be58184312a6a7b55bd523cf8daefa78.tar.bz2
samba-d9cffc01be58184312a6a7b55bd523cf8daefa78.zip
s3:auth use info3 in auth_serversupplied_info
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 5cf290c158..809a913d6c 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -274,12 +274,12 @@ int register_existing_vuid(struct smbd_server_connection *sconn,
(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),
+ vuser->server_info->info3->base.domain.string,
vuser->server_info->guest ));
DEBUG(3, ("register_existing_vuid: User name: %s\t"
"Real name: %s\n", vuser->server_info->unix_name,
- pdb_get_fullname(vuser->server_info->sam_account)));
+ vuser->server_info->info3->base.full_name.string));
if (!vuser->server_info->ptok) {
DEBUG(1, ("register_existing_vuid: server_info does not "
@@ -324,7 +324,7 @@ int register_existing_vuid(struct smbd_server_connection *sconn,
set_current_user_info(
vuser->server_info->sanitized_username,
vuser->server_info->unix_name,
- pdb_get_domain(vuser->server_info->sam_account));
+ vuser->server_info->info3->base.domain.string);
return vuser->vuid;