[Samba] samba49 offline join

Oliver Rath rath at mglug.de
Fri Aug 24 15:52:20 UTC 2018

Hi list,

Ive generated a samba 4.9 AD, which is running properly. Now I want to
understand how to use the "samba-tool computer" command for offline
joining windows clients.

First I created a machine name (this is identical to <ComputerName> in

root at ad49:~# samba-tool computer create cnpc11
Computer 'cnpc11' created successfully
root at ad49:~# samba-tool computer list

Now I started creating a BLOB in Win10 for offline join with a
windows-10-client connected to this ad with:

djoin /provision /domain dmiserver.lan /machine cnpc11 /savefile cnpc11.txt

didnt work, but

/djoin /provision /domain dmiserver.lan /machine cnpc11 /reuse /savefile

/did. Also it worked with a never used machine name (i.e.cnpc31) without
/reuse, which simply was generated in the samba ad./

/In the other direction, the offline join to the domain with the created
blob worked well also with/

/djoin /requestODJ /loadfile cnpc13.txt /windowspath %SystemRoot% /localos

/So far so good. So pre-creating the machine name with samba-tools
results in the need of /reuse, not more.

/So my question: What is the benefit of this command? What can I do else
depending to offline join? If I see right, the offline join works also
well with earlier versions of samba? Am I able to create the blob in
samba directly?/

/A bit more examples would be really helpful!/




More information about the samba mailing list