1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

testparm: list registry shares with testparm.

I.e., use lp_load_with_registry_shares() instead of lp_load().

Michael
(This used to be commit 95339c0c1e)
This commit is contained in:
Michael Adam 2008-05-15 02:41:05 +02:00
parent 42beddc991
commit 44733dcf1a

View 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);
}