The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

Version 0.01

SYNOPSIS

This module intends to list users successfully authenticated and connections to SMB/CIFS network shares, read from Samba log.smbd files.

    use Parse::Log::Smbd;

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

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 connections to network shares (to be implemented yet).

AUTHOR

Ari Constancio, <affconstancio at gmail.com>

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 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.