s4:dsdb/util.c - Add a new function for retrieving password change attributes
commit946993238fbb0e4920bf3c6c1178236b4f039b3b
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 4 Oct 2009 17:30:53 +0000 (4 19:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 10 May 2010 10:20:27 +0000 (10 12:20 +0200)
treee0f0806ac1f848cd7f5a632515f2fe8474c8ba93
parent6ee53309a180d32cf6df1a72fde30c9455d5364d
s4:dsdb/util.c - Add a new function for retrieving password change attributes

This is needed since we have not only reset operations on password fields
(attributes marked with REPLACE flag) but also change operations which can be
performed by users itself. They have one attribute with the old value marked
with the REMOVE flag and one with the new one marked with the ADD flag.
This function helps to retrieve them (argument "new" is used for the new
password on both reset and change).
source4/dsdb/common/util.c