From bfff648f382169321bbefec4f96bdfd0438b9168 Mon Sep 17 00:00:00 2001 From: Matthew Chapman Date: Tue, 9 Feb 1999 03:57:10 +0000 Subject: Fix for NT BSOD problem. There's no reason to have two "NT usernames" running around anyway. The real problem is, once again, the brokenness of pwdb_sam_map_names et al. This time it is deciding to return blank NT usernames, which NT's redirector objects to. I'm currently working on improving the pwdb/mapping code, should be ready in a couple of weeks. (This used to be commit 30a085bf80982c619cd78aee9ad410ece5f88679) --- source3/rpc_server/srv_netlog.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/rpc_server/srv_netlog.c') diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c index bb8bc59bc5..c3810a09e5 100644 --- a/source3/rpc_server/srv_netlog.c +++ b/source3/rpc_server/srv_netlog.c @@ -609,7 +609,6 @@ static void api_net_sam_logon( uint16 vuid, NTTIME pass_can_change_time ; NTTIME pass_must_change_time; - fstring nt_name ; fstring full_name ; fstring logon_script; fstring profile_path; @@ -706,7 +705,6 @@ static void api_net_sam_logon( uint16 vuid, pass_can_change_time = sam_pass->pass_can_change_time; pass_must_change_time = sam_pass->pass_must_change_time; - fstrcpy(nt_name , sam_pass->nt_name); fstrcpy(full_name , sam_pass->full_name); fstrcpy(logon_script, sam_pass->logon_script); fstrcpy(profile_path, sam_pass->profile_path); @@ -771,7 +769,7 @@ static void api_net_sam_logon( uint16 vuid, &pass_can_change_time, &pass_must_change_time, - nt_name , /* user_name */ + nt_username , /* user_name */ full_name , /* full_name */ logon_script , /* logon_script */ profile_path , /* profile_path */ -- cgit