Ravada::Auth::LDAP - LDAP library for Ravada
Internal OO build
Adds a new user in the LDAP directory
Ravada::Auth::LDAP::add_user($name, $password, $is_admin);
Removes the user
Ravada::Auth::LDAP::remove_user($name);
Search user by uid
my $entry = Ravada::Auth::LDAP::search_user($uid);
Add a group to the LDAP
Removes the group from the LDAP directory. Use with caution
Ravada::Auth::LDAP::remove_group($name, $base);
Search group by name
Adds user to group
add_to_group($uid, $group_name);
$user->login($name, $password);
Returns wether an user is admin
Returns true if the user authentication is external to SQL, so true for LDAP users always
LDAP init, don't call, does nothing