Closed Bug 152852 Opened 22 years ago Closed 22 years ago

referrals: port 0 used by default instead of port 389

Categories

(Directory :: LDAP C SDK, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcs, Assigned: mcs)

Details

Attachments

(1 file)

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.
Attached patch proposed fixSplinter Review
I meant to say libldap/request.c
Fix looks good.
Status: NEW → ASSIGNED
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
Closed: 22 years ago
Resolution: --- → FIXED
Spam for bug 129472
QA Contact: nobody → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: