Ravada::Auth::LDAP(3)

πŸ“¦
version 2.4.1 Β· 2 versions
, in fedora 43

πŸ’– 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