[Date Prev][Date Next]
Re: Anonymous Syncrepl?
On Tuesday, 10 November 2009 17:40:21 Eric B. wrote:
> I'm relatively new to OpenLDAP and am trying to set up a slave server. I
> figured the easiest way would be to use the anonymous user to perform the
> synchronization given that my master allows for full anonymous reads:
We hope you're aware of the risks in the usual trade-off.
> access to *
> by self write
> by users read
> by anonymous read
But, can an anonymous search retrieve all the entries (see 'timelimit' and
Secondly, did you configure your master for syncrepl ? Specifically, has the
database holding dc=domain,dc=com got the syncrepl overlay loaded (and you
should also index the attributes used for replication state, see the
> I have tried to specify the following in my slave slapd.conf:
> syncrepl rid=8
> retry="60 +"
> However, my slave seems to be unable to connect properly to the master.
It connects just fine, and initiates a search, however the search doesn't
> seems to be trying to write something, and am not quite sure what. My
> master has the following log:
> Nov 9 16:37:52 snoopy slapd: conn=6270 fd=72 ACCEPT from
> IP=10.1.1.8:39558 (IP=0.0.0.0:389)
> Nov 9 16:37:52 snoopy slapd: conn=6270 op=0 BIND dn="" method=128
> Nov 9 16:37:52 snoopy slapd: conn=6270 op=0 RESULT tag=97 err=0
> text= Nov 9 16:37:52 snoopy slapd: conn=6270 op=1 SRCH
> base="dc=domain,dc=com" scope=2 deref=0 filter="(objectClass=*)"
> Nov 9 16:37:52 snoopy slapd: conn=6270 op=1 SRCH attr=* +
> Nov 9 16:37:52 snoopy slapd: send_search_entry: conn 6270 ber write
> Nov 9 16:37:52 snoopy slapd: conn=6270 fd=72 closed (connection lost
> on write)
> My slave logs display the following:
> Nov 9 16:45:36 spike slapd: do_syncrep2: rid 008got search entry
> without control
Either it didn't get all the entries (and thus not the control which would
follow) when doing the initial sync - fix the limits, or it got all the entries
but no control - ensure the overlay is active on the producer.