smb.conf

Joel Hammer Joel at HammersHome.com
Fri Dec 21 06:54:09 GMT 2001


Most distros, to maintain consistency, put all their configuration files in
/etc, all their binaries in /usr/bin (or something similar), all their lock
files in /var/locks, and so on.
When you install samba from source (tar file), all of the samba files go
into:
/usr/local/samba
So, it sounds like someone installed samba from sources on a computer which
had a samba installation from the distro.
This is the usual situation, when you upgrade. If that is the case with you,
I would spend some time to remove all the old files.
Maybe rpm -e (package as returned by lsmod) might be helpful, but that will
likely not remove the old smb.conf file.  You could learn about rpm, and try
to get it to list all the files your previously installed package put on
your computer, make sure they are all removed.
Of course, you will have to redo the startup scripts, since the distro
scripts are likely starting the old version of samba,anyway, but they will
likely be removed with rpm.
This is an annoying feature of upgrading. However, this problem will not
recur if you keep upgrading from samba.org with tar files
Joel

On Fri, Dec 21, 2001 at 01:11:22PM +0800, Peter Lee wrote:
> Hi guys,
> 
> This is one of my first post here.
> New to Samba.
> 
> Anyway, I have one question.
> 
> Why is the Samba running on my machine using /usr/local/samba/lib/smb.conf
> instead of the one is /etc/samba/smb.conf ?
> 
> When I do a testparm, it is reading the one in /etc/samba/smb.conf
> But when it runs, it is actually using the one in
> /usr/local/samba/lib/smb.conf
> 
> Just want to know why.
> 
> Thanks guys.
> 
> 
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/2001
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list