[PATCH] Samba 4 - Leaving a domain

Andrew Bartlett abartlet at samba.org
Thu Dec 1 22:49:57 GMT 2005


On Mon, 2005-10-31 at 08:13 -0600, Brad Henry wrote:
> Hello,
> 
> The following patch adds the code to provide a 'net leave' command to 
> Samba 4 for removing a machine account from a domain, as well as 
> libnet_leave.c to provide the necessary library code to perform the 
> operations. The attached code was modelled after libnet/libnet_join.c 
> and utils/net/net_join.c. This code does not yet delete the CN=NTDS 
> Settings,... container for an AD DC (libnet_join currently does not 
> create this entry either).
> 
> I've tested the code against Win2k3 and Win2k3 SP1 successfully. Please 
> let me know what you think.

Sorry for not looking at this before.  I have some problems with the
patch, mostly in the degree to which it is 'modelled after' the existing
code.  It seems to me that we already do a lot of the things this patch
does, and that we should factor that out, rather than duplicate it.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20051202/6699eb01/attachment.bin


More information about the samba-technical mailing list