1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s3:smbpasswd: use lp_load_global()

This commit is contained in:
Michael Adam
2011-07-28 10:27:43 +02:00
parent 039ae12dbb
commit 7e2deb94dc

View File

@ -196,7 +196,7 @@ static int process_options(int argc, char **argv, int local_flags)
usage();
}
if (!lp_load(configfile,True,False,False,True)) {
if (!lp_load_global(configfile)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
configfile);
exit(1);