git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e43ea6
)
s3 net: Remove uid==0 check from net groupmap
author
Kai Blin
<kai@samba.org>
Thu, 30 Jul 2009 09:25:37 +0000
(11:25 +0200)
committer
Kai Blin
<kai@samba.org>
Thu, 30 Jul 2009 09:25:37 +0000
(11:25 +0200)
source3/utils/net_groupmap.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_groupmap.c
b/source3/utils/net_groupmap.c
index 74175fef51315d79d747817591dd0758f6dc3348..7180a953bbba15834d3db848cc052a4539ef2b00 100644
(file)
--- 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);
}