summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-05 17:01:57 +0200
committerKarolin Seeger <kseeger@samba.org>2009-06-11 09:33:41 +0200
commit5f90912c858d0b250e60bdb48288ac1635228eca (patch)
treedb362608dce93adabc946fbb50bb4c3289d634b3 /source3
parent491c57da747527dc3c5638a007689b0b04645fb9 (diff)
downloadsamba-5f90912c858d0b250e60bdb48288ac1635228eca.tar.gz
samba-5f90912c858d0b250e60bdb48288ac1635228eca.tar.xz
samba-5f90912c858d0b250e60bdb48288ac1635228eca.zip
Remove a silly check
This does not increase security, and if later error messages suck, we have to fix those. (cherry picked from commit e5c7df34f2d461b0f348fc1b40275a97d918ed9e) (cherry picked from commit 291a3e79ba26b1c0e00bf929337d6251c8929e05)
Diffstat (limited to 'source3')
-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 a5bc0c9bd41..328b2cb1f4a 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();