smbpasswd (PR#8066)

Jeremy Allison jallison at
Tue Jun 30 17:50:56 GMT 1998

janet at wrote:
> Hi
>         When I use smbpasswd to change a password consisting of all X's, (ie
> pressing return when asked for Old smbpasswd) it gives me an error of :
> /usr/solaris/samba/source/smbpasswd: machine rejected the
> session setup. Error was : ERRSRV - ERRbadpw (Bad password -
> name/password pair in a Tree Connect or Session Setup are invalid.).
>         It works OK if used to change an existing password entry.


	A password consisting of all 'X's is equivalent
to a disabled account - no old password will match.

To allow smbpasswd to change it, the current password
must be either set locally via smbpasswd running as root,
or be set to "NO PASSWORDXXXXXX..." and then changed by
the user.

Maybe this should be clarified in the docs (followups
sent to the samba-ntdom list).


	Jeremy Allison.
	Samba Team.
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba mailing list