In Samba 4.18 the provision command fails (if no args are given) with: # samba-tool domain provision ERROR: No domain set! Before 4.18 it automatically started the interactive mode and asked for realm, domain, dns, etc. Workaround: Use the --interactive parameter. # samba-tool domain provision --interactive Realm []: I didn't check this in detail, but I assume that this has been introduced somewhere around commit ed78786989779f31d97de2aa81b06ef0c0ad7f39 In python/samba/netcmd/domain.py cmd_domain_provision() the following is broken, since len(self.raw_argv) is now 0, not 1: if len(self.raw_argv) == 1: interactive = True
This bug was referenced in samba master: f1281b80c1ad68d380ce91c13076f6a60fbc627e
Created attachment 17887 [details] Patch backported to Samba 4.18
Assigning to Jule for 4.18.next
Pushed to autobuild-v4-18-test.
This bug was referenced in samba v4-18-test: 74449f2afcc4559aeee1888c048965866cb3a4c2
Closing out bug report. Thanks!
This bug was referenced in samba v4-18-stable (Release samba-4.18.3): 74449f2afcc4559aeee1888c048965866cb3a4c2