[Samba] change machine password

Martin Petersen martin.petersen at picturepuzzlemedien.de
Sun Jul 3 13:15:27 GMT 2005


Tilo Lutz schrieb:
>>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

So the system machine account exits but smbpasswd will not allow to 
create the samba user account for this machine?

After I've read Your first post again: Maybe the machine account doesn't 
even need a password but You only need to to add the account with 
smbpasswd -a -m test$?

I've set up a couple of Win32 domain members with cloning and my 
problems only occured with the clients and not the backend (e.g. get 
machine out of domain and bring in again).


Martin



More information about the samba mailing list