On Wednesday, 30 May 2007, Jonathan Halevy wrote: > Hello Buchan, > > Thanks for the reply. > > I am creating a new server (slave) with a script and need to populate it > with all the masters data. Since this is part of an install of a software > on remote machine, I wish not to copy files, but rather use ldap commands > to populate the salve. This is why ldapadd is used. > > In version 2.0.x this was made available (well it simply worked) and now, I > guess the 2.2 version is more strict. > > The need is quite complex, I notify the master about the new slave and only > then should the salve be populated with current master's > > Is there a way to make this work with different configuration or different > commands? Honestly, this is a *whole* lot easier with sync-replication, as the slave will sync itself with the master on it's own. However, you could do this if you are binding as the updatedn, and your ldap export included the required attributes (e.g. structuralObjectclass). But, if you're just upgrading from 2.0 to 2.2 ... just save yourself a lot of effort and simplify your replication management by upgrading to 2.3. Regards, Buchan -- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
Attachment:
pgpaOzFecQqdM.pgp
Description: PGP signature