Re: syncrepl push model with searchbase=""
Pierangelo Masarati <[email protected]>
| Newsgroups | gmane.network.openldap.general |
|---|---|
| Message-ID | <[email protected]> |
Quanah Gibson-Mount wrote: > --On Wednesday, October 14, 2009 7:12 PM -0700 [email protected] wrote: > >> Relevant parts from master slapd.conf: >> ---------------------------------------- >> database monitor >> >> database bdb >> directory /var/ldap/openldap-bdb >> suffix "" >> rootdn "cn=Manager" >> rootpw syncroni >> index entryCSN,entryUUID eq >> serverID 001 >> overlay syncprov >> >> database ldap >> hidden on >> suffix "" >> rootdn "cn=slapd-ldap" >> uri ldap://CONSUMER.HOST/ >> lastmod on >> restrict all >> >> acl-bind bindmethod=simple >> binddn="cn=Monitor" >> credentials=password >> >> syncrepl rid=001 >> provider=ldap://localhost/ >> bindmethod=simple >> binddn="cn=Manager" >> credentials=syncroni >> scope=children >> searchbase="" >> filter="(objectClass=*)" >> type=refreshAndPersist >> retry="5 2 300 2" >> ---------------------------------------- >> >> relevant parts from consumer slapd.conf: >> ---------------------------------------- >> database monitor >> rootdn "cn=Monitor" >> rootpw password >> >> database bdb >> directory /var/ldap/openldap-bdb >> suffix "" >> index entryUUID eq >> access to dn.subtree="" attrs=hasSubordinates >> by dn.exact="cn=Monitor" none >> by * read >> access to dn.subtree="" >> by dn.exact="cn=Monitor" write >> by * read >> updatedn "cn=Monitor" >> updateref ldap://MASTER.HOST/ >> ---------------------------------------- > > Actually, I'm confused here... The "syncrepl" stanza belongs in the > consumer's slapd.conf, not the masters. As he said, it's a "push" replication; the fake consumer database is in the producer's slapd.conf, and is hidden. p.