[Samba] change machine password

Tilo Lutz TiloLutz at gmx.de
Sun Jul 3 13:07:03 GMT 2005


> Tilo Lutz schrieb:
> > I use some programs to clone a windows workstation and
> > duplicate it's image on other workstations.
> > After cloning I change the workstation name and add a
> > machine account on the samba pdc.
> > Now I want to create a new password for the workstation
> > account and store it.
> >
> >>Notebook:/etc/samba # smbpasswd -m test
> >>Failed to set password for user test$.
> >>Failed to modify password entry for user test$

Am Sonntag, 3. Juli 2005 14:55 schrieb Martin Petersen:
> As far as I know You need to set a system account. smbpasswd gives this
> error because of the missing user entry for test$ in /etc/passwd.

No. The account exists:
> Notebook:/home/tilo # smbpasswd -a -m test
> Added user test$.
> Notebook:/home/tilo #

Cheers, Tilo


More information about the samba mailing list