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:
ba408a2
)
Remove a silly check
author
Volker Lendecke
<vl@samba.org>
Sun, 5 Apr 2009 15:01:57 +0000
(17:01 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 5 Apr 2009 15:04:28 +0000
(17:04 +0200)
This does not increase security, and if later error messages suck, we have to
fix those.
source3/utils/pdbedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/pdbedit.c
b/source3/utils/pdbedit.c
index a5bc0c9bd41a50fe3969fb348828146176857bff..328b2cb1f4a99ce06f1fb4a9781d59adf94b0356 100644
(file)
--- a/
source3/utils/pdbedit.c
+++ b/
source3/utils/pdbedit.c
@@
-847,13
+847,6
@@
int main (int argc, char **argv)
POPT_TABLEEND
};
- /* we shouldn't have silly checks like this */
- if (getuid() != 0) {
- d_fprintf(stderr, "You must be root to use pdbedit\n");
- TALLOC_FREE(frame);
- return -1;
- }
-
bin = bout = bdef = NULL;
load_case_tables();