summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-05 11:21:07 +0100
committerGünther Deschner <gd@samba.org>2008-02-05 13:19:47 +0100
commitfc681ec58151285ed02cbbeb4544e4f3d643b03d (patch)
tree4f4416b2fcd072a8dc95a9bbb085d47420502db0
parentca772c8b18db3bbe0ef6ff9be0c29d3ac732fbe7 (diff)
downloadsamba-fc681ec58151285ed02cbbeb4544e4f3d643b03d.tar.gz
samba-fc681ec58151285ed02cbbeb4544e4f3d643b03d.tar.bz2
samba-fc681ec58151285ed02cbbeb4544e4f3d643b03d.zip
Use rpccli_samr_RemoveMemberFromForeignDomain() in net.
Guenther (This used to be commit 91c48ae15bea2235f8170170c2964bb1bae016ac)
-rw-r--r--source3/utils/net_rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 3dac937f36..2d4302f970 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -5751,9 +5751,9 @@ static NTSTATUS rpc_trustdom_del_internals(const DOM_SID *domain_sid,
/* remove the sid */
- result = rpccli_samr_remove_sid_foreign_domain(pipe_hnd, mem_ctx, &user_pol,
- &trust_acct_sid);
-
+ result = rpccli_samr_RemoveMemberFromForeignDomain(pipe_hnd, mem_ctx,
+ &user_pol,
+ &trust_acct_sid);
if (!NT_STATUS_IS_OK(result)) {
goto done;
}