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

Re: syncrepl: no update referral



On Thursday 12 October 2006 11:37, Sepp wrote:
> Hello,
>
> we have the following consumer syncrepl config
> (V 2.3.25, Suse Linux SLES 9):
>
> database        bdb
> suffix          "o=test,c=de"
> rootdn          "cn=dirmgr,o=test,c=de"
> ...
> syncrepl rid=1
>         provider=ldap://testserver:389
>         type=refreshOnly
>         interval=00:00:01:00
>         searchbase="ou=repltree,o=test,c=de"
>         filter="(objectClass=*)"
>         scope=sub
>         attrs="*"
>         schemachecking=off
>         bindmethod=simple
>         binddn="cn=dirmgr,o=test,c=de"
>         credentials=xxx
>
> The intention is to replicate only a part of the DIT
> ("ou=repltree,o=test,c=de"), Other parts of the database should be
> alterable on the consumer
> (e.g. "localtree,o=test,c=de").
>
> But when we try add an entry, we get the error message:
>
> LDAP Error updating entry 'ou=testentry,cn=localtree,o=test,c=de'.
> Code:53. Message:shadow context; no update referral
What you want is AFAIK not possible in a single database with current code. 
Even if you want to replicate only to a subtree of a database the whole 
database is handled as a read-only shadow copy. 
You might try to split your data to multiple database and glue them together 
with backglue. But there seem to be other issues. See e.g. ITS#4626 or recent 
posts on this list.

-- 
Ralf Haferkamp
SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg