[Samba] smbpasswd for user does not work

Kristyan Osborne kris at longhill.brighton-hove.sch.uk
Fri Mar 15 06:42:20 GMT 2002


i'm assuming its a typo

1) konsole output:
Old SMB password:
machine 127.0.01 rejected the password change: Error was: The specified

machine 127.0.0.1 rejected the password change: Error was: The specified
	  ---------

-----Original Message-----
From: Jacek Stolarczyk [mailto:jacek at mer.chemia.polsl.gliwice.pl]
Sent: 15 March 2002 10:16
To: samba at lists.samba.org
Subject: [Samba] smbpasswd for user does not work


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



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list