[Samba] smbpasswd for user does not work

Jacek Stolarczyk jacek at mer.chemia.polsl.gliwice.pl
Fri Mar 15 04:12:03 GMT 2002


Hi,

Any user (besides root) cannot execute smbpasswd, neither for command line
nor from the WinNT "Change password dialog". Samba works as a PDC for the
domain. Additional info:

1) konsole output:
Old SMB password:
machine 127.0.01 rejected the password change: Error was: The specified
password is invalid.
Failed to change password for USERNAME

(USERNAME stands for a real user name here, the password _was_ correct
here)

2) samba logs:
[2002/03/15 10:57:56, 0] smbd/chgpasswd.c:check_oem_password(792)
  check_oem_password: incorrect password length (856862671).
[2002/03/15 11:00:59, 0] smbd/chgpasswd.c:check_oem_password(792)
  check_oem_password: incorrect password length (856862671).

3) /etc/pam.d/samba:
auth	required	/lib/security/pam_stack.so service=system-auth
account	required	/lib/security/pam_stack.so service=system-auth

4) /etc/pam.d/system-auth
auth        sufficient    /lib/security/pam_unix.so likeauth nullok md5 shadow
auth        required      /lib/security/pam_deny.so
account     sufficient    /lib/security/pam_unix.so
account     required      /lib/security/pam_deny.so
password    required      /lib/security/pam_cracklib.so retry=3
password    sufficient    /lib/security/pam_unix.so nullok use_authtok md5 shadow
password    required      /lib/security/pam_deny.so
session     required      /lib/security/pam_limits.so
session     required      /lib/security/pam_unix.so

5) samba version: 2.2.1a


I'd be grateful for any advice. Best wishes,

Jacek Stolarczyk






More information about the samba mailing list