1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r19127: Fix bug 4152

(This used to be commit 70038e8f7b)
This commit is contained in:
Volker Lendecke 2006-10-06 12:19:46 +00:00 committed by Gerald (Jerry) Carter
parent 43141d64ca
commit 2941d46b82

View File

@ -797,6 +797,12 @@ 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");
return -1;
}
bin = bout = bdef = NULL;
load_case_tables();