summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-19 11:46:03 +0200
committerGünther Deschner <gd@samba.org>2010-04-19 11:53:59 +0200
commit7b84d36f19a29e33735bde08151e540d4c2b86b1 (patch)
tree1989612d08b33d135a48c5a18d7a93ed927a6ad9 /source3
parent7277668128e3a8c138e9dc48ce6c2e85d1aac34f (diff)
downloadsamba-7b84d36f19a29e33735bde08151e540d4c2b86b1.tar.gz
samba-7b84d36f19a29e33735bde08151e540d4c2b86b1.tar.bz2
samba-7b84d36f19a29e33735bde08151e540d4c2b86b1.zip
s3-spoolss: fix samr_ValidatePassword_Change.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 3ebfe391ac..97ed381824 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -6698,7 +6698,7 @@ static enum samr_ValidationStatus samr_ValidatePassword_Change(TALLOC_CTX *mem_c
NTSTATUS status;
if (req->password.string == NULL) {
- SAMR_VALIDATION_STATUS_SUCCESS;
+ return SAMR_VALIDATION_STATUS_SUCCESS;
}
if (strlen(req->password.string) < dom_pw_info->min_password_length) {
ZERO_STRUCT(rep->info);