From: Cyber Core on
Hi,

I wonder if anybody made patches for samba to do custom logging. I
want to do auditing in this format

|DATE TIME| |Client IP address| |Username| |Share|

and divide the logins to two parts eg.:

/var/log/samba/logins-success.log
/var/log/samba/logins-failed.log

I don't care about the file transfers. If anyone could give me a patch
for samba-3.4.5 or for samba-3.2.5 that would be greatly appreciated.
I was reading this article
http://www.linuxjournal.com/article/7251?page=0,1 but the source code
completely changed since then and I have no
idea why do they use overcomplicated macros instead of a debug( int
level, char *msg, char *logfile) function.


Thanks,

Jax
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba