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 | |
parent | bd9d6a885a9f3eaff50fc127788934f6e798935d (diff) | |
download | samba-e33db782d2ce9f8676d3e97f38f655274a42da3c.tar.gz samba-e33db782d2ce9f8676d3e97f38f655274a42da3c.tar.xz samba-e33db782d2ce9f8676d3e97f38f655274a42da3c.zip |
Use rpccli_samr_DeleteDomAlias() in net and rpcclient.
Guenther
(This used to be commit bbed3aed5175589787cb1b233ce4e81ecc0c81fe)
-rw-r--r-- | source3/rpcclient/cmd_samr.c | 3 | ||||
-rw-r--r-- | source3/utils/net_rpc.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c index b6d2bb47b7..e086e97aec 100644 --- a/source3/rpcclient/cmd_samr.c +++ b/source3/rpcclient/cmd_samr.c @@ -1195,7 +1195,8 @@ static NTSTATUS cmd_samr_delete_alias(struct rpc_pipe_client *cli, } } - result = rpccli_samr_delete_dom_alias(cli, mem_ctx, &alias_pol); + result = rpccli_samr_DeleteDomAlias(cli, mem_ctx, + &alias_pol); if (!NT_STATUS_IS_OK(result)) goto done; 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", |