Operating System - HP-UX
1834927 Members
2664 Online
110071 Solutions
New Discussion

Re: ldap integration/name service configuration

 
Jerome D'silva
Advisor

ldap integration/name service configuration

Hi,
I have configured HPUX ldap integration to talk to Novell eDirectory. As far as the configuration is concerned, it is fine and working as I'm able to download the profiles from the ldap directory.
But a lookup for any user fails.
If we do a nsquery passwd username, the following error "This Name Service is currently unavailable" is put on the stdout. the order for passwd in nsswithc.conf is .Any idea why this error is coming and why it fails?

=============================================
# nsquery passwd testuser

Using "files ldap" for the passwd policy.

Searching /etc/passwd for testuser
testuser was NOTFOUND

Switch configuration: Allows fallback

Searching ldap for testuser
This Name Service is currently unavailable

Switch configuration: Allows fallback

All name services have been searched
===========================================

Thanks
Jerome
4 REPLIES 4
Jean-Guy GROSSE
Advisor

Re: ldap integration/name service configuration


Hello Jerome,

I have exactly same problem..


---------------------------
euxte2{root}# nsquery passwd don

Using "files ldap" for the passwd policy.

Searching /etc/passwd for don
don was NOTFOUND

Switch configuration: Allows fallback

Searching ldap for don
This Name Service is currently unavailable

Switch configuration: Allows fallback

All name services have been searched
---------------------------------------


Did you find a solution or work arround ?

thanks .

Jgg.
Bob Moore_1
Advisor

Re: ldap integration/name service configuration

I'm having a similar issue, but i get a "NOTFOUND" error rather than
"This Name Service is currently unavailable".

But i think i can help you with your error.

When you get the "This Name Service is currently unavailable" error that means that 1: Your ldapclientd is not running or 2: Your proxy user is not connecting to the LDAP db properly. So start there.

I'm connecting to the db but i can't seem to get it to find any users. the only thing i seem to be able to find is the configuration profile. I'm sure it's OE, but i can't seem to find it.

Anyway, Hope i helped a little.

BOB
Jean-Guy GROSSE
Advisor

Re: ldap integration/name service configuration

Thanks Bob for your message,

In fact my problem was a certificat problem , because I configured ldap.conf with ssl connection to the db.

Thanks.

Jean-Guy GROSSE
Advisor

Re: ldap integration/name service configuration

In fact for key manipulation for ssl conection
I had to install random product :
HP-UX Strong Random Number Generator for hpux11.i

I found it in :

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I

And after my ldap by ssl request had better.

Jgg.