Hi,
Our smb.conf specifies share level logging with:
log file = /var/log/samba/%S.log
This results in a log file named "%S.log". I would expect something
like
sharename.log. Can anyone explain this? I have not been able to Google any
answers.
Samba 3.0.10-1.4e.2 as PDC on RedHat ELS4 with Windows XP2 clients
%m.log gives "machinename.log" as expected.
%m.%S.log gives "machinename.%S.log".
%s.log gives "%s.log"
Output from testparm is:
[global]
workgroup = ...
netbios aliases = ...
server string = ...
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log level = 2
log file = /var/log/samba/%S.log
max log size = 50
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add machine script = /usr/sbin/luseradd -c Samba_Trust_Account -d
/dev/null -g machines -M -n -s /bin/false %u
logon script = login.cmd
logon drive = X:
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
hosts allow = ...
cups options = raw
include = /etc/samba/smb-local.conf
[printers]
comment = All Printers
path = /var/spool/samba
...
...
Thanks,
Ashley Strickland
IT Services, Mercy Ships UK