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

Re: replica uri don't allow uri



>>>>> "Pierangelo" == Pierangelo Masarati <ando@sys-net.it> writes:

    Pierangelo> OK, I overlooked the statement.  Looking at the code,
    Pierangelo> however, the "uri" parameter of the "replica"
    Pierangelo> statement is arsed and the host is extracted, but no
    Pierangelo> info about the protocol part is retained.  I guess
    Pierangelo> that's why even "ldaps" appears not to work.  I think
    Pierangelo> we need to decide whether to honor the protocol part
    Pierangelo> (in that case "ldapi" shoudl work as well) or to
    Pierangelo> discard the "uri" option.

Honor the protocol! And update the syncrepl statement 'provider' option
as well:

       syncrepl rid=<replica ID> provider=ldap[s]://<hostname>[:port]

I'd like to have an ldapi to the provider as well...

THAT part does however work as documented (i.e. without the port).