referrals: port 0 used by default instead of port 389

RESOLVED FIXED

Status

Directory
LDAP C SDK
RESOLVED FIXED
16 years ago
15 years ago

People

(Reporter: mcs, Assigned: mcs)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

16 years ago
When libldap processes a referral like this:

  ldap://ldap.example.com/dc=example,dc=com

It tries to open a connection to ldap.example.com port 0 (oops). This used to
work, but a bug was introduced in libldap/result.c when a different problem was
fixed.

I have a patch.
(Assignee)

Comment 1

16 years ago
Created attachment 88301 [details] [diff] [review]
proposed fix

I meant to say libldap/request.c

Comment 2

16 years ago
Fix looks good.
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 3

16 years ago
Fix committed to the trunk:

mozilla/directory/c-sdk/ldap/libraries/libldap/request.c
  new revision: 5.1; previous revision: 5.0
    Fix bug # 152852 - referrals: port 0 used by default instead of port 389.
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED

Comment 4

15 years ago
Spam for bug 129472
QA Contact: nobody → nobody
You need to log in before you can comment on or make changes to this bug.