diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 18:13:07 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-04 18:32:34 +0100 |
commit | db5054fd99f5a09ca99a5d567e2a8394de9c273e (patch) | |
tree | c35c2c1f037bb380f0a3c0a205369212e97a77f0 /source3/utils | |
parent | 4906b5037d09beceee67a455177269215c140206 (diff) | |
download | samba-db5054fd99f5a09ca99a5d567e2a8394de9c273e.tar.gz samba-db5054fd99f5a09ca99a5d567e2a8394de9c273e.tar.bz2 samba-db5054fd99f5a09ca99a5d567e2a8394de9c273e.zip |
Use rpccli_samr_DeleteGroupMember() in net.
Guenther
(This used to be commit 4e1496894ba286aa42ff0a49d975d54c5ee04b2d)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 7091063817..dd3562d80b 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -1890,7 +1890,9 @@ static NTSTATUS rpc_group_delete_internals(const DOM_SID *domain_sid, { if (opt_verbose) d_printf("Remove group member %d...",group_rids[i]); - result = rpccli_samr_del_groupmem(pipe_hnd, mem_ctx, &group_pol, group_rids[i]); + result = rpccli_samr_DeleteGroupMember(pipe_hnd, mem_ctx, + &group_pol, + group_rids[i]); if (NT_STATUS_IS_OK(result)) { if (opt_verbose) @@ -2391,7 +2393,9 @@ static NTSTATUS rpc_del_groupmem(struct rpc_pipe_client *pipe_hnd, if (!NT_STATUS_IS_OK(result)) goto done; - result = rpccli_samr_del_groupmem(pipe_hnd, mem_ctx, &group_pol, rids[0]); + result = rpccli_samr_DeleteGroupMember(pipe_hnd, mem_ctx, + &group_pol, + rids[0]); done: rpccli_samr_Close(pipe_hnd, mem_ctx, &connect_pol); |