Make use of the pdb_set_plaintext_passwd() update to vastly simplify
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2001 11:51:25 +0000 (11:51 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Sep 2001 11:51:25 +0000 (11:51 +0000)
commitd74d82bddce5d6cf3f554ff014e08f2aeb2c14bc
tree3c3faf31ede67cca2036d101b8c1354437cfe515
parent1ef468f805d415e587e2f9a242fa934670ea9330
Make use of the pdb_set_plaintext_passwd() update to vastly simplify
decode_pw_buffer() and the samr password changing routines.

And yes, I know that we can lost some information in the Unicode->UTF->Unicode
bit of this, but its worth the code cleanup.

This also takes into account the possability of multibyte passwords.

Andrew Bartlett
(This used to be commit 42402c87d6bcff71b700e497b74d2600d7ce8b95)
source3/libsmb/smbencrypt.c
source3/rpc_server/srv_samr_nt.c