[Samba] pam_smbpass core dumps as non-root user

Marc Prewitt mprewitt at wssource.com
Wed Jul 23 17:01:07 GMT 2003


I am running samba 2.2.8a with the pam_smbpass included in it (running on 
Sparc Solaris 2.8).  When I run passwd as root, the unix password and 
smbpasswd passwords are both changed successfully.  However, if I do this 
as a regular user I get a core dump as follows:

$ passwd
passwd: Changing password for mprewitt
Enter existing login password:
New Password:
Re-enter new Password:
Bus Error (core dumped)

I have the following in my pam.conf file:

other   password required               pam_smbpass.so.1 debug use_authtok 
try_first_pass

(slightly different than the unix version but works the same.)

Here's a backtrace of the coredump which is generated:

#0  0xff142b6c in _free_unlocked () from /usr/lib/libc.so.1
#1  0xff142b24 in free () from /usr/lib/libc.so.1
#2  0xff354ed0 in nis_putpwnam () from /usr/lib/passwdutil.so.1
#3  0xff352db0 in __set_authtoken_attr () from /usr/lib/passwdutil.so.1
#4  0xfeda0ea8 in pam_sm_chauthtok () from 
/usr/lib/security/pam_authtok_store.so.1
#5  0xff303048 in run_stack () from /usr/lib/libpam.so.1
#6  0xff303474 in pam_chauthtok () from /usr/lib/libpam.so.1
#7  0x000118f4 in main ()

Any ideas or suggestions to debug this further?  Does anyone have 
pam_smbpass working on Solaris?

Thanks,
Marc Prewitt




More information about the samba mailing list