imap server authentication.
More...
#include <freeradius-devel/curl/base.h>
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/global_lib.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/util/slab.h>
Go to the source code of this file.
imap server authentication.
- Id
- 816e6231a0dd9558741e933e5a48c618899d517b
- Copyright
- 2020 The FreeRADIUS server project
-
2020 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file rlm_imap.c.
◆ rlm_imap_t
◆ rlm_imap_thread_t
Definition at line 67 of file rlm_imap.c.
Data Fields |
fr_curl_handle_t * |
mhandle |
Thread specific multi handle. Serves as the dispatch and coralling structure for imap requests. |
imap_slab_list_t * |
slab |
Slab list for connection handles. |
◆ _mod_conn_free()
Clean up CURL handle on freeing.
Definition at line 198 of file rlm_imap.c.
◆ imap_conn_alloc()
Callback to configure a CURL handle when it is allocated.
Definition at line 208 of file rlm_imap.c.
◆ imap_io_module_signal()
◆ mod_authenticate()
◆ mod_authenticate_resume()
◆ mod_thread_detach()
◆ mod_thread_instantiate()
◆ attr_user_name
◆ attr_user_password
◆ dict_radius
◆ module_config
Initial value:= {
}
#define CONF_PARSER_TERMINATOR
#define FR_CONF_OFFSET(_name, _struct, _field)
conf_parser_t which parses a single CONF_PAIR, writing the result to a field in a struct
#define FR_CONF_OFFSET_SUBSECTION(_name, _flags, _struct, _field, _subcs)
conf_parser_t which populates a sub-struct using a CONF_SECTION
conf_parser_t fr_curl_conn_config[]
conf_parser_t fr_curl_tls_config[]
Definition at line 75 of file rlm_imap.c.
◆ rlm_imap
Initial value:= {
.common = {
.name = "imap",
},
.method_group = {
}
}
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
static unlang_action_t mod_authenticate(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
static int mod_thread_instantiate(module_thread_inst_ctx_t const *mctx)
static const conf_parser_t module_config[]
static int mod_thread_detach(module_thread_inst_ctx_t const *mctx)
#define SECTION_NAME(_name1, _name2)
Define a section name consisting of a verb and a noun.
#define MODULE_BINDING_TERMINATOR
Terminate a module binding list.
Named methods exported by a module.
Definition at line 285 of file rlm_imap.c.
◆ rlm_imap_dict
Initial value:= {
{ NULL }
}
static fr_dict_t const * dict_radius
Definition at line 39 of file rlm_imap.c.
◆ rlm_imap_dict_attr
Initial value:= {
{ NULL },
}
@ FR_TYPE_STRING
String of printable characters.
static fr_dict_attr_t const * attr_user_password
static fr_dict_attr_t const * attr_user_name
Definition at line 45 of file rlm_imap.c.
◆ rlm_imap_lib
Initial value:= {
}
#define GLOBAL_LIB_TERMINATOR
global_lib_autoinst_t fr_curl_autoinst
Definition at line 52 of file rlm_imap.c.