Index


NAME

Top

Ravada::Auth::LDAP - LDAP library for Ravada

BUILD

Internal OO build

add_user

Adds a new user in the LDAP directory

    Ravada::Auth::LDAP::add_user($name, $password, $is_admin);

remove_user

Removes the user

    Ravada::Auth::LDAP::remove_user($name);

search_user

Search user by uid

  my $entry = Ravada::Auth::LDAP::search_user($uid);

add_group

Add a group to the LDAP

remove_group

Removes the group from the LDAP directory. Use with caution

    Ravada::Auth::LDAP::remove_group($name, $base);

search_group

    Search group by name

add_to_group

Adds user to group

    add_to_group($uid, $group_name);

login

    $user->login($name, $password);

is_admin

Returns wether an user is admin

is_external

Returns true if the user authentication is external to SQL, so true for LDAP users always

init

LDAP init, don't call, does nothing