summaryrefslogtreecommitdiff
path: root/source3/utils/pdbedit.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-05 17:01:57 +0200
committerVolker Lendecke <vl@samba.org>2009-04-05 17:04:28 +0200
commite5c7df34f2d461b0f348fc1b40275a97d918ed9e (patch)
tree001d8775026512266b52b4f652a1c69ae572b700 /source3/utils/pdbedit.c
parentba408a2c826c3200bc7d26f9b6faae0444aea11d (diff)
downloadsamba-e5c7df34f2d461b0f348fc1b40275a97d918ed9e.tar.gz
samba-e5c7df34f2d461b0f348fc1b40275a97d918ed9e.tar.bz2
samba-e5c7df34f2d461b0f348fc1b40275a97d918ed9e.zip
Remove a silly check
This does not increase security, and if later error messages suck, we have to fix those.
Diffstat (limited to 'source3/utils/pdbedit.c')
-rw-r--r--source3/utils/pdbedit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index a5bc0c9bd4..328b2cb1f4 100644
--- 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();