deleting a machine account from a domain.

Andrew Bartlett abartlet at
Fri Aug 12 09:02:59 GMT 2005

On Fri, 2005-08-12 at 09:22 +0100, vira gc wrote:
>  There exist "net_ads_join" and "net_ads_leave" ADS
> calls to add a machine to the domain and leave. But, I
> do not find the same calls for RPC protocol, I can
> only find "net_rpc_join".
>  Is there an RPC API which I can use within a program
> for deleting/leaving a computer from a domain?

Try 'net rpc delete machine$'.

Andrew Bartlett

Andrew Bartlett                      
Samba Developer, SuSE Labs, Novell Inc.
Authentication Developer, Samba Team 
Student Network Administrator, Hawker College
-------------- 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 :

More information about the samba-technical mailing list