Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: Daniel B. on July 20, 2006, 12:59:10 PM
-
I ask it there first 'cause I don't know if it's a bug but I saw on many SME server (7.0) that there are two smb.conf files: one in /etc/smb.conf and another in /etc/samba/smb.conf
Only /etc/smb.conf is in the template directory so I try to remove the /etc/samba/smb.conf (I haven't deleted it, I just rename it as /etc/samba/smb.conf.old). Then I restarted the services smbd and nmbd. They started corectly and seems to work. But I realized the day after that the CPU were busy and I saw that a "config getprop smb" were running very often. Then I rename the /etc/samba/smb.conf.old as /etc/samba/smb.conf and after restarting the two services, all were ok.
My question is does anyone knows wich smb.conf is used?
-
/etc/samba/smb.conf is the configuration file which is used!
/etc/smb.conf is a link to /etc/samba/smb.conf
All templates for Samba are under ....../etc/smb.conf but they still have to be expanded to /etc/samba/smb.conf.
With other words: If you want to do things manually you have to do 'expand-template /etc/samba/smb.conf' and then to restart the Samba services via '/etc/rc7.d/S91smb restart'
Michael
-
ok, thanks a lot for the information.