Parse::Log::Smbd - parse log.smbd files to fetch usernames and connections to network shares
This module retrieves users successfully authenticated and connections to SMB/CIFS network shares from Samba
use Parse::Log::Smbd; my $log = Parse::Log::Smbd->new( '/var/log/log.smbd' ); my @users = $log->users; my @shares = $log->shares;
Creates a new
Parse::Log::Smbd object, with the intended log filename as argument.
Lists users that authenticated successfully to the smbd server. Returns a sorted list of unique usernames.
Lists successful connections to network shares. Returns a sorted list of unique shares.
<affc at cpan.org>
Please report any bugs or feature requests to
bug-parse-log-smbd at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Parse-Log-Smbd. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Thanks to the Samba Team (http://samba.org) for a great software.
Copyright 2010-2011 Ari Constancio.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.