[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: new admin guide draft

Luke Howard wrote:
I find that "ldapsearch -h ldap-dev0 cn=ldapsync" returns nothing! Since it is a part of the database, shouldn't I be able to see this?

It appears that you need to read this, eg:

$ ldapsearch -h ldap-dev0 -b "cn=ldapsync,dc=stanford,dc=edu" -s base

>sed s/ProviderSubentry/ConsumerSubentry/ dbfile > db_file.new
> You don't need to do this -- the consumer will suck the database from the
> provider when it starts up.

Just a short note without having used this new replication engine so far:

With another LDAP server product it is sometimes faster to dump the whole database at once (in a special replica LDIF format), copy it to the replica system and load the database from LDIF than using the function "Initialize Consumer" which pushes the whole database via LDAP.

Therefore I could imagine that it'd be nice to do a slapcat (replica mode) on provider, scp/ftp/whatever to replica system and slapadd on replica system.

Just my 2 cent...

Ciao, Michael.