diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 18:45:07 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-04 18:45:25 +0100 |
commit | babf5d5f5c313ba14f2d25917bb9f4a3feb44e95 (patch) | |
tree | 5dbb68427177ed24c7fad45cba79b285d02a0593 | |
parent | 062820eaee624ac1c02e695d26b5ad4a0b0f66d9 (diff) | |
download | samba-babf5d5f5c313ba14f2d25917bb9f4a3feb44e95.tar.gz samba-babf5d5f5c313ba14f2d25917bb9f4a3feb44e95.tar.bz2 samba-babf5d5f5c313ba14f2d25917bb9f4a3feb44e95.zip |
Use rpccli_samr_AddGroupMember() in net.
Guenther
(This used to be commit e2635fa1e4785104174825c7ff063bd216060cb8)
-rw-r--r-- | source3/utils/net_rpc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index dd3562d80b..9d8824c980 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -2208,7 +2208,10 @@ static NTSTATUS rpc_add_groupmem(struct rpc_pipe_client *pipe_hnd, goto done; } - result = rpccli_samr_add_groupmem(pipe_hnd, mem_ctx, &group_pol, rids[0]); + result = rpccli_samr_AddGroupMember(pipe_hnd, mem_ctx, + &group_pol, + rids[0], + 0x0005); /* unknown flags */ done: rpccli_samr_Close(pipe_hnd, mem_ctx, &connect_pol); |