mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
parent
43141d64ca
commit
2941d46b82
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user