deleting a machine account from a domain.

Andrew Bartlett abartlet at samba.org
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                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
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/20050812/a8d7e486/attachment.bin


More information about the samba-technical mailing list