The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Parse::Log::Smbd - parse log.smbd files to fetch usernames and connections to network shares

VERSION

Version 0.02

SYNOPSIS

This module retrieves users successfully authenticated and connections to SMB/CIFS network shares from Samba log.smbd files.

    use Parse::Log::Smbd;

    my $log = Parse::Log::Smbd->new( '/var/log/log.smbd' );

    my @users = $log->users;
    my @shares = $log->shares;

SUBROUTINES/METHODS

new

Creates a new Parse::Log::Smbd object, with the intended log filename as argument.

users

Lists users that authenticated successfully to the smbd server. Returns a sorted list of unique usernames.

shares

Lists successful connections to network shares. Returns a sorted list of unique shares.

AUTHOR

Ari Constancio, <affc at cpan.org>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Parse::Log::Smbd

You can also look for information at:

ACKNOWLEDGEMENTS

Thanks to the Samba Team (http://samba.org) for a great software.

LICENSE AND COPYRIGHT

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.