1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

s4:password_hash LDB module - don't break the provision

This is to don't break the provision process at the moment. We need to find
a better solution.
This commit is contained in:
Matthias Dieter Wallnöfer 2010-05-10 19:51:31 +02:00
parent 6131caad8f
commit 6276343ce1

View File

@ -1672,6 +1672,9 @@ static int setup_io(struct ph_context *ac,
return LDB_ERR_CONSTRAINT_VIOLATION;
}
/* FIXME: fix to don't break provision */
io->ac->hash_values = true;
/* Only non-trust accounts have restrictions (possibly this test is the
* wrong way around, but we like to be restrictive if possible */
io->u.restrictions = !(io->u.userAccountControl