summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_netlog_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 333eabe2ce..73d1f4b1a5 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -893,7 +893,7 @@ NTSTATUS _netr_LogonSamLogon(pipes_struct *p,
if (r->in.validation_level != 2 && r->in.validation_level != 3) {
DEBUG(0,("%s: bad validation_level value %d.\n",
fn, (int)r->in.validation_level));
- return NT_STATUS_ACCESS_DENIED;
+ return NT_STATUS_INVALID_INFO_CLASS;
}
if (process_creds) {