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

Re: trailing characters in olcserverids after conversion



Oliver Liebel wrote:
using openldap 2.4.13 (compiled from openldap.org source-package)
i have noticed the following, reproducable behaviour when converting
a slapd.conf to slapd.d:

if slapd.conf contains serverids with ldap-urls, e.g. in this format:

ServerID        1       "ldap://ldapmaster.local.site:9000";
ServerID        2       "ldap://ldapslave.local.site:9000";

the olcserverids always contains some trailing (garbage) characters after the
conversion, and are base64 encoded. when i set them manually in cn=config with
ldapmodify, they are displayed "clean".


the serverid-lines in slapd.conf are "clean" (they contain no whsp/tabs at the end
of the line or similar, invisible chars).
i have tested it without \"\ and without portnumber,
tested conversion with slaptest and slapd,
in virtual and real machines,
result is always the same.


any ideas?

If this behavior is consistently reproducible, I suggest you file an ITS <http://www.openldap.org/its>.


p.


Ing. Pierangelo Masarati OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------