Fixes up requests, and processes huntgroups/hints files.
More...
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <freeradius-devel/rad_assert.h>
#include <ctype.h>
Go to the source code of this file.
Fixes up requests, and processes huntgroups/hints files.
- Id:
- 98c4a4a706a7edea01bb63cdb7105a4fbd90d5a5
- Copyright
- 2000,2006 The FreeRADIUS server project
-
2000 Alan DeKok aland.nosp@m.@ox..nosp@m.org
Definition in file rlm_preprocess.c.
Definition at line 225 of file rlm_preprocess.c.
Data Fields |
uint16_t |
attr_count |
|
cl_bcid_t |
bcid |
|
uint8_t |
element_id[8] |
|
uint16_t |
element_type |
|
uint8_t |
event_object |
|
uint8_t |
event_time[18] |
|
uint16_t |
message_type |
|
uint8_t |
priority |
|
uint32_t |
sequence_number |
|
uint8_t |
status[4] |
|
cl_timezone_t |
time_zone |
|
uint16_t |
version |
|
Definition at line 210 of file rlm_preprocess.c.
Data Fields |
uint8_t |
dst |
|
uint8_t |
hh[2] |
|
uint8_t |
mm[2] |
|
uint8_t |
sign |
|
uint8_t |
ss[2] |
|
Definition at line 33 of file rlm_preprocess.c.
Data Fields |
uint32_t |
ascend_channels_per_line |
|
PAIR_LIST * |
hints |
|
char const * |
hints_file |
|
char const * |
huntgroup_file |
|
PAIR_LIST * |
huntgroups |
|
bool |
with_alvarion_vsa_hack |
|
bool |
with_ascend_hack |
|
bool |
with_cablelabs_vsa_hack |
|
bool |
with_cisco_vsa_hack |
|
bool |
with_ntdomain_hack |
|
bool |
with_specialix_jetstream_hack |
|
static int add_nas_attr |
( |
REQUEST * |
request | ) |
|
|
static |
static void ascend_nasport_hack |
( |
VALUE_PAIR * |
nas_port, |
|
|
int |
channels_per_line |
|
) |
| |
|
static |
static void cablelabs_vsa_hack |
( |
VALUE_PAIR ** |
list | ) |
|
|
static |
static void cisco_vsa_hack |
( |
REQUEST * |
request | ) |
|
|
static |
Initial value:= {
}
#define PW_TYPE_FILE_INPUT
File matching value must exist, and must be readable.
#define CONF_PARSER_TERMINATOR
#define FR_CONF_OFFSET(_n, _t, _s, _f)
Definition at line 47 of file rlm_preprocess.c.
Initial value:= {
.name = "preprocess",
.methods = {
},
}
static int mod_instantiate(UNUSED CONF_SECTION *conf, void *instance)
static rlm_rcode_t mod_authorize(void *instance, REQUEST *request)
Handle authorization requests using Couchbase document data.
struct rlm_preprocess_t rlm_preprocess_t
2 methods index for preacct section.
static const CONF_PARSER module_config[]
1 methods index for authorize section.
Definition at line 728 of file rlm_preprocess.c.