s3:split_tokens: use lp_load_global(), fixing the call to lp_load()
authorMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 08:34:09 +0000 (10:34 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:41 +0000 (11:17 +0200)
this does not need share and it dos not need to save defaults

source3/utils/split_tokens.c

index 3de5f393d9db11d117271ed0717b1ed3a455103f..483311cc0da4047fa5ed7ab46b9d2f3ad57ade42 100644 (file)
@@ -59,7 +59,7 @@ int main(int argc, const char *argv[])
 
        lp_set_cmdline("log level", "0");
 
-       if (!lp_load(config_file,false,true,false,true)) {
+       if (!lp_load_global(config_file)) {
                fprintf(stderr,"Error loading services.\n");
                return 1;
        }