From 0f966cfd8a123dcc6fcbd95c209b004b2b260ba6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 18 Jul 2008 01:11:08 +0200 Subject: [PATCH] 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(-) diff --git a/source3/lib/netapi/group.c b/source3/lib/netapi/group.c index d28e7578bec..6d9ed18b689 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); -- 2.11.4.GIT