Re: [Samba] SAMBA: Share specific log files

2007-05-18 Thread Cleber P. de Souza
Maybe the file descriptors wasn't properly closed yet. I think that a stop and start will force the process to immediately obeys you. On 5/18/07, Srini [EMAIL PROTECTED] wrote: Hi all, We find that the log messages gets correctly redirected after a certain period of time from a samba service

Re: [Samba] SAMBA: Share specific log files

2007-05-17 Thread Srini
Hi all, We find that the log messages gets correctly redirected after a certain period of time from a samba service restart (3 or 4 minutes). Till this initial period of time, it looks like the log messages are getting redirected to the default log file but after this time and with the below

Re: [Samba] SAMBA: Share specific log files

2007-05-16 Thread Cleber P. de Souza
The share variables %P and %S don't help you? Like this: log file = /var/log/samba/%S.log On 5/16/07, Srini [EMAIL PROTECTED] wrote: Hi all, We are trying to print the log messages pertaining to each share in a different log file for auditing purposes. We are using Samba v3.0.20b. We are

Re: [Samba] SAMBA: Share specific log files

2007-05-16 Thread Srini
No. They dont seem to work for being used in log file. Apparently these can not be used for log file names in the configuration file but for other execution scripts (preexec and postexec). Srini On 5/16/07, Cleber P. de Souza [EMAIL PROTECTED] wrote: The share variables %P and %S don't help

[Samba] SAMBA: Share specific log files

2007-05-15 Thread Srini
Hi all, We are trying to print the log messages pertaining to each share in a different log file for auditing purposes. We are using Samba v3.0.20b. We are trying to modify the file smbd/service.c::make_connection_snum() function by changing the log file full path. The code changes that is