[Samba] users can't set smbpasswd, root can
M. D. Chappell
samba at nslm.fsnet.co.uk
Mon Jan 6 16:59:02 GMT 2003
On Mon, 2003-01-06 at 16:47, Dan Kirkpatrick wrote:
> I just created a new smbpasswd file, all users with unset passwords.
> Problem is, users can't set their passwords, only I can as root.
> Password is not set / blank, but they still get:
> >test> smbpasswd
> >Old SMB password: <enter>
> >New SMB password: Samba
> >Retype new SMB password: Samba
> >machine 127.0.0.1 rejected the password change: Error was : RAP86: The
> >specified password is invalid.
> >Failed to change password for cas
> Works fine when changed as root, so everything else seems to be set ok....
Do you mean that once you've changed it, they can?
> PS... any way to make the smbpasswd file using everyones unix password
> that's already set?
AFAIK this is not possible, the unix password is encrypted using a
trapdoor function, so you can't get back to the plain-text password and
thus re-encode it.
Sorry, that's not what you'd want to hear.
More information about the samba