[Samba] Log File Format Changes
Jimmy Theis
jimmy at jetheis.com
Wed Jan 6 22:57:02 MST 2010
Hi all,
I'm considering writing a Python module for parsing file access entries
from Samba logs. I plan on using regular expressions to do most of this,
and I'm curious as to whether or not the log format is consistent across
all versions of Samba. If it isn't, can you please direct me to the
documentation on any older or alternative formats?
I'm currently using Samba 3.0.33 (RedHat), which outputs entries like this:
=====================================================================
[2010/01/05 17:38:52, 2] smbd/open.c:open_file(391)
admin opened file welcome.txt read=Yes write=No (numopen=4)
[2010/01/05 17:38:52, 2] smbd/close.c:close_normal_file(406)
admin closed file welcome.txt (numopen=3) NT_STATUS_OK
=====================================================================
Regards,
Jimmy Theis
More information about the samba
mailing list