s4:password_hash LDB module - don't break the provision
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 10 May 2010 17:51:31 +0000 (19:51 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 10 May 2010 17:51:31 +0000 (19:51 +0200)
This is to don't break the provision process at the moment. We need to find
a better solution.

source4/dsdb/samdb/ldb_modules/password_hash.c

index 08aa5459373eab6518ff14e87ba7903a0b45e215..2fcb6aed6db1500be9bdc04d671036635fca8258 100644 (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