diff options
author | Günther Deschner <gd@samba.org> | 2009-08-26 01:03:47 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-08-26 01:06:36 +0200 |
commit | a77b036f3b823a1de9ee05bfe5c620550097d037 (patch) | |
tree | 8b03f12234e6dfcb9a58a8c1881e47f414dd9e31 | |
parent | 87ce535243dc660584c87f6835c583d7125462aa (diff) | |
download | samba-a77b036f3b823a1de9ee05bfe5c620550097d037.tar.gz samba-a77b036f3b823a1de9ee05bfe5c620550097d037.tar.bz2 samba-a77b036f3b823a1de9ee05bfe5c620550097d037.zip |
s3-netlogon: fix default case when _netr_LogonSamLogon is called from other opcodes.
Guenther
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 4131fa88eb..01b2398e86 100644 --- 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) ) { |