[Samba] net offline domain join

Stefan Kania stefan at kania-online.de
Sat Jan 4 17:59:12 UTC 2025


Hi

I try to user the offline domain join. As the manpage of net told me in 
an example I tried it with:

root at cluster01:~#  net offlinejoin provision -U administrator 
domain=example.net machine_name=WINCLIENT11a dcname=dc01 
savefile=winclient11a.txt

But all I got was:

ads_print_error: AD LDAP ERROR: 19 (Constraint violation): 0000202F: 
samldb: spn[HOST/cluster.example.net] would cause a conflict
Failed to provision computer account: Invalid configuration ("netbios 
name" set to 'CLUSTER', should be 'WINCLIENT11a') and configuration 
modification was not requested

can someone give me a tip how to use the offliendomain join

Domain= example
DNS-domain = example.net
Domaincontrolle = dc01
new-client-to-join= win11a
savefile = win11a.txt

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20250104/95d26fd5/OpenPGP_signature.sig>


More information about the samba mailing list