mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Use rpccli_samr_DeleteDomainGroup() in net and rpcclient.
Guenther
(This used to be commit 8cc094ddb5
)
This commit is contained in:
parent
1921a6d67e
commit
8303e8cf80
@ -1829,9 +1829,10 @@ static NTSTATUS cmd_samr_delete_dom_group(struct rpc_pipe_client *cli,
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* Delete user */
|
||||
/* Delete group */
|
||||
|
||||
result = rpccli_samr_delete_dom_group(cli, mem_ctx, &group_pol);
|
||||
result = rpccli_samr_DeleteDomainGroup(cli, mem_ctx,
|
||||
&group_pol);
|
||||
|
||||
if (!NT_STATUS_IS_OK(result))
|
||||
goto done;
|
||||
|
@ -1851,7 +1851,8 @@ static NTSTATUS rpc_group_delete_internals(const DOM_SID *domain_sid,
|
||||
}
|
||||
}
|
||||
|
||||
result = rpccli_samr_delete_dom_group(pipe_hnd, mem_ctx, &group_pol);
|
||||
result = rpccli_samr_DeleteDomainGroup(pipe_hnd, mem_ctx,
|
||||
&group_pol);
|
||||
|
||||
break;
|
||||
/* removing a local group is easier... */
|
||||
|
Loading…
Reference in New Issue
Block a user