Segmentation Fault using passwd command

From Brandonhutchinson.com

Revision as of 18:16, 22 February 2008 by Hutch (Talk | contribs)
Jump to: navigation, search

Overview

passwd on Solaris 8 causes a segmentation fault when changing the password for an LDAP user.

Configuration:

  • Solaris 8 SPARC client (117350-47)
  • LDAP user account
  • Sun Directory Server Enterprise Edition (DSEE) 6.2

Example

$ ldapsearch -h LDAP_server -D "cn=Directory Manager" -w password -b dc=example,dc=com uid=hutchib | grep userPassword
userPassword={SSHA}...
$ passwd
passwd: Changing password for hutchib
Enter existing login password: 
New Password: 
Re-enter new Password: 
Segmentation Fault (core dumped)

Workaround

  • Use passwd -r ldap when changing an LDAP user password.
$ passwd -r ldap
passwd: Changing password for hutchib
Enter existing login password: 
New Password: 
Re-enter new Password: 
LDAP passwd changed for hutchib
Personal tools