AW: [Samba] net rpc utility to add machine account ?

Holger Wöhle hwoehle at
Sun Nov 27 08:29:49 GMT 2005

thanks for your reply.
My problem is, how to join future clients.
Either the machine is not builded up, or the admin is not available to let
the machine join.
So i want to make a list of machine-names and add them to the domain.
But, if possible not with the two steps "useradd" and "smbpasswd". 
My first thought, was to use the net rcp utility, but if that doesn't work, 
if go and write a simple wrapper-script arround useradd and smbpasswd.
For some reasons we don't want to use the windows tools.


> -----Ursprüngliche Nachricht-----
> Von: Andrew Bartlett [mailto:abartlet at] 
> Gesendet: Samstag, 26. November 2005 09:43
> An: Holger Wöhle
> Cc: samba at
> Betreff: Re: [Samba] net rpc utility to add machine account ?
> On Mon, 2005-11-21 at 17:18 +0100, Holger Wöhle wrote:
> >  Hello,
> > can i use the samba "net" utility to add a machine account 
> to my samba
> > domain ?
> > I added "add user script" "ass machine script" a.s.o. 
> > The WinNT4.0 Tools "Domain Manager" and "User Manager" are 
> working fine, but
> > i want an easy
> > solution for the linux cmdline. 
> 'net rpc join' should do that.  Run this on your linux clients to join
> them to the domain.
> Andrew Bartlett
> -- 
> Andrew Bartlett                                
> Samba Developer, SuSE Labs, Novell Inc.
> Authentication Developer, Samba Team 
> Student Network Administrator, Hawker College

More information about the samba mailing list