[Samba] change machine password

Tilo Lutz TiloLutz at gmx.de
Sun Jul 3 12:32:59 GMT 2005


Hi

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.

I use Suse Linux 9.3 as samba pdc. samba version is 3.0.13.
How can I set the password for a workstation?
> Notebook:/etc/samba # smbpasswd -m test
> Failed to set password for user test$.
> Failed to modify password entry for user test$
I tried smbpasswd to change the password but this doesn't
seem to work.
Is there any other way to change the password?

I know I can modify the file smbpasswd directly or change
the password in ldap. But I want a clean solution working with
every password backend.

Best regards,

Tilo Lutz



More information about the samba mailing list