summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-04-18 21:23:26 +0000
committerJeremy Allison <jra@samba.org>2000-04-18 21:23:26 +0000
commitd2db520692898c317acc2eba78f88f8398a1fd21 (patch)
treeeb075db5a4e5fa1d9480db75f988016c3abbee10
parent4217c939ec6bdb80a3fe953e5b60f6f7b7a43635 (diff)
downloadsamba-d2db520692898c317acc2eba78f88f8398a1fd21.tar.gz
samba-d2db520692898c317acc2eba78f88f8398a1fd21.tar.bz2
samba-d2db520692898c317acc2eba78f88f8398a1fd21.zip
Sync up with 2.0.7 w.r.t. guest users.
Jeremy. (This used to be commit 8a99d824c0e9a43c8a8c81140f8c9005c7e2621a)
-rw-r--r--source3/rpc_server/srv_pipe.c6
1 files 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 <kalele@veritas.com>.
*/
- 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));