s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)
authorMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 08:30:20 +0000 (10:30 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:40 +0000 (11:17 +0200)
source3/utils/smbw_sample.c

index eface2fc46b54ad580fc5b036dbbadb19f72fec5..2c4a20fab7b3794e47e9e2917626318787fa6a97 100644 (file)
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
        char *path;
        TALLOC_CTX *frame = talloc_stackframe();
 
-       lp_load(get_dyn_CONFIGFILE(),1,0,0,1);
+       lp_load_global(get_dyn_CONFIGFILE());
        smbw_setup_shared();
 
        while ((opt = getopt(argc, argv, "W:U:R:d:P:l:hL:")) != EOF) {