From 0f966cfd8a123dcc6fcbd95c209b004b2b260ba6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 18 Jul 2008 01:11:08 +0200 Subject: netapi: fix NetGroupDel() against NT4. Guenther (This used to be commit 55035d7240bd163abb155239029a03f399c8f41f) --- source3/lib/netapi/group.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/lib/netapi/group.c') diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c index d28e7578be..6d9ed18b68 100644 --- a/source3/lib/netapi/group.c +++ b/source3/lib/netapi/group.c @@ -313,11 +313,13 @@ WERROR NetGroupDel_r(struct libnetapi_ctx *ctx, goto done; } +#if 0 + /* breaks against NT4 */ if (!(info->attributes.attributes & SE_GROUP_ENABLED)) { werr = WERR_ACCESS_DENIED; goto done; } - +#endif status = rpccli_samr_QueryGroupMember(pipe_cli, ctx, &group_handle, &rid_array); -- cgit