1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/ldb
Matthieu Patou f97e4f6b8f ldb-tdb: Introduce a flag on ltdb_add_internal to indicate whether unique value test should be performed or not
The function ltdb_add_internal is called either from ltdb_add or
ltdb_rename. In case of add we enforce the unique test (unless it has
been relaxed by a upper module through the
LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK flag), but for rename as it
is translated by a delete + a add we relax the test as we can have one
or more attribute which are supposed to be single valued but that are
not (ie. when we have a couple of deleted value on a single valued
attribute), we have already done the tests on insert so make the
assumption that the values are OK.

Without this patch deleting a subnet that has been affected to more than
one site fails as the delete is in fact a rename to GUID\0DEL ... with
an attribute siteObject that has 1 active link value and 1 inactive link
value

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Jul 13 02:29:20 CEST 2011 on sn-devel-104
2011-07-13 02:29:20 +02:00
..
ABI ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
common ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
docs ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
examples ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
include ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_ldap ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_map ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_sqlite3 ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_tdb ldb-tdb: Introduce a flag on ltdb_add_internal to indicate whether unique value test should be performed or not 2011-07-13 02:29:20 +02:00
man ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
modules ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
nssldb ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
tests ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
tools ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
web ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
configure ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
Doxyfile ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
examples.dox ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb.pc.in ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
mainpage.dox ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
Makefile ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
pyldb_util.c ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
pyldb-util.pc.in ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
pyldb.c ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
pyldb.h ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
README_gcov.txt ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
wscript ldb: set -Wl,-no-undefined only on standalone build 2011-07-05 10:37:30 +02:00