Bug 6309 - net dom unjoin fails when interfacing with a Server 2003 machine
Summary: net dom unjoin fails when interfacing with a Server 2003 machine
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: Client tools (show other bugs)
Version: 3.3.4
Hardware: Other Linux
: P3 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-04-30 16:27 UTC by David Markey
Modified: 2009-05-08 08:23 UTC (History)
0 users

See Also:
vl: review+

Patch for 3.3 (1.68 KB, patch)
2009-05-05 16:27 UTC, Guenther Deschner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Markey 2009-04-30 16:27:35 UTC
net -Swinsrv2k3  -Uwinsrv2k3\\administrator%password dom unjoin account=SAMBATEST\\root password=password reboot 

Gives me :Failed to unjoin domain: WERR_INVALID_FLAGS
Comment 1 Guenther Deschner 2009-04-30 16:51:22 UTC
Fix pushed for master and 3.4.
Comment 2 Guenther Deschner 2009-05-05 15:15:34 UTC
Fix has been tested to successfully remote-unjoin Windows XP, 2000 and 2003. Thanks David!
Comment 3 Guenther Deschner 2009-05-05 16:27:28 UTC
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 ?
Comment 4 Guenther Deschner 2009-05-06 09:01:57 UTC
David, would you mind quickly checking if the new "net dom" documentation (bug #6331) matches what you had to do to make this work ?
Comment 5 Volker Lendecke 2009-05-07 10:57:37 UTC
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.

Comment 6 Guenther Deschner 2009-05-08 02:52:43 UTC
Karolin, we are ready for this one.
Comment 7 Karolin Seeger 2009-05-08 08:23:07 UTC
Pushed. Will be included in 3.3.5.