If you use 'net ads leave -S mydomaincontrollernumberone to leave your domain on DC 'mydomaincontrollernumberone.example.com' doesn't work cause it is two long for a NetBIOS name an so there is no alias in the KDC for it. So we need to create a FQDN if a hostname is given.
Created attachment 10309 [details]
Created attachment 10310 [details]
Comment on attachment 10309 [details]
Comment on attachment 10310 [details]
Re-assigning to Karolin for inclusion in 4.1.next, 4.0.next.
Pushed to autobuild-v4-[0|1]-test.
Pushed to both branches.
Closing out bug report.