s4:dsdb/common: only pass the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID if required
commit8fc0b5774966590d1175bbe2bc2bcd8384105661
authorStefan Metzmacher <metze@samba.org>
Mon, 10 Dec 2012 22:56:47 +0000 (10 23:56 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 11 Dec 2012 17:05:48 +0000 (11 18:05 +0100)
tree4dd65424c34e4b458d25b20c8a77928ba1ef3975
parentee4f3ff81309b53411e6d6282e130d69d7cb9c38
s4:dsdb/common: only pass the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID if required

This should give the password_hash module a chance to detect if the called
was the cleartext password or not.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/dsdb/common/util.c