summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb/ldb_cache.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-19 20:55:11 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 08:16:51 +1100
commitb34db0840de701b4d42918a8da952959a6955453 (patch)
treefc885c568e7c02b701e15f8e03ca52799614ea23 /source4/lib/ldb/ldb_tdb/ldb_cache.c
parent26ec526d02d78fb327fb855ce5ff037cb74af303 (diff)
downloadsamba-b34db0840de701b4d42918a8da952959a6955453.tar.gz
samba-b34db0840de701b4d42918a8da952959a6955453.tar.bz2
samba-b34db0840de701b4d42918a8da952959a6955453.zip
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.
Diffstat (limited to 'source4/lib/ldb/ldb_tdb/ldb_cache.c')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_cache.c b/source4/lib/ldb/ldb_tdb/ldb_cache.c
index cd2249d4a2..aa19f75e9c 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_cache.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_cache.c
@@ -463,7 +463,7 @@ int ltdb_increase_sequence_number(struct ldb_module *module)
val_time.data = (uint8_t *)s;
val_time.length = strlen(s);
- ret = ltdb_modify_internal(module, msg);
+ ret = ltdb_modify_internal(module, msg, NULL);
talloc_free(msg);