summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-29 12:42:15 +0200
committerGünther Deschner <gd@samba.org>2009-05-29 13:17:52 +0200
commit65f86a644a8171a99c63b6cb32e01e22897174f6 (patch)
treecb22a4fac3c584b36add590d0e3382ac93154366
parent9bd8b0a15773d3d5c0649bfb49bb16acfb4bb5f1 (diff)
downloadsamba-65f86a644a8171a99c63b6cb32e01e22897174f6.tar.gz
samba-65f86a644a8171a99c63b6cb32e01e22897174f6.tar.bz2
samba-65f86a644a8171a99c63b6cb32e01e22897174f6.zip
s3-netlogon: return proper error code for unsupported validation class.
Guenther
-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) {