]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netapi: fix NetGroupDel() against NT4.
authorGünther Deschner <gd@samba.org>
Thu, 17 Jul 2008 23:11:08 +0000 (01:11 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 18 Jul 2008 14:46:58 +0000 (16:46 +0200)
Guenther

source/lib/netapi/group.c

index d28e7578becef134f4ed3ba54b37a500125a20e8..6d9ed18b6891acad14521c510b96c99327635072 100644 (file)
@@ -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);