summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-01 10:21:05 +0100
committerStefan Metzmacher <metze@samba.org>2011-02-02 11:58:26 +0100
commit97727e106878fef1a260ab6310992fff36ea5294 (patch)
treeb4fb5b93b1f33f5fb85a61a793ff20dcc3045ed2
parentc2207e9b2cdec9cd4c32184c668a2c469edb7148 (diff)
downloadsamba-97727e106878fef1a260ab6310992fff36ea5294.tar.gz
samba-97727e106878fef1a260ab6310992fff36ea5294.tar.bz2
samba-97727e106878fef1a260ab6310992fff36ea5294.zip
s4:rpc_server/netlogon: return INVALID_INFO_CLASS for invalid netr_Validation levels
metze
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index ea4ea23a50..6961bf79fc 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -727,7 +727,7 @@ static NTSTATUS dcesrv_netr_LogonSamLogon_base(struct dcesrv_call_state *dce_cal
break;
default:
- break;
+ return NT_STATUS_INVALID_INFO_CLASS;
}
/* Don't crypt an all-zero key, it would give away the NETLOGON pipe session key */