From our user: /usr/bin/passwd crashes with "Segmentation fault" when changing password. passwd: password updated successfully Segmentation fault The password is acually changed OK, the crash comes during PAM cleanup. The problem seems to be these lines form pam_sm_chauthtok() in source/nsswitch/pam_winbind.c: ... time_t pwdlastset_prelim = 0; ... pam_set_data(pamh, PAM_WINBIND_PWD_LAST_SET, (void *)pwdlastset_prelim, _pam_winbind_cleanup_func); ... Although this strange type conversion from (time_t) to (void *) seems to work, bad things happen when _pam_winbind_cleanup_func() cllas free() on the value during PAM cleanup. Using pam_set_data( ... , NULL); instead seems to resolve this problem (I do not know if NULL is allowed for this argument. It seems to work).
Our users reports that the bug has been fixed in 3.0.23d. If he's right, I suggest setting that bug report to FIXED
Yes, I did fix that (and wasn't even aware of this good error report ;-)). Thanks.