summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-10 19:51:31 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-10 19:51:31 +0200
commit6276343ce1b7dd7d217e5a419c09f209f5f87379 (patch)
treeb6e5c37fee2867bf37c3b910970894f5ca5cc181 /source4
parent6131caad8f35b6fb3d3fe79c67f59ee228bef6c1 (diff)
downloadsamba-6276343ce1b7dd7d217e5a419c09f209f5f87379.tar.gz
samba-6276343ce1b7dd7d217e5a419c09f209f5f87379.tar.bz2
samba-6276343ce1b7dd7d217e5a419c09f209f5f87379.zip
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.
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index 08aa545937..2fcb6aed6d 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -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