diff options
author | Kai Blin <kai@samba.org> | 2009-07-30 11:25:37 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2009-07-30 11:25:37 +0200 |
commit | cb55ec6dcbc09d6f1850846a3cf6f2f4190a0b9b (patch) | |
tree | efd4d9b98b53425d2b6d70f9f5494e0e061ab20c /source3 | |
parent | 8e43ea647bf2514baec9ab7f726a3201ac4226d3 (diff) | |
download | samba-cb55ec6dcbc09d6f1850846a3cf6f2f4190a0b9b.tar.gz samba-cb55ec6dcbc09d6f1850846a3cf6f2f4190a0b9b.tar.bz2 samba-cb55ec6dcbc09d6f1850846a3cf6f2f4190a0b9b.zip |
s3 net: Remove uid==0 check from net groupmap
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_groupmap.c | 7 |
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); } |