NAME
App::Dochazka::REST::LDAP - LDAP module (for authentication)
VERSION
Version 0.125
DESCRIPTION
Container for LDAP-related stuff.
EXPORTS
METHODS
ldap_exists
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.
ldap_search
Given Net::LDAP handle, LDAP field, and nick, search for the nick in the given field (e.g. 'uid', 'cn' etc.).
ldap_auth
Takes a nick and a password. Returns true or false. Determines if the password matches the one stored in the LDAP database.