![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Allows authentication against OpenDirectory and enforces ACLS. More...
#include <freeradius-devel/server/base.h>#include <freeradius-devel/server/module_rlm.h>#include <freeradius-devel/util/debug.h>#include <freeradius-devel/util/perm.h>#include <ctype.h>#include <stdlib.h>#include <string.h>#include <grp.h>#include <pwd.h>#include <sys/types.h>#include <sys/stat.h>#include <DirectoryService/DirectoryService.h>#include <membership.h>
Include dependency graph for rlm_opendirectory.c:Go to the source code of this file.
Data Structures | |
| struct | rlm_opendirectory_t |
Macros | |
| #define | kRadiusSACLName "com.apple.access_radius" |
| #define | kRadiusServiceName "radius" |
Functions | |
| int | mbr_check_membership_refresh (uuid_t const user, uuid_t group, int *ismember) |
| int | mbr_check_service_membership (uuid_t const user, char const *servicename, int *ismember) |
| static unlang_action_t | mod_authenticate (unlang_result_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request) |
| static unlang_action_t | mod_authorize (unlang_result_t *p_result, module_ctx_t const *mctx, request_t *request) |
| static int | mod_instantiate (module_inst_ctx_t const *mctx) |
| static long | od_check_passwd (request_t *request, char const *uname, char const *password) |
Variables | |
| static fr_dict_attr_t const * | attr_auth_type |
| static fr_dict_attr_t const * | attr_user_name |
| static fr_dict_attr_t const * | attr_user_password |
| static fr_dict_t const * | dict_freeradius |
| static fr_dict_t const * | dict_radius |
| module_rlm_t | rlm_opendirectory |
| fr_dict_autoload_t | rlm_opendirectory_dict [] |
| fr_dict_attr_autoload_t | rlm_opendirectory_dict_attr [] |
Allows authentication against OpenDirectory and enforces ACLS.
authentication: Apple Open Directory authentication authorization: enforces ACLs
Definition in file rlm_opendirectory.c.
| struct rlm_opendirectory_t |
Definition at line 48 of file rlm_opendirectory.c.
Collaboration diagram for rlm_opendirectory_t:| Data Fields | ||
|---|---|---|
| fr_dict_enum_value_t const * | auth_type | |
| #define kRadiusSACLName "com.apple.access_radius" |
Definition at line 60 of file rlm_opendirectory.c.
| #define kRadiusServiceName "radius" |
Definition at line 61 of file rlm_opendirectory.c.
| int mbr_check_membership_refresh | ( | uuid_t const | user, |
| uuid_t | group, | ||
| int * | ismember | ||
| ) |
Here is the caller graph for this function:| int mbr_check_service_membership | ( | uuid_t const | user, |
| char const * | servicename, | ||
| int * | ismember | ||
| ) |
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
Definition at line 91 of file rlm_opendirectory.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 73 of file rlm_opendirectory.c.
|
static |
Definition at line 74 of file rlm_opendirectory.c.
|
static |
Definition at line 75 of file rlm_opendirectory.c.
|
static |
Definition at line 63 of file rlm_opendirectory.c.
|
static |
Definition at line 64 of file rlm_opendirectory.c.
| module_rlm_t rlm_opendirectory |
Definition at line 532 of file rlm_opendirectory.c.
| fr_dict_autoload_t rlm_opendirectory_dict |
Definition at line 67 of file rlm_opendirectory.c.
| fr_dict_attr_autoload_t rlm_opendirectory_dict_attr |
Definition at line 78 of file rlm_opendirectory.c.
1.9.8