App::Dochazka::REST::LDAP - LDAP module (for authentication)
Container for LDAP-related stuff.
Takes a nick. Returns true or false. Determines if the nick exists in the LDAP database. Any errors in communication with the LDAP server are written to the log.
Given Net::LDAP handle, LDAP field, and nick, search for the nick in the given field (e.g. 'uid', 'cn' etc.). Returns value of LDAP property specified in $prop.
Takes a nick and a password. Returns true or false. Determines if the password matches the one stored in the LDAP database.
Populate employee profile from LDAP. Takes employee object which must have the 'nick' property already populated. Returns a status object.
To install App::Dochazka::REST, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Dochazka::REST
CPAN shell
perl -MCPAN -e shell install App::Dochazka::REST
For more information on module installation, please visit the detailed CPAN module installation guide.