SambaAudit is based on a Samb Audit project. See: http://sourceforge.net/projects/smbdaudit/
Current implementation uses standard full_audit vfs module instead of mysql_audit.
This software is freely distributable under the GNU public license, a copy of which you should have received with this software (in a file called COPYING).
Samba audit is a simple audit module for samba which uses vfs_full_audit module. All operations are logged in a file and a logrotate job parses all entries and store it into a MySQL db. Logs are browseable using web interface.
-
Samba - with VFS enabled(http://www.samba.org)
-
Database: MySQL(http://www.mysql.com)
-
Apache(http://httpd.apache.org/) or other PHP-capable browser
-
PHP(http://www.php.net)
-
Syslog or rsyslog
- Enable samba full_audit: example of configuration in smb.conf
- Configure rsyslog to store audit lines in a separate file: copy smbaudit-rsyslog.conf in /etc/rsyslog.d
- Create the db: from the sql dir, execute mysql < smbaudit.sql
- Enable the web interface: copy smbaudit.conf in /etc/httpd/conf.d
- Copy sudeors config into /etc/sudoers.d directory
- Create a cron or logrotate job to invoke the parser on files
Original author: Mail author Anatoliy Okhotnikov [email protected]
New implementation: Giacomo Sanchietti [email protected]
- PostgreSQL support and Portuguese translation by Jonis Maurin Ceara http://softwarelivre.mouralacerda.edu.br/conteudo.php?pid=13
- Polish translation by Marcin Sołoguba [email protected]
- Spanish translation by Fabio Bettiol [email protected]
- German translation by Axel Gembe aka xagox