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

index dc126594dbc19bb041ff9fb9e5150d4e9a3689e7..123db0f87053f956ef9b29ab497d0ef17fea454c 100644 (file)
@@ -1077,7 +1077,7 @@ int main (int argc, char **argv)
        if (user_name == NULL)
                user_name = poptGetArg(pc);
 
-       if (!lp_load(get_dyn_CONFIGFILE(),True,False,False,True)) {
+       if (!lp_load_global(get_dyn_CONFIGFILE())) {
                fprintf(stderr, "Can't load %s - run testparm to debug it\n", get_dyn_CONFIGFILE());
                exit(1);
        }