1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Remove a silly check

This does not increase security, and if later error messages suck, we have to
fix those.
This commit is contained in:
Volker Lendecke 2009-04-05 17:01:57 +02:00
parent ba408a2c82
commit e5c7df34f2

View File

@ -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();