s3-passdb: Fix pdb_samba4 setting of plaintext passwords
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Jan 2012 07:38:09 +0000 (18:38 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Jan 2012 07:38:09 +0000 (18:38 +1100)
commit6acce6e5d71743b824a822e9b6f24dcc6d8106ca
treee4e09fbe0242843c1318ebac663be57b48be0f72
parent6bab4a3810f9b42e62d2fe1a9b1544e34893cb50
s3-passdb: Fix pdb_samba4 setting of plaintext passwords

We were setting a UTF8 password into the UTF16 clearTextPassword.

Converting from CH_UNIX to CH_UTF16 should fix this.

Andrew Bartlett
source3/passdb/pdb_samba4.c