[Samba] Change administrator password remotely with Samba?

Tim Potter tpot at samba.org
Mon Nov 25 05:57:00 GMT 2002


On Sun, Nov 24, 2002 at 07:16:57PM +0100, Sven Hazejager wrote:

> I need to change the local administrator password on a number of Windows 
> 2000 machines in our network. I would like to do this automatically from 
> our FreeBSD server. Is it possible to use Samba for this? Of course, the 
>  passwords are known.

Use smbpasswd:

smbpasswd -r SERVER -U Administrator

If SERVER is a domain controller this will change the domain
administrator password.  If SERVER is a domain member then the local
administrator password will be changed.


Tim.



More information about the samba mailing list