s4:dsdb:password_hash: verify content if the BYPASS_PASSWORD_HASH control is used
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Dec 2010 15:10:49 +0000 (16:10 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 13 Dec 2010 15:17:36 +0000 (16:17 +0100)
commit4ec66529e5d02cfe84b8c5a8c55ec9f88427e10f
tree96cdd234fd3974ff3b778c32ee1cbf987f073429
parenta762e9cab70f3ecc000b5dd20ce5f792963e8a52
s4:dsdb:password_hash: verify content if the BYPASS_PASSWORD_HASH control is used

Make it much harder to import bad data into the password attributes.
This isn't 100% safe, but much better than no checks.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 13 16:17:36 CET 2010 on sn-devel-104
source4/dsdb/samdb/ldb_modules/password_hash.c