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

Re: Being a consumer and a provider for the same database (toward different servers) ?



jmbajet@gmail.com wrote:
So the question is :
-------------------
I don't know if in slapd.conf, under a same database I can put entries for being a supplier and a consumer ?

Yes. See test019 in the self test suite, it tests this type of configuration.


Main server :
database bdb
        suffix ou=subsidiary_i,o=my-company
        rootdn o=my-company
        directory /var/ldap/db/subsidiary_i
        index objectclass,entryCSN,entryUUID eq

# Be a consummer for subsidiary_i
syncrepl rid=123
provider=ldap://subsidiary_i.ldap_server.com:389
type=refreshOnly
interval=01:00:00:00
searchbase="ou=subsidiary_i,o=my-company"
filter="(objectClass=*)"
scope=sub
...
# Be a provider for subsidiary_j and j <> i for j=1 to 111
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100




Thanks a lot for anwsers.
jmbajet@gmail.com
with the suffix o=my-company





--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/