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
Howdy,>From: Jacek Stolarczyk <jacek@mer.chemia.polsl.gliwice.pl> >To: <samba@lists.samba.org> >Subject: [Samba] smbpasswd for user does not work >Date: Fri, 15 Mar 2002 11:15:34 +0100 (CET) > >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: > >(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).This means (specifically) that the password was _not_ correct (the _old_ password). You need to check that your 'smbpasswd' file is where you expect it to be and has the right password for the user you're testing with. Splat it by running smbpasswd as root to be sure. I don't believe that the PAM stuff makes a difference to this bit. Mac Assistant Systems Adminstrator @nibsc.ac.uk dmccann@nibsc.ac.uk Work: +44 1707 654753 x285 Everything else: +44 7956 237670 (anytime)
On Fri, 15 Mar 2002, Kristyan Osborne wrote:> 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 > ---------Yes of course. I should have written 127.0.0.1. Thanks for pointing that. Jacek Stolarczyk
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@mer.chemia.polsl.gliwice.pl] Sent: 15 March 2002 10:16 To: samba@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