1
0
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:
Günther Deschner 2008-02-01 01:17:22 +01:00
parent 1921a6d67e
commit 8303e8cf80
2 changed files with 5 additions and 3 deletions

View File

@ -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;

View File

@ -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... */