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

Re: syncrepl vs is_entry_objectclass "2.5.17.0" no objectClass attribute



--On Wednesday, June 16, 2010 5:15 PM +0200 Dieter Kluenter <dieter@dkluenter.de> wrote:

Am Wed, 16 Jun 2010 15:20:45 +0200
schrieb <Guy.Baconniere@swisscom.com>:

Hello,

A syncrepl with a searchbase of "dc=foo,dc=bar" is working fine but
not with a empty/null "" searchbase. On the provider side I have the
following error "is_entry_objectclass("", "2.5.17.0") no objectClass
attribute" and on the consumer I have "do_syncrep2: rid=002 (32) No
such object".

ldapsearch -LLL -h foo.bar -p 389 -x -D 'cn=syncrepl,dc=foo,dc=bar'
-w '*****' -b '' -s sub '(objectclass=*)' '*' '+' Do not have any
issue to retrieve the full DIT(s) and is able to find the sub of root
object.

Is it possible to replicate an null/empty searchbase with syncrepl ?

If not how can I replicate part of a null/empty searchbase setup on a
provider ?

Best Regards,
Guy Baconniere

I am running OpenLDAP slapd 2.4.11 on Debian Lenny.

[...]
I don't know whether this is applicable to 2.4.11 already, but you may
add olcSyncUseSubentry: TRUE
to the provider's config database. See slapd-config(5) for more
information.

Not necessary.  Of course, using 2.4.11 is suicidal anyway.

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration