1Ravada::Auth::LDAP(3) User Contributed Perl DocumentationRavada::Auth::LDAP(3)
2
3
4

NAME

6       Ravada::Auth::LDAP - LDAP library for Ravada
7
8   BUILD
9       Internal OO build
10
11   add_user
12       Adds a new user in the LDAP directory
13
14           Ravada::Auth::LDAP::add_user($name, $password, $is_admin);
15
16   remove_user
17       Removes the user
18
19           Ravada::Auth::LDAP::remove_user($name);
20
21   search_user
22       Search user by uid
23
24         my $entry = Ravada::Auth::LDAP::search_user($uid);
25
26   add_group
27       Add a group to the LDAP
28
29   remove_group
30       Removes the group from the LDAP directory. Use with caution
31
32           Ravada::Auth::LDAP::remove_group($name, $base);
33
34   search_group
35           Search group by name
36
37   add_to_group
38       Adds user to group
39
40           add_to_group($uid, $group_name);
41
42   login
43           $user->login($name, $password);
44
45   ldap_entry
46       Returns the ldap entry as a Net::LDAP::Entry of the user if it has LDAP
47       external authentication
48
49   is_admin
50       Returns wether an user is admin
51
52   is_external
53       Returns true if the user authentication is external to SQL, so true for
54       LDAP users always
55
56   init
57       LDAP init, don't call, does nothing
58
59
60
61perl v5.30.0                      2019-08-08             Ravada::Auth::LDAP(3)
Impressum