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

(ITS#6559) About Referrals and BIND



Full_Name: Jet Du
Version: openldap-2.4.21
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (61.191.27.34)


Because ther are some typo in some description of (ITS#6558). So, I submit a new
ITS as below.

There are two openLDAP Directory.

10.224.39.165 openLDAP has suffix dc=cisco,dc=com
10.224.39.172 openLDAP has suffix dc=webex,dc=com 

In 10.224.39.172 OpenLDAP, I configure referral in slapd.conf like below:
    referral        ldap://10.224.39.165:389/

Connect 10.224.39.172 to BIND entry existing in 10.224.39.165. Code like
following:
    lc.connect("10.224.39.172", 389);
    lc.bind(LDAPConnection.LDAP_V3,
"uid=xxx@hf.cisco.com,ou=People,dc=cisco,dc=com", "pass".getBytes("UTF8"));

But, I can not BIND successfully. Exception like below:
    Connect ERRORLDAPException: Invalid Credentials (49) Invalid Credentials
    LDAPException: Matched DN: ......

How to do BIND based on Referral? Thanks ...