summaryrefslogtreecommitdiff
path: root/source/rpc_server/srv_pipe.c
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
commit8a99d824c0e9a43c8a8c81140f8c9005c7e2621a (patch)
treec21c7f44d74f1bc88771338e6d2a1fb63defc926 /source/rpc_server/srv_pipe.c
parent204ca1195c86499bd9beb273ce573db7a56ccead (diff)
downloadsamba-8a99d824c0e9a43c8a8c81140f8c9005c7e2621a.tar.gz
Sync up with 2.0.7 w.r.t. guest users.
Jeremy.
Diffstat (limited to 'source/rpc_server/srv_pipe.c')
-rw-r--r--source/rpc_server/srv_pipe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/rpc_server/srv_pipe.c b/source/rpc_server/srv_pipe.c
index a20b1121968..fe78d48fa60 100644
--- a/source/rpc_server/srv_pipe.c
+++ b/source/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));