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

(ITS#6558) About Referrals and BIND

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

There are two openLDAP Directory. openLDAP has suffix dc=cisco,dc=webex openLDAP has suffix dc=webex,dc=webex 

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

Connect to BIND entry existing in Code like
    lc.connect("", 389);
"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 ...