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

Re: syncrepl vs is_entry_objectclass "2.5.17.0" no objectClass attribute



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.

-Dieter

-- 
Dieter Klünter | Systemberatung
sip: +49.40.20932173
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6