summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-02-09 03:57:10 +0000
committerMatthew Chapman <matty@samba.org>1999-02-09 03:57:10 +0000
commitbfff648f382169321bbefec4f96bdfd0438b9168 (patch)
tree2a32ec1fbc0da613570ef1736b6e95aa58d128cd /source3/rpc_server
parent99a9b0f7c4f85f46102457cf4707e8948b77fb3f (diff)
downloadsamba-bfff648f382169321bbefec4f96bdfd0438b9168.tar.gz
samba-bfff648f382169321bbefec4f96bdfd0438b9168.tar.bz2
samba-bfff648f382169321bbefec4f96bdfd0438b9168.zip
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)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog.c4
1 files changed, 1 insertions, 3 deletions
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 */