testparm: list registry shares with testparm.
authorMichael Adam <obnox@samba.org>
Thu, 15 May 2008 00:41:05 +0000 (02:41 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 15 May 2008 00:42:41 +0000 (02:42 +0200)
I.e., use lp_load_with_registry_shares() instead of lp_load().

Michael

source/utils/testparm.c

index aded4a83c1820f19e89388b3c1146fc1d0aba4b2..03291fe35fa798a44d312f766828b86720c70823 100644 (file)
@@ -269,7 +269,7 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
 
        fprintf(stderr,"Load smb config files from %s\n",config_file);
 
-       if (!lp_load(config_file,False,True,False,True)) {
+       if (!lp_load_with_registry_shares(config_file,False,True,False,True)) {
                fprintf(stderr,"Error loading services.\n");
                return(1);
        }