summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-18 01:11:08 +0200
committerGünther Deschner <gd@samba.org>2008-07-18 16:46:58 +0200
commit0f966cfd8a123dcc6fcbd95c209b004b2b260ba6 (patch)
treef22b0d5cd2264beb963f64ee7cef56514357dc3d /source3/lib/netapi
parentd711db5811ccd8a56df5600770689b3c8fbc00e1 (diff)
downloadsamba-0f966cfd8a123dcc6fcbd95c209b004b2b260ba6.tar.gz
samba-0f966cfd8a123dcc6fcbd95c209b004b2b260ba6.tar.bz2
samba-0f966cfd8a123dcc6fcbd95c209b004b2b260ba6.zip
netapi: fix NetGroupDel() against NT4.
Guenther (This used to be commit 55035d7240bd163abb155239029a03f399c8f41f)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/group.c4
1 files changed, 3 insertions, 1 deletions
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);