[Samba] net offline domain join

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



Am 04.01.25 um 18:59 schrieb Stefan Kania via samba:
> 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
> 
When doing the same on a Windows client:
H:\>djoin /provision /domain example.net /machine win11a /savefile win1a.txt

it works


-------------- 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/82d6039a/OpenPGP_signature.sig>


More information about the samba mailing list