1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s3 net: Remove uid==0 check from net groupmap

This commit is contained in:
Kai Blin
2009-07-30 11:25:37 +02:00
parent 8e43ea647b
commit cb55ec6dcb

View File

@ -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);
}