git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebc22c
)
s3-netlogon: return proper error code for unsupported validation class.
author
Günther Deschner
<gd@samba.org>
Fri, 29 May 2009 10:42:15 +0000
(12:42 +0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 29 May 2009 23:55:47 +0000
(
01:55
+0200)
Guenther
(cherry picked from commit
65f86a644a8171a99c63b6cb32e01e22897174f6
)
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 e0d1e2251e003126c4b2da245f5bc803436e5c34..3ca2dae88b4d8e02f69e5c9f85a2c395161fc38a 100644
(file)
--- a/
source3/rpc_server/srv_netlog_nt.c
+++ b/
source3/rpc_server/srv_netlog_nt.c
@@
-892,7
+892,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) {