From cb55ec6dcbc09d6f1850846a3cf6f2f4190a0b9b Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Thu, 30 Jul 2009 11:25:37 +0200 Subject: s3 net: Remove uid==0 check from net groupmap --- source3/utils/net_groupmap.c | 7 ------- 1 file changed, 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); } -- cgit