Re: syncrepl push model with searchbase=""

Quanah Gibson-Mount <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <24FEF2AEE82A5662CBFD6EAE@[192.168.1.199]>
--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.

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.