[PATCH] Activate partitions module

Andrew Bartlett abartlet at samba.org
Tue Jul 11 02:14:49 GMT 2006


On Mon, 2006-07-03 at 10:03 +0200, Stefan (metze) Metzmacher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Andrew Bartlett schrieb:
> > This patch activates the partitions module, which is already in the
> > Samba4 tree. 
> > 
> > As previously described, the partitions module creates multiple
> > databases under our ldap base, and limits searches to one database at a
> > time.  It also makes it easier to point some parts of the DIT at a
> > remote LDAP server.
> 
> Hi Andrew,
> 
> the problem here is the highestCommitedUsn, this would be wrong if we
> have multiple ldb's.

I've added code to allocate the USN globally, and to use 'global'
transactions.  I've also expanded our ejs ldb testsuite to confirm that
the USN is globally allocated (by means of simple addition) over all
partitions.  

> Also we need to combine the results of all partitions on the global
> catalog port.

This is my next task.  Do you have any preference for how I should
indicate to ldb from the GC port that searches should be over multiple
partitions?

It almost seems like we need 'internal-only controls' to attach to the
request.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060711/2e67edc1/attachment.bin


More information about the samba-technical mailing list