Operating System - HP-UX
1837521 Members
3571 Online
110117 Solutions
New Discussion

LDAP-UX can't chase referrals

 
Darrin De Sa
Occasional Contributor

LDAP-UX can't chase referrals

Hi all,

I have a referral in OpenLDAP setup. Using the ldapsearch tool from OpenLDAP with the "-C" option, the referral can be chased, i.e., the entries are retrieved successfully. But using the ldapsearch tool from HP LDAP-UX, this does not work, even though display_profile_cache shows:

Global Information from the Configuration Profile
=================================================
host[:port]: xxx.xxx.xxx.xxx:xxx
default search base:
auth: simple
profilecachettl: 0 = infinite
follow referrals: enabled
search time limit: 0 = no limit
bind time limit: 5 seconds
credential level: anonymous


/opt/ldapux/bin/ldapsearch -b "dc=example,dc=com" "uid=xxx"
returns:

Unfollowed continuation reference(s):
ldap://hostname:port/ou=people,dc=example,dc=com??sub

/opt/ldapux/bin/ldapsearch -b "ou=people,dc=example,dc=com" "uid=xxx"
returns:

ldap_search: Local error
ldap_search: matched: ou=people,dc=example,dc=com

thx in advance,
Darrin
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: LDAP-UX can't chase referrals

Shalom Darrin,

what ldapsearch (use the full path to the hp version)

swlist -l product | grep -i ldap

Make sure you use a current version.

Check the patch database for patches.

We're using the hp tool for ldap-ux 3.3 and 4.0

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darrin De Sa
Occasional Contributor

Re: LDAP-UX can't chase referrals

Servus Steven,

I am using this one

J4269AA B.04.00.02 LDAP-UX Integration

Darrin