summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_groupmap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index 74175fef51..7180a953bb 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -926,13 +926,6 @@ int net_groupmap(struct net_context *c, int argc, const char **argv)
{NULL, NULL, 0, NULL, NULL}
};
- /* we shouldn't have silly checks like this */
- if (getuid() != 0) {
- d_fprintf(stderr,
- _("You must be root to edit group mappings.\n"));
- return -1;
- }
-
return net_run_function(c,argc, argv, "net groupmap", func);
}