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

Re: (ITS#3616) Syncrepl and rootless installations



This is now working in CVS HEAD. back-bdb will generate a fake entry for 
"" if one is not provided, and it will store the context info there as 
usual.

rob@dsvr.net wrote:

>Full_Name: Rob Fielding
>Version: 2.3.2
>OS: Linux RHEL3/4/FC3
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (62.69.64.93)
>
>
>Consider a sitation (organisational migration) where it is useful to maintain
>multiple trees within a single OpenLDAP instance:
>
>slapd.conf:
>
>database    bdb
>suffix      ""
>rootdn      "cn=root"
>rootpw      foobar
>
>this allows multiple trees:
>
>o=foo
>o=bar
>o=baz
>
>When used with syncrepl, initial contextCSN descovery for the provider does not
>happen.
>
>Additionally, when configured in the consumer:
>
>database    bdb
>suffix      ""
>rootdn      "cn=root"
>rootpw      foobar
>syncrepl rid=1
>                provider=ldap://<IP>
>                type=refreshAndPersist
>                searchbase=""
>                filter="(objectclass=*)"
>                scope=sub
>                attrs=""
>                schemachecking=off
>                bindmethod=simple
>                binddn="cn=root"
>                credentials=foobar
>                retry=5,+
>
>Even attempting to specify an appropriate searchbase (o=foo) for each othe the
>trees installed within the provider does not provide a working syncrepl.
>
>Specifying a specific root for provider, consumer and searchbase results in
>functional syncrepl.
>
>This ITS issue has been raised to formally mark the following mailling list
>discussion:
>
>http://www.openldap.org/lists/openldap-software/200503/msg00800.html
>
-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support