Mantis - samba_common
Viewing Issue Advanced Details
1868 regular use major always 2006-10-17 04:50 2012-02-23 15:24
laurent  
dam  
normal  
closed  
fixed  
none    
none  
0001868: Default location for log files is incorrect
It seems that by default, Blastwave\'s Samba put some of its logs in /opt/csw/var, which isn\'t very clean:
# ls -l /opt/csw/var/log.*
-rw-r--r-- 1 root other 22261 Oct 17 10:37 /opt/csw/var/log.nmbd
-rw-r--r-- 1 root root 4742 Oct 17 10:34 /opt/csw/var/log.smbd

I had to modify the cswsamba startup script add the -l option to both smbd and nmbd, and log in /var/log/samba.

IMHO, the default should be in /opt/csw/var/log/samba.
Issue History
2012-02-23 15:23 dam Status new => assigned
2012-02-23 15:23 dam Assigned To => dam
2012-02-23 15:24 dam Note Added: 0009646
2012-02-23 15:24 dam Status assigned => closed
2012-02-23 15:24 dam Resolution open => fixed

Notes
(0004691)
kenmays   
2007-07-29 10:00   
Samba 3.0.25b in /testing. Please review.
(0009646)
dam   
2012-02-23 15:24   
In 3.6.1,REV=2012.01.05 the new log location is /var/opt/csw/samba/log/