r903: used samdb_result_passwords() in samr_ChangePasswordUser2() and fix the error...
authorAndrew Tridgell <tridge@samba.org>
Wed, 26 May 2004 07:34:49 +0000 (07:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:19 +0000 (12:56 -0500)
commit8feeecf30377e4699df26d1c5c02d24a8ab021be
treeb33e9817129bc1baf8ff6b7f6de1bc25af671628
parent00096609978e829b5da36040c15afa087e71eaa5
r903: used samdb_result_passwords() in samr_ChangePasswordUser2() and fix the error handling on a bad change.

With this change WinXP can now successfully change the password on a
Samba4 server via SAMR. After the change you can't login because the
handling of much_change_time seems to be broken in the auth code, but
that should be easy to fix.
source/rpc_server/samr/samr_password.c