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)
commit42402c87d6bcff71b700e497b74d2600d7ce8b95
tree109cad88fa042713ff35cd2776258381979ffd4a
parent27f0510a0b458792293d5ce2957f61383569f62f
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
source/libsmb/smbencrypt.c
source/rpc_server/srv_samr_nt.c