Ravada::Auth::LDAP(3)
π Ravada::Auth::LDAP π
okay bestie, so this is Ravada::Auth::LDAP β it's the LDAP library for Ravada. it's a Perl module, it lives in the user-contributed Perl docs, and it's the whole vibe of hooking Ravada up to an LDAP directory. no cap. π¦
β¨ BUILD β¨
Internal OO build π
β¨ add_user β¨
Adds a new user in the LDAP directory π
Ravada::Auth::LDAP::add_user($name, $password, $is_admin);
β¨ add_user_posix β¨
Adds a new user in the LDAP directory πΈ
Ravada::Auth::LDAP::add_user_posix($name, $password);
β¨ 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. seriously bestie, be careful with this one π
Ravada::Auth::LDAP::remove_group($name, $base);
β¨ search_group β¨
Search group by name π
β¨ search_group_members β¨
(no description in the original, she's mysterious like that π)
β¨ add_to_group β¨
Adds user to group π«Ά
add_to_group($dn, $group_name);
β¨ remove_from_group β¨
Removes user from group πͺ
add_to_group($dn, $group_name);
β¨ login β¨
$user->login($name, $password);
β¨ group_members β¨
Returns a list of the group members π
β¨ ldap_entry β¨
Returns the ldap entry as a Net::LDAP::Entry of the user if it has LDAP external authentication β¨
β¨ is_admin β¨
Returns wether an user is admin π
β¨ is_member β¨
Returns if an user is member of a group π
if (is_member($group, $cn)) {
}
β¨ 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 π βοΈ
this page is from perl v5.42.0, dated 2025-09-20, and it's page Ravada::Auth::LDAP(3) of the user-contributed Perl docs β mwah, stan, bye bestie ππ
π¦ where this page comes from
- fedora 43: ravada 2.4.1-1.fc43 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms