A non-text attachment was scrubbed... Name: not available Type: text Size: 1126 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20011030/24eaabee/attachment.bat
--On 10/30/2001 5:03 PM -0800 Quang Nguyen wrote: } Apparently, testparm is looking for smb.conf at the default directory, not at } neither $PREFIX nor $EXEC-PREFIX. I am wondering if this is a bug or there } is something else I need to modify. The configure option that controls where smb.conf is expected to be is "--with-configdir". I have mine set up as "--with-configdir=/etc/samba". That results in "CONFIGDIR = /etc/samba" in source/Makefile. } P.S. are you going to reply to this address or I have to go somewhere else } to look for the response? Please advise People usually reply to the list. I've added you to the recipient list for this message. Jim -- Jim Watt wattjg@appliedbiosystems.com Applied Biosystems Voice (desk): +1 408 577 2228 3833 North First Street Fax: +1 408 894 9307 San Jose CA 95134-1701 Voice (main): +1 408 577 2200
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