[Samba] smbpasswd for user does not work

Mac dmccann at nibsc.ac.uk
Fri Mar 15 05:39:02 GMT 2002


Howdy,

>From: Jacek Stolarczyk <jacek at mer.chemia.polsl.gliwice.pl>
>To: <samba at 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 at nibsc.ac.uk
   Work: +44 1707 654753 x285      Everything else: +44 7956 237670 (anytime)




More information about the samba mailing list