s4-ldb: use the RELAX control to disable single value checking on replace
authorAndrew Tridgell <tridge@samba.org>
Sat, 19 Dec 2009 09:55:11 +0000 (20:55 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 1 Jan 2010 21:16:51 +0000 (08:16 +1100)
commitb34db0840de701b4d42918a8da952959a6955453
treefc885c568e7c02b701e15f8e03ca52799614ea23
parent26ec526d02d78fb327fb855ce5ff037cb74af303
s4-ldb: use the RELAX control to disable single value checking on replace

When using w2k3 linked attributes we are allowed to have multiple
values on a single valued attribute. This happens when the other
values are deleted.

Setting the RELAX control tell the ldb-tdb backend to not check for
this on replace, which means the caller has to check for single valued
violations.
source4/lib/ldb/ldb_tdb/ldb_cache.c
source4/lib/ldb/ldb_tdb/ldb_tdb.c
source4/lib/ldb/ldb_tdb/ldb_tdb.h