git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87ce535
)
s3-netlogon: fix default case when _netr_LogonSamLogon is called from other opcodes.
author
Günther Deschner
<gd@samba.org>
Tue, 25 Aug 2009 23:03:47 +0000
(
01:03
+0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 25 Aug 2009 23:06:36 +0000
(
01:06
+0200)
Guenther
source3/rpc_server/srv_netlog_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_netlog_nt.c
b/source3/rpc_server/srv_netlog_nt.c
index 4131fa88eb7121602e637b076cfdc51a82da17b8..01b2398e8637944c3c27248d51b70bc66ca0d99a 100644
(file)
--- a/
source3/rpc_server/srv_netlog_nt.c
+++ b/
source3/rpc_server/srv_netlog_nt.c
@@
-825,9
+825,11
@@
NTSTATUS _netr_LogonSamLogon(pipes_struct *p,
fn = "_netr_LogonSamLogon";
break;
case NDR_NETR_LOGONSAMLOGONEX:
+ process_creds = false;
fn = "_netr_LogonSamLogonEx";
+ break;
default:
-
process_creds = false
;
+
return NT_STATUS_INTERNAL_ERROR
;
}
if ( (lp_server_schannel() == True) && (p->auth.auth_type != PIPE_AUTH_TYPE_SCHANNEL) ) {