Re: syncrepl not working: "no serverID / URL match found"

2016-10-14 Thread Daniel Spannbauer
Hello Quanah,

> 
>> This config works fine with the "old" 2.4.23, but on 2.4.33 I get the
>> following error when I start it on the commandline with
>> /usr/lib/openldap/slapd -h ldap:///   -f /etc/openldap/slapd.conf -u
>> ldap -g ldap  -o slp=off -d 1
>>
>> 57ff35cc read_config: no serverID / URL match found. Check slapd -h
>> arguments.
> 
> Hi Daniel,
> 
> As the error message notes, there is no match between what you are
> passing to -h when slapd starts (ldap:///) and a URI in your serverID
> config (ldap://server1... ldap://server2...).
> 
> Adjust your -h option to slapd so that it can be matched against a
> server ID.
> 
> Hope that helps!
> 

Yes, with -h ldap://server2.branch.xxx.de it works, but why does it work
with this configuration at openldap 2.4.23? Was it a bug?

Regards

Daniel


-- 
Daniel Spannbauer Systemadministration
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220
http://www.marco.de/  Email d...@marco.de
Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München



Re: syncrepl not working: "no serverID / URL match found"

2016-10-13 Thread Quanah Gibson-Mount
--On Thursday, October 13, 2016 10:22 AM +0200 Daniel Spannbauer 
 wrote:



serverID 1 "ldap://server1.mainoffice.xxx.de;
serverID 2 "ldap://server2.branch.xxx.de;



This config works fine with the "old" 2.4.23, but on 2.4.33 I get the
following error when I start it on the commandline with
/usr/lib/openldap/slapd -h ldap:///   -f /etc/openldap/slapd.conf -u
ldap -g ldap  -o slp=off -d 1

57ff35cc read_config: no serverID / URL match found. Check slapd -h
arguments.


Hi Daniel,

As the error message notes, there is no match between what you are passing 
to -h when slapd starts (ldap:///) and a URI in your serverID config 
(ldap://server1... ldap://server2...).


Adjust your -h option to slapd so that it can be matched against a server 
ID.


Hope that helps!

--Quanah


--

Quanah Gibson-Mount
Product Engineer
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP: