Authen-CyrusSASL

 view release on metacpan or  search on metacpan

Authen/CyrusSASL.pm  view on Meta::CPAN

< Dir => dirpath | Path => sockpath > [, TimeOut => TIMEOUT] )

Creates & returns a blessed reference to a Authen::CyrusSASL object, or undef on
failure.  Error is saved into $!. 
Use undef on the return value if you want to undef the underlying
unix socket.

There are two types for Type attribute - one for saslauth daemon and one for
old pwcheck daemon (SASL_PWCHECK). The Type attribute is obligatory.

The default value for Dir is '/var/run/pwcheck' (it then looks for
the path '/var/run/pwcheck/pwcheck') for pwcheck method,
and '/var/run/saslauthd' (path '/var/run/saslauthd/mux') for saslauthd method.
You can specify the full path for pwcheck or mux special files
with the Path attribute.

The TimeOut value is self explonatory.

=back

=head1 METHODS



( run in 0.346 second using v1.01-cache-2.11-cpan-607d282f910 )