s4-dsdb-util: Mark attributes with ADD flag in samdb_find_or_add_attribute()
commit8e10c10bd6e601df47a2815c638482e486646f59
authorKamen Mazdrashki <kamenim@samba.org>
Fri, 7 Nov 2014 06:02:51 +0000 (7 07:02 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 3 Feb 2015 04:02:11 +0000 (3 05:02 +0100)
treec458c9303e45b70c3ea3a01b00f423560561047a
parent4944e73d537199208e9895e818ff3233223da5d7
s4-dsdb-util: Mark attributes with ADD flag in samdb_find_or_add_attribute()

At the moment no flags are set and it works fine, since this function
is solely used in samldb during ADD requests handling.
Pre-setting a flag make it usefull for other modules and request
handlers too

Change-Id: I7e43dcbe2a8f34e3b0ec16ae2db80ef436df8bfe
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/common/util.c