samba4 net join with pre-existing account

Andrew Bartlett abartlet at
Mon Jul 12 05:52:56 MDT 2010

On Fri, 2010-07-09 at 17:56 +0100, Sam Liddicott wrote:
> Is it possible to have samba4 join a domain without providing the 
> administrator password (as can be done on windows) by pre-creating the 
> computer account before provisioning?
> Normally I have my samba4 server join a domain with:
> $ net join $WORKGROUP member --realm=$REALM -U Administrator
> and provide a domain Administrator password
> I read here:
> that it should be possible to pre-create the computer account on the 
> domain controller with something like:
> c:\> netdom add $SAMBAHOST
> (which works)
> and then on the client:
> The samba4 equivalent "net join" doesn't seem to have an option that 
> doesn't require an administrator password.

This could be added (we just need to change the password from the
account's name - or some other supplied value), but we don't do it right

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the samba-technical mailing list