From d2db520692898c317acc2eba78f88f8398a1fd21 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 18 Apr 2000 21:23:26 +0000 Subject: Sync up with 2.0.7 w.r.t. guest users. Jeremy. (This used to be commit 8a99d824c0e9a43c8a8c81140f8c9005c7e2621a) --- source3/rpc_server/srv_pipe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index a20b112196..fe78d48fa6 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -312,9 +312,9 @@ static BOOL api_pipe_ntlmssp_verify(pipes_struct *p, RPC_AUTH_NTLMSSP_RESP *ntlm * Allow guest access. Patch from Shirish Kalele . */ - if((strlen(user_name) == 0) && (ntlmssp_resp->hdr_lm_resp.str_str_len==0) && - (ntlmssp_resp->hdr_nt_resp.str_str_len==0)) { - + if((strlen(user_name) == 0) && + (ntlmssp_resp->hdr_nt_resp.str_str_len==0)) + { guest_user = True; fstrcpy(unix_user_name, lp_guestaccount(-1)); -- cgit