Issue 8195 - Regression: wrong conversion specifier for "port" in "ldap_domain2hostlist"
Summary: Regression: wrong conversion specifier for "port" in "ldap_domain2hostlist"
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.40
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-11 20:43 UTC by sergio.gelato@astro.su.se
Modified: 2015-08-18 17:41 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 sergio.gelato@astro.su.se 2015-07-11 20:43:50 UTC
Full_Name: Sergio Gelato
Version: 2.4.40
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (85.225.123.131)


Commit 5de85b922aaa5bfa6eb53db6000adf01ebdb0736 has undone the fix for
ITS#6644.

As a consequence, if one has a record
    _ldap._tcp.example.org IN SRV 0 0 38900 ldap.example.org
ldap_domain2hostlist("example.org",&result) returns
    ldap.example.org:-26636
as the value of the result string.
Comment 1 Howard Chu 2015-07-12 10:16:13 UTC
Sergio.Gelato@astro.su.se wrote:
> Full_Name: Sergio Gelato
> Version: 2.4.40
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (85.225.123.131)
>
>
> Commit 5de85b922aaa5bfa6eb53db6000adf01ebdb0736 has undone the fix for
> ITS#6644.

Thanks for the report. Fixed in master.
>
> As a consequence, if one has a record
>      _ldap._tcp.example.org IN SRV 0 0 38900 ldap.example.org
> ldap_domain2hostlist("example.org",&result) returns
>      ldap.example.org:-26636
> as the value of the result string.
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 2 Howard Chu 2015-07-16 02:18:57 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 3 Quanah Gibson-Mount 2015-07-28 15:50:12 UTC
changed notes
changed state Test to Release
Comment 4 OpenLDAP project 2015-08-18 17:41:48 UTC
fixed in master
fixed in RE25
fixed in RE24 (2.4.42)
Comment 5 Quanah Gibson-Mount 2015-08-18 17:41:48 UTC
changed notes
changed state Release to Closed