r16972: Replace the sequence_number function pointer in ldb with the ldb flags.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 12 Jul 2006 04:59:41 +0000 (04:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:10:04 +0000 (14:10 -0500)
commita1161cb30e4ffa09657a89e03ca85dd6efd4feba
tree35ed711c739aeedf8db121237f37b0fe0d1ebc20
parent9e4eee5a2d7f44355f79ae12759df9991e7b171a
r16972: Replace the sequence_number function pointer in ldb with the ldb flags.

The function pointer was meant to be unused, this patch fixes
partition.c to use ldb_sequence_number().  (No backend provided the
pointer any more).

Set the flags onto the ldb structure, so that all backends opened by
the partitions module inherit the flags.

Set the read-ony flag when accessed as the global catalog

Modify the LDAP server to track that this query is for the global
catalog (by incoming port), and set a opqaue pointer.

Next step is to read that opaque pointer in the partitions module.

Andrew Bartlett
source/dsdb/samdb/ldb_modules/partition.c
source/ldap_server/ldap_backend.c
source/ldap_server/ldap_server.c
source/ldap_server/ldap_server.h
source/lib/ldb/common/ldb.c
source/lib/ldb/include/ldb_private.h
source/lib/ldb/modules/operational.c