Red Hat Bugzilla – Bug 199206
smb.conf has incorrect log file path
Last modified: 2007-11-30 17:11:38 EST
Description of problem:
The smb.conf included with samba-common-3.0.23-1.fc4 configures the
logfile directory as /usr/local/samba/var/%m.log. There are also
other suspicious or wrong references to /usr/local/samba in the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum update to install the latest samba-common update
2. look at the installed smb.conf (most likely installed as smb.conf.rpmnew)
The included smb.conf has these wrong or suspicious looking references
log file = /usr/local/samba/var/%m.log
; include = /usr/local/samba/lib/smb.conf.%m
; path = /usr/local/samba/lib/netlogon
; path = /usr/local/samba/profiles
The first is wrong and should be:
log file = /var/log/samba/%m.log
The second is also wrong but as it's commented out doesn't
cause any problems (but is misleading). It should be:
; include = /etc/samba/smb.conf.%m
The other two probably should be:
path = /home/netlogon
path = /home/profiles
The updated smb.conf gets installed as smb.conf.rpmnew so it shouldn't
cause any problems by default but will cause problems for anybody who
tries to use it.
samba-3.0.23a-1.fc5.1 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
This report targets the FC3 or FC4 products, which have now been EOL'd.
Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?
The only serious problem (with 'log file =') is fixed in FC5 and FC6. The other
3 references to /usr/local are still present in FC5 and FC6 (but commmented out):
You could close this. References to /usr/local are wrong for Fedora/RedHat but
since they're commented out aren't causing any problems.
*** This bug has been marked as a duplicate of 199035 ***