1825775 Members
2573 Online
109687 Solutions
New Discussion

Re: LDAP 4.0 client

 
SOLVED
Go to solution
Steven E. Protter
Exalted Contributor

LDAP 4.0 client

Had a problem with ldapsearch 3.3 on hpux 11i

I had the bright idea, why not install a newer ldap client therefore a new ldapsearch command.

So I downloaded and installed the lateset 4.00.2 ldap client from software.hp.com

Now when I run ldapsearch, I get this error output:

ldapsearch: this program requires Netscape Communications Corp.'s LDAP
library version 5.10 or greater; running with
mozilla.org's version 5.00.


I ran a few Google searches and guessed incorrectly that a component of the Netscape LDAP server was required.

I installed the whole thing but still get the error.

I'm stumped. Why did SD/UX let me install the ldap client without a required pre-requisite?

More important, how can I get the LDAP client ldapsearch command to work.

swlist -l fileset | grep -i ldap

# LdapUxClient B.04.00.02 LDAP-UX Client Services
LdapUxClient.ADMIN-RUN B.04.00.02 LDAP-UX Client Administration Tools
LdapUxClient.CORE-RUN B.04.00.02 LDAP Client Core Components
LdapUxClient.LDAP-C-SDK B.04.00.02 Mozilla LDAP SDK libraries and C source
LdapUxClient.LDUX-ENG-A-MAN B.04.00.02 Manual pages for HP-UX / LDAP Integration
LdapUxClient.NATIVELDAP-RUN B.04.00.02 LDAP-UX Client Runtime files
LdapUxClient.PAM-AUTHZ-RUN B.04.00.02 PAM Authorization Core Components
NetscapeDirSvr6.NDS-PERLDAP B.06.21.10.001 Netscape PerLDAP
# NisLdapServer B.04.00.02 The NIS/LDAP Gateway (ypldapd)
NisLdapServer.YPLDAP-SERVER B.04.00.02 The NIS/LDAP Gateway
hpuxwsAPACHE.AUTH_LDAP A.2.0.52.00 1.5.4 base
hpuxwsAPACHE.AUTH_LDAP2 A.2.0.52.00 1.5.4 base (PA Binaries)

What do I need to install.

Bunny alert!

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
11 REPLIES 11
RAC_1
Honored Contributor

Re: LDAP 4.0 client

If you can figure uot what libraries old version was using, you may get it to work.

Check if you have correct library path and all required libraries. i agree that SD-US should have given error/warning about it.
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: LDAP 4.0 client

PING

PING

PING

You get the idea.

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
RAC_1
Honored Contributor

Re: LDAP 4.0 client

No, please elaborate.
There is no substitute to HARDWORK
Armin Kunaschik
Esteemed Contributor

Re: LDAP 4.0 client

Maybe not a big help but who knows...
Version 4.00 runs fine here without any additional filesets.
I'll try the new version on a test host and post results later.

# swlist -l fileset J4269AA
# Initializing...
# Contacting target "server"...
#
# Target: server:/
#

# J4269AA B.04.00 LDAP-UX Integration
# J4269AA.NisLdapServer B.04.00 The NIS/LDAP Gateway (ypldapd)
J4269AA.NisLdapServer.YPLDAP-SERVER B.04.00 The NIS/LDAP Gateway
# J4269AA.LdapUxClient B.04.00 LDAP-UX Client Services
J4269AA.LdapUxClient.ADMIN-RUN B.04.00 LDAP-UX Client Administration Tools
J4269AA.LdapUxClient.CORE-RUN B.04.00 LDAP Client Core Components
J4269AA.LdapUxClient.LDAP-C-SDK B.04.00 Mozilla LDAP SDK libraries and C source
J4269AA.LdapUxClient.LDUX-ENG-A-MAN B.04.00 Manual pages for HP-UX / LDAP Integration
J4269AA.LdapUxClient.NATIVELDAP-RUN B.04.00 LDAP-UX Client Runtime files
J4269AA.LdapUxClient.PAM-AUTHZ-RUN B.04.00 PAM Authorization Core Components

Armin
And now for something completely different...
Steven E. Protter
Exalted Contributor

Re: LDAP 4.0 client

I have an exact match to this component set.

Environment? PATH?

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
Ermin Borovac
Honored Contributor
Solution

Re: LDAP 4.0 client

Just a guess ... are you executing the correct binary?

ldapsearch is found in /opt/ldapux/bin when LDAP client is installed, but also in /var/opt/netscape/... when Netscape directory server is installed.
Armin Kunaschik
Esteemed Contributor

Re: LDAP 4.0 client

# swlist -l fileset J4269AA
# Initializing...
# Contacting target "testserver"...
#
# Target: testserver:/
#

# J4269AA B.04.00.02 LDAP-UX Integration
# J4269AA.NisLdapServer B.04.00.02 The NIS/LDAP Gateway (ypldapd)
J4269AA.NisLdapServer.YPLDAP-SERVER B.04.00.02 The NIS/LDAP Gateway
# J4269AA.LdapUxClient B.04.00.02 LDAP-UX Client Services
J4269AA.LdapUxClient.ADMIN-RUN B.04.00.02 LDAP-UX Client Administration Tools
J4269AA.LdapUxClient.CORE-RUN B.04.00.02 LDAP Client Core Components
J4269AA.LdapUxClient.LDAP-C-SDK B.04.00.02 Mozilla LDAP SDK libraries and C source
J4269AA.LdapUxClient.LDUX-ENG-A-MAN B.04.00.02 Manual pages for HP-UX / LDAP Integration
J4269AA.LdapUxClient.NATIVELDAP-RUN B.04.00.02 LDAP-UX Client Runtime files
J4269AA.LdapUxClient.PAM-AUTHZ-RUN B.04.00.02 PAM Authorization Core Components

ldapsearch from /opt/ldapux/bin/ldapsearch runs fine.
OS is HP-UX 11.11. Patchlevel May 2005.

Armin
And now for something completely different...
Muthukumar_5
Honored Contributor

Re: LDAP 4.0 client

I hope your LD_LIBRARY_PATH variable is not updated.

Refer this:

http://mit.edu/afs/athena/astaff/project/ldap/mozilla2k/sdkc4.0/relnotes.htm
with keyword "ldapsearch"

hth.
Easy to suggest when don't know about the problem!
Armin Kunaschik
Esteemed Contributor

Re: LDAP 4.0 client

Forgot to mention:
No additional/unusual changes in environment.
PATH and MANPATH are set from /etc/PATH and /etc/MANPATH.

/opt/ldapux/bin is not in my /etc/PATH

No SHLIB_PATH set.

Armin
And now for something completely different...
Steven E. Protter
Exalted Contributor

Re: LDAP 4.0 client

Good Guess there bunny recipient.

I used a different ldapsearch and the problem went away.

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
Steven E. Protter
Exalted Contributor

Re: LDAP 4.0 client

I do LOVE ITRC forums.

A well earned bunny.

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