Operating System - HP-UX
1826654 Members
1616 Online
109695 Solutions
New Discussion

LDAP-UX proxy_cred not working

 
Klaus Jørgensen
New Member

LDAP-UX proxy_cred not working

Hi all.

We've been running LDAP-UX against OpenLDAP for a while without problems.

But after cloning an L2000 with make_recovery, the cloned machine can't access the LDAP but logs messages like
ldap_common.c:1050:_hp_ldap_bind_by_my_uid(): getProxyCred() returned:19.
I can't use ldap_proxy_config to update the proxy user info; it replies
setProxyCred returned 2 - exiting
and when validating with -v
File Credentials verified - valid
Could not retrieve credentials from SCS

Apparently the /etc/opt/ldapux/pcred file is OK (I've successfully recreated that a few times), but the kernel memory can't be accessed correctly.
Looking at /sbin/init.d/ldapproxy
pointed me towards the device file /dev/scs0, which exists and is configured like the one on our working system.
"lsdev -d scs" returns
Character Block Driver Class
6 -1 scs pseudo
so apparently the scs-driver is loaded.
However, if I move the device file and run insf (either with -e or -d scs), the device file isn't recreated, so i seems there is something seriously wrong in the kernel.

Has anyone seen problems like this before? I expect a reinstall of LDAP-UX would solve it, but I'd rather save the time...

TIA, Klaus