testparm looks for smb.conf at default $samba_dir

Joel Hammer Joel at HammersHome.com
Tue Oct 30 19:13:02 GMT 2001


If you carefully read the documentation, (man testparm), you will see
how to use that command properly.
Joel
On Tue, Oct 30, 2001 at 05:03:49PM -0800, Quang Nguyen wrote:
> 
> Hello,
> 
> This is the first time I've ever dealt with Samba.  I recently downloaded 
> samba-2.2.2 and read the README and installation files very carefully.  I did 
> configure --prefix=/qnn/usr/local/samba --exec-prefix=/qnn/usr/local/samba and 
> make and make install without any errors.  However, when I execute command 
> testparm to test my smb.conf, I get the following error message:
> 
> "Load smb config files from /usr/local/samba/lib/smb.conf
> params.c:OpenConfFile() - Unable to open configuration file 




More information about the samba mailing list