s4:dsdb/common: only pass the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID if required
authorStefan Metzmacher <metze@samba.org>
Mon, 10 Dec 2012 22:56:47 +0000 (23:56 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 11 Dec 2012 12:59:59 +0000 (13:59 +0100)
commit7c6b10fbb05eaa6075f01a4b4f8fb60f42d2dfa7
tree39549d70f8b49d87d02853fead9466dded84b094
parent18a306e2f2d90f6d0c7b5d82272a69d72510ed7c
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