From: Volker Lendecke Date: Sun, 5 Apr 2009 15:01:57 +0000 (+0200) Subject: Remove a silly check X-Git-Tag: tdb-1.1.5~1031^2~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5c7df34f2d461b0f348fc1b40275a97d918ed9e;p=thirdparty%2Fsamba.git Remove a silly check This does not increase security, and if later error messages suck, we have to fix those. --- 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();