I have started some tests of samba 3. the first think I realized is that testparm and smbstatus do not honour the --sysconfigdir or --confdir (i could have mispelled in the mail, but not in the tests) as they search for the configuration file in /usr/lib, the default path. smbd anf nmbd work correctly Bye Davide Parise E-Mail: d.parise@mhz.it
I dont know if I understand u right, but smb.conf reside in /usr/local/samba/lib while only typing testparm search for the smb.conf file in /etc/samba U must type testparm /usr/local/samba/lib/smb.conf Davide Parise <d.parise@agora.it> wrote:I have started some tests of samba 3. the first think I realized is that testparm and smbstatus do not honour the --sysconfigdir or --confdir (i could have mispelled in the mail, but not in the tests) as they search for the configuration file in /usr/lib, the default path. smbd anf nmbd work correctly Bye Davide Parise E-Mail: d.parise@mhz.it -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba http://home.no.net/~knutove/knut_ove_hauge_kuren.htm Ny versjon av Yahoo! Messenger Nye ikoner og bakgrunner, webkamera med superkvalitet og dobbelt s? morsom -------------- next part -------------- HTML attachment scrubbed and removed
On Sun, Nov 24, 2002 at 08:03:41PM +0100, Davide Parise wrote:> I have started some tests of samba 3. the first think I realized is that > testparm and smbstatus do not honour the --sysconfigdir or --confdir (i > could have mispelled in the mail, but not in the tests) as they search for > the configuration file in /usr/lib, the default path. > > smbd anf nmbd work correctlyDo you use another samba suite with other pathes? What i think is, are you sure to call the right binary? Think about the path of you shell. On my shell /usr/local/bin is in front of /usr/bin. If the new one ist in /usr/bin and the old one /usr/local/bin, you got with "smbstatus" the old one. Fullyqulaified /usr/bin/smbstatus calls the news one. smbstatus gives you the sambaversion in the first line. "strings $(which smbstatus)|grep "^/"|less -S" in a bash shell on linux will show you all compiled-in pathes -- Frank Matthie? fm+samba@Microdata-pos.de