diff options
author | Günther Deschner <gd@samba.org> | 2008-02-01 01:17:22 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-01 10:14:10 +0100 |
commit | 8303e8cf805fe12db19670ef58297d826a5d2688 (patch) | |
tree | 94fbed166017298276a56d3097049c57f98bf3af | |
parent | 1921a6d67e704ac009695885e6954596e278a681 (diff) | |
download | samba-8303e8cf805fe12db19670ef58297d826a5d2688.tar.gz samba-8303e8cf805fe12db19670ef58297d826a5d2688.tar.bz2 samba-8303e8cf805fe12db19670ef58297d826a5d2688.zip |
Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.
Guenther
(This used to be commit 8cc094ddb5c28c7378be6c655f3311ea6abb4f64)
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 5 | ||||
-rw-r--r-- | source3/utils/net_rpc.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index 11d9c983df..b6d2bb47b7 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -1829,9 +1829,10 @@ static NTSTATUS cmd_samr_delete_dom_group(struct rpc_pipe_client *cli, goto done; } - /* Delete user */ + /* Delete group */ - result = rpccli_samr_delete_dom_group(cli, mem_ctx, &group_pol); + result = rpccli_samr_DeleteDomainGroup(cli, mem_ctx, + &group_pol); if (!NT_STATUS_IS_OK(result)) goto done; diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 2140829649..78124c8b3c 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1851,7 +1851,8 @@ static NTSTATUS rpc_group_delete_internals(const DOM_SID *domain_sid, } } - result = rpccli_samr_delete_dom_group(pipe_hnd, mem_ctx, &group_pol); + result = rpccli_samr_DeleteDomainGroup(pipe_hnd, mem_ctx, + &group_pol); break; /* removing a local group is easier... */ |