The Samba-Bugzilla – Bug 6309
net dom unjoin fails when interfacing with a Server 2003 machine
Last modified: 2009-05-08 08:23:07 UTC
net -Swinsrv2k3 -Uwinsrv2k3\\administrator%password dom unjoin account=SAMBATEST\\root password=password reboot
Gives me :Failed to unjoin domain: WERR_INVALID_FLAGS
Fix pushed for master and 3.4.
Fix has been tested to successfully remote-unjoin Windows XP, 2000 and 2003. Thanks David!
Created attachment 4123 [details]
Patch for 3.3
This is the proposed patch for 3.3.
As this is uncritical and does not touch any core subsystems, I'd like to propose it for the next release.
Can someone please review ?
David, would you mind quickly checking if the new "net dom" documentation (bug #6331) matches what you had to do to make this work ?
Because I did not have any >=w2k3 non-dc server around, I tested with w2k server. Still worked fine. And if it fixes something for >=w2k3, I'd say it should go into 3.3.
Karolin, we are ready for this one.
Pushed. Will be included in 3.3.5.