samba4 net join with pre-existing account

Andrew Bartlett abartlet at samba.org
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: http://support.microsoft.com/kb/150493
> 
> 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:
> c:\> NETDOM /Domain:MYDOMAIN MEMBER $SAMBAHOST /JOINDOMAIN
> 
> 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
now.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
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: <http://lists.samba.org/pipermail/samba-technical/attachments/20100712/aea11855/attachment.pgp>


More information about the samba-technical mailing list