s3:smbpasswd: use lp_load_global()
authorMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 08:27:43 +0000 (10:27 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:40 +0000 (11:17 +0200)
source3/utils/smbpasswd.c

index eeab4ef7de098a651cade43b9163194e141cdb4f..bc3aaff54ec94be41dd4a4d980aae0c6ce5ba826 100644 (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);