Samba4/LDB/Partition: Difference between revisions
From SambaWiki
No edit summary |
m (Samba4/LDB/partition moved to Samba4/LDB/Partition) |
(No difference)
|
Revision as of 20:47, 13 October 2009
Structures
dsdb_partition
struct dsdb_partition { struct ldb_module *module; struct dsdb_control_current_partition *ctrl; };
part_request
struct part_request { struct ldb_module *module; struct ldb_request *req; };
partition_context
struct partition_context { struct ldb_module *module; struct ldb_request *req; bool got_success; struct part_request *part_req; int num_requests; int finished_requests; };
Methods
partition_init()
This method reads the partition configuration from the SAM database, connects to the backends, registers the partitions, load modules, and register controls.
The configuration is stored in the @PARTITION entry in the following attributes:
- partition
- replicateEntries
- modules
This method registers the following controls:
- domain scope (1.2.840.113556.1.4.1339)
- search options (1.2.840.113556.1.4.1340)