[Samba] "%S" doesn't parse to share name.

Gerald (Jerry) Carter jerry at samba.org
Thu Jan 5 17:03:43 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Francis Strickland wrote:
> 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.

The %S is only valid within a given service (share definition).
Log files are reopened at various times but mostly outside the
context of a specific share so the %S variable does not make sense
in this context.





cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"There's an anonymous coward in all of us."               --anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDvVFvIR7qMdg1EfYRAvhXAJ9zHaDjmaaPGMgJ2/J5gkj3M0Ya4ACdGV4U
iK9t9dHpwzlXhX3IZk2OWzE=
=IDMg
-----END PGP SIGNATURE-----


More information about the samba mailing list