r18781: Move the usnCreated and usnChanged handling around again.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 21 Sep 2006 06:44:12 +0000 (06:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:19:11 +0000 (14:19 -0500)
commit72858f859483c0c532dddb2c146d6bd7b9be5072
tree3e89502f993a0684c24524a3c690ddda6eb81886
parente2cf38eca0f6fd632a9f544837eea90d66fd9cc6
r18781: Move the usnCreated and usnChanged handling around again.

This moves these attributes from objectguid into an optional backend
(objectguid), used by ltdb.  For OpenLDAP, the entryUUID module
converts entryCSN into usnChanged.

This also changes the sequence number API, and uses 'time based'
sequence numbers, when an LDAP or similar backend is detected.

To assist this, we also store the last modified time in the TDB,
whenever we change a value.

Andrew Bartlett
12 files changed:
source/dsdb/samdb/ldb_modules/entryUUID.c
source/dsdb/samdb/ldb_modules/objectguid.c
source/dsdb/samdb/ldb_modules/partition.c
source/dsdb/samdb/ldb_modules/rootdse.c
source/lib/ldb/common/ldb.c
source/lib/ldb/include/ldb.h
source/lib/ldb/include/ldb_private.h
source/lib/ldb/ldb_tdb/ldb_cache.c
source/lib/ldb/ldb_tdb/ldb_tdb.c
source/lib/ldb/ldb_tdb/ldb_tdb.h
source/lib/ldb/modules/operational.c
source/script/tests/mktestsetup.sh