summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-21 22:59:11 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-28 14:51:03 +0200
commit8feda76d4fb4dac680b13e3234925802fb32e7f1 (patch)
treeedb77eb3041c818a2bfe6a1153d17ac3bce0aab8
parent8f20a5512a91cb9c6e2e50040cd0b61d39521d69 (diff)
downloadsamba-8feda76d4fb4dac680b13e3234925802fb32e7f1.tar.gz
samba-8feda76d4fb4dac680b13e3234925802fb32e7f1.tar.bz2
samba-8feda76d4fb4dac680b13e3234925802fb32e7f1.zip
s4:OemChangePasswordUser2 - return "NT_STATUS_WRONG_PASSWORD" when we haven't activated the the lanman auth
This is what s3 does.
-rw-r--r--source4/rpc_server/samr/samr_password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c
index a8099646ef..ff247815a5 100644
--- a/source4/rpc_server/samr/samr_password.c
+++ b/source4/rpc_server/samr/samr_password.c
@@ -184,7 +184,7 @@ NTSTATUS dcesrv_samr_OemChangePasswordUser2(struct dcesrv_call_state *dce_call,
/* this call can only work with lanman auth */
if (!lp_lanman_auth(dce_call->conn->dce_ctx->lp_ctx)) {
- return NT_STATUS_NOT_SUPPORTED;
+ return NT_STATUS_WRONG_PASSWORD;
}
/* To change a password we need to open as system */