Issue 3223 - Slurpd only uses one replogfile, while slapd can create more
Summary: Slurpd only uses one replogfile, while slapd can create more
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 15:18 UTC by andreas@canonical.com
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description andreas@canonical.com 2004-07-08 15:18:35 UTC
Full_Name: Andreas Hasenack
Version: 2.1.29
OS: Linux 2.6.x
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (200.140.247.99)


I have a slapd.conf with two database definitions. Each one of these databases
has a replogfile directive specifying diferent files and is replicated to a
slave server.

slapd has no problem with this: both replication log files are written
correctly. slurpd, however, only monitors one file, probably the first
replogfile directive it encounters while parsing the configuration file. This is
unexpected.

Comment 1 Howard Chu 2004-07-14 00:51:27 UTC
changed notes
Comment 2 andreas@canonical.com 2004-07-19 16:50:39 UTC
The workaround doesn't work for TLS because openldap can only serve one certificate.
One cannot use two different names for the slave and only one certificate, because
the common name won't match and the TLS connection will error.

Comment 3 andreas@canonical.com 2004-07-19 16:57:01 UTC
Ups, wrong ITS, sorry.

Comment 4 Howard Chu 2004-07-19 17:20:40 UTC
andreas@conectiva.com.br wrote:

> The workaround doesn't work for TLS because openldap can only serve one certificate.
> One cannot use two different names for the slave and only one certificate, because
> the common name won't match and the TLS connection will error.

Then you must add subjectAltName extensions to your server certificate 
listing all the valid names for the server.

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

Comment 5 andreas@canonical.com 2004-07-19 17:38:59 UTC
On Mon, Jul 19, 2004 at 10:20:40AM -0700, Howard Chu wrote:
> andreas@conectiva.com.br wrote:
> 
> >The workaround doesn't work for TLS because openldap can only serve one 
> >certificate.
> >One cannot use two different names for the slave and only one certificate, 
> >because
> >the common name won't match and the TLS connection will error.
> 
> Then you must add subjectAltName extensions to your server certificate 
> listing all the valid names for the server.

Hmm, I see... There is really no intention of fixing this issue, is there? ;)

Comment 6 Howard Chu 2004-07-24 19:17:27 UTC
andreas@conectiva.com.br wrote:

> On Mon, Jul 19, 2004 at 10:20:40AM -0700, Howard Chu wrote:
>>>The workaround doesn't work for TLS because openldap can only serve one 
>>>certificate.
>>>One cannot use two different names for the slave and only one certificate, 
>>>because
>>>the common name won't match and the TLS connection will error.
>>
>>Then you must add subjectAltName extensions to your server certificate 
>>listing all the valid names for the server.

> Hmm, I see... There is really no intention of fixing this issue, is there? ;)

None of the project developers has taken any interest in this issue, but 
you can always submit a patch that would be considered for incorporation.
-- 
   -- Howard Chu
   Chief Architect, Symas Corp.       Director, Highland Sun
   http://www.symas.com               http://highlandsun.com/hyc
   Symas: Premier OpenSource Development and Support

Comment 7 Kurt Zeilenga 2004-08-28 00:34:55 UTC
moved from Incoming to Software Enhancements
Comment 8 Kurt Zeilenga 2004-08-28 00:35:49 UTC
changed notes
changed state Open to Closed
Comment 9 Howard Chu 2009-02-17 04:51:30 UTC
moved from Software Enhancements to Archive.Software Enhancements
Comment 10 OpenLDAP project 2014-08-01 21:06:58 UTC
dup of #1119