s4:dsdb Allow unicodePwd to be set when adding a user
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Jul 2009 04:53:26 +0000 (14:53 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Jul 2009 04:56:14 +0000 (14:56 +1000)
commit2481ce89427ef38b47fb29d16c15b77e9d2c20b9
treebd71b508f409250a09f65005bc98b7d685f8fe62
parent2c873c43534d61cd411b5c8d56425fd9c2ddd128
s4:dsdb Allow unicodePwd to be set when adding a user

Windows 7 sets it's join password using the unicodePwd attribute (as a
quoted, utf16 string), and does so during the LDAPAdd of the object.
Previously, this code only handled unicodePwd for modifies.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/password_hash.c