diff options
author | Günther Deschner <gd@samba.org> | 2008-02-01 01:22:22 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-01 10:15:39 +0100 |
commit | e33db782d2ce9f8676d3e97f38f655274a42da3c (patch) | |
tree | c0a4b1ca82a64bf6a7bad21b7d5432f70e9a48e0 /source3/utils | |
parent | bd9d6a885a9f3eaff50fc127788934f6e798935d (diff) | |
download | samba-e33db782d2ce9f8676d3e97f38f655274a42da3c.tar.gz samba-e33db782d2ce9f8676d3e97f38f655274a42da3c.tar.bz2 samba-e33db782d2ce9f8676d3e97f38f655274a42da3c.zip |
Use rpccli_samr_DeleteDomAlias() in net and rpcclient.
Guenther
(This used to be commit bbed3aed5175589787cb1b233ce4e81ecc0c81fe)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 78124c8b3c..9119b6b574 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1865,8 +1865,9 @@ static NTSTATUS rpc_group_delete_internals(const DOM_SID *domain_sid, d_fprintf(stderr, "Request open_alias failed\n"); goto done; } - - result = rpccli_samr_delete_dom_alias(pipe_hnd, mem_ctx, &group_pol); + + result = rpccli_samr_DeleteDomAlias(pipe_hnd, mem_ctx, + &group_pol); break; default: d_fprintf(stderr, "%s is of type %s. This command is only for deleting local or global groups\n", |