Config file & Log

Richard Sharpe sharpe at ns.aus.com
Fri Dec 8 13:04:47 GMT 2000


At 10:53 AM 12/8/00 +0000, Shaun Lipscombe wrote:
>
>How do I find out from nmbd which config file it defaults too?  The
>reason I ask is I seem to have one box that reads from
>/usr/local/samba/lib/smb.conf and another that reads from
>/etc/smb.conf and the only thing I can think of is that (both compiled

This sounds like you have installed RPMs on one machine and compiled from
source on the other.

Anyway, testparm should show you where Samba (smbd, nmbd, etc) are reading
from.

>from source) I modified the makefile on one of them.  Is there a way
>to get the built in config file location?  Also..... I have logs in
>/usr/local/samba/var/log.nmb *and* /var/log/samba/log.nmb (as well as

Yup, sounds like one came from RPMs and the other from compiling the source.

>individual machine logs).  Both logs seem to be in use although
>written to at different times.  This makes it hard for me to know
>which log to look in, to diagnose problems.  Have I messed up the
>logging?
>
>Regards,
>
>Shaun
>
>-- 
>          (o_
>(o_  (o_  //\
>(/)_ (/)_ V_/_   shaun.lipscombe at gasops.co.uk
>
>
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-ntdom mailing list