Authen-SASL-Authd
view release on metacpan or search on metacpan
Check supplied user name and password against Dovecot authentication
daemon. Return true if authentication succeeded. Die in case of a likely
configuration problem.
user_dovecot( 'LOGIN', [ service_name => 'SERVICE_NAME', ] [ timeout =>
'TIMEOUT (sec)', ] [ socket => '/SOCK/FILE/NAME', ] )
Check if supplied user name exists according to the Dovecot
authentication daemon. Return a reference to the hashtable (or the
hashtable in list context) with optional user attributes if the user
exists, undef (or empty list in list context) otherwise. The hashtable
can contain such attributes as 'home', 'gid', 'uid', etc defined by the
Dovecot SASL implementation. Die in case of a likely configuration
problem.
AUTHOR
Alex Protasenko http://www.bkmks.com/
COPYRIGHT and LICENSE
Copyright 2007 by Alex Protasenko.
This program is free software; you can redistribute it and/or modify it
lib/Authen/SASL/Authd.pm view on Meta::CPAN
Check supplied user name and password against Dovecot authentication daemon.
Return true if authentication succeeded. Die in case of a likely configuration problem.
=item user_dovecot( 'LOGIN', [ service_name => 'SERVICE_NAME', ] [ timeout => 'TIMEOUT (sec)', ]
[ socket => '/SOCK/FILE/NAME', ] )
Check if supplied user name exists according to the Dovecot authentication daemon.
Return a reference to the hashtable (or the hashtable in list context) with optional user attributes
if the user exists, undef (or empty list in list context) otherwise.
The hashtable can contain such attributes as 'home', 'gid', 'uid', etc defined by the Dovecot SASL
implementation.
Die in case of a likely configuration problem.
=head1 AUTHOR
Alex Protasenko http://www.bkmks.com/
=head1 COPYRIGHT and LICENSE
Copyright 2007 by Alex Protasenko.
( run in 0.695 second using v1.01-cache-2.11-cpan-5735350b133 )