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

RE: support for replica uri spec in slapd.conf (ITS#2594)



Thanks, this is now committed to CVS HEAD.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
mark.benson@propero.net

> Full_Name: Mark Benson
> Version: HEAD
> OS: RH Linux 7.3
> URL: ftp://ftp.openldap.org/incoming/mark-benson-030612.patch
> Submission from: (NULL) (81.86.217.112)
>
>
> This is a patch to slurpd and slapd to support the ability to
> specify a replica
> host in slapd.conf using an LDAP URI specification.
> e.g. all these forms are supported:
>
>         replica host=slave.example.com:389
>                 binddn="cn=Replicator,dc=example,dc=com"
>                 bindmethod=simple credentials=secret
>
>         replica uri=ldap://slave2.example.com:389
>                 binddn="cn=Replicator,dc=example,dc=com"
>                 bindmethod=simple credentials=secret
>
>         replica uri=ldaps://slave3.example.com:636
>                 binddn="cn=Replicator,dc=example,dc=com"
>                 bindmethod=simple credentials=secret
>
> In the case of the uri specification, the uri is passed to
> ldap_initialize()
> just like the -H option to ldapmodify. Code for host= remains
> the same.
>