smbpasswd password changing

David Krovich dkrovich at wvu.edu
Thu Jun 17 06:59:12 GMT 1999


	The passwords I'm trying are shorter than 8 characters...

	I've pretty much hit a brick wall with this problem, I can't 
get smbpasswd to work at all with non-root users.  :(

-----------------------------------------
David Krovich
West Virginia University
Manager/Information Systems
Computer Science & Electrical Engineering
-----------------------------------------

On Thu, 10 Jun 1999 lists at ripper.informatik.uni-ulm.de wrote:

> > 	Running Samba 2.0.4b on Solaris 2.5.1
> >
> > 	I can't get smbpasswd to change a password as a normal user.
> > (I've allowed 127. in the hosts allow parameter in smb.conf)
> 
> On Solaris smbpasswd uses getpass(3C) to get the old/new passwords from the
> user. getpass is limited to return up to PASS_MAX (8) characters on Solaris.
> If your password is longer than 8 characters smbpasswd will fail. Try
> patching smbpasswd to use getpassphrase(3C) (which returns up to 255
> characters which might give a problem with too long passwords).
> 
> Rainer
> 




More information about the samba-ntdom mailing list