Operating System - HP-UX
1823083 Members
3547 Online
109646 Solutions
New Discussion юеВ

ldappasswd Segmentation Fault (core dump)

 
Shannon Petry
Honored Contributor

ldappasswd Segmentation Fault (core dump)


This may be a patch issue that I can not find by searching, or something else.

LDAP client services are configured and functioning properly, auth is working through LDAP.

The Server is a SunOne Directory server 5.2 (which is just about a clone of Netscape iPlanet Directory Server 6.1).

ldappasswd works in the respect that the LDAP password is changed for the user, after the change completes the binary seg faults and core dumps.

Any insight would be appreciated.
Microsoft. When do you want a virus today?
3 REPLIES 3
Fred Ruffet
Honored Contributor

Re: ldappasswd Segmentation Fault (core dump)

What are output for "file" and "what" on the core file ?

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
RAC_1
Honored Contributor

Re: ldappasswd Segmentation Fault (core dump)

Once you install ldap and required patches, does passwd command supports
passwd -r ldap "user_name"

Just a though.

Anil
There is no substitute to HARDWORK
Shannon Petry
Honored Contributor

Re: ldappasswd Segmentation Fault (core dump)

Fred, the binary does not create output. It's basically a network connector for LDAP. From tracing the binary with tusc, it appears to be a hybred ldapmodify.

Trace with tusc does not help much, but here is the point at which it dumps.

/opt/ldapux/] close(5) .................................. = 0
[/opt/ldapux/] getdomainname(0x7f7f0a20, 256) ............ [entry]
[/opt/ldapux/] getdomainname("", 256) .................... = 0
[/opt/ldapux/] Received signal 11, SIGSEGV, in user mode, [SIG_DFL], partial s
iginfo
[/opt/ldapux/] Siginfo: si_code: I_NONEXIST, faulting address: 0xfffffffd, s
i_errno: 0
[/opt/ldapux/] PC: 0xc018325f, instruction: 0x497c3ff9
[/opt/ldapux/] exit(11) [implicit] ....................... WIFSIGNALED(SIGSEGV)|
WCOREDUMP


File on the core just shows the binary, and a seg fault caused the dump.


Sadly HP-UX does not support "passwd -r ldap" like Solaris. If nsswitch.conf is configured for "files ldap" then in Solaris you do not even need the repository name :D
Microsoft. When do you want a virus today?