[Samba] change machine password

Tilo Lutz TiloLutz at gmx.de
Sun Jul 3 13:18:26 GMT 2005


Am Sonntag, 3. Juli 2005 15:07 schrieb Tilo Lutz:
> > 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 #

I forgot: Of course I've called smbpasswd -x test first
before smbpasswd -a -m test,

smbpasswd -a -s -m test doesn't work too.

Cheers, Tilo


More information about the samba mailing list