s4-provision UTF16 encode the password in sam.ldb, not secrets.ldb
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Nov 2010 08:55:26 +0000 (19:55 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 11 Nov 2010 09:55:06 +0000 (09:55 +0000)
commita9baabed562fb6858bd82ee7312faa908283dde4
treef0246157593bc08a36a26dc3a7cff4bce172a65d
parent78928f5956d1b593e92875fd46a7071a4c979640
s4-provision UTF16 encode the password in sam.ldb, not secrets.ldb

The password in secrets.ldb is UTF8, while clearTextPassword in
sam.ldb is UTF16.

This corrects commit bd5039546e520b6d6897a658bc0a358f0511f7c7, which
had these the wrong way around.

Andrew Bartlett
source4/scripting/python/samba/provision.py