Supports OTP authentication using SMS.
More...
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <sys/un.h>
Go to the source code of this file.
Supports OTP authentication using SMS.
- Id:
- 61a40c71174e995a08f9d9a1c243f524b8d33155
- Copyright
- 2000,2006 The FreeRADIUS server project
-
2009 Siemens AG, Holger Wolff holge.nosp@m.r.wo.nosp@m.lff@s.nosp@m.ieme.nosp@m.ns.co.nosp@m.m
Definition in file rlm_smsotp.c.
#define WRITE_ALL |
( |
|
_a, |
|
|
|
_b, |
|
|
|
_c |
|
) |
| if (write_all(_a,_b,_c) < 0) goto done; |
static int _mod_conn_free |
( |
int * |
fdp | ) |
|
|
static |
static void* mod_conn_create |
( |
TALLOC_CTX * |
ctx, |
|
|
void * |
instance, |
|
|
struct timeval const * |
timeout |
|
) |
| |
|
static |
static int mod_instantiate |
( |
CONF_SECTION * |
conf, |
|
|
void * |
instance |
|
) |
| |
|
static |
static size_t read_all |
( |
int * |
fdp, |
|
|
char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
static int write_all |
( |
int * |
fdp, |
|
|
char const * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
Initial value:= {
}
#define CONF_PARSER_TERMINATOR
#define FR_CONF_OFFSET(_n, _t, _s, _f)
String of printable characters.
Definition at line 38 of file rlm_smsotp.c.
Initial value:= {
.name = "smsotp",
.methods = {
},
}
static int mod_instantiate(CONF_SECTION *conf, void *instance)
static rlm_rcode_t mod_authorize(void *instance, REQUEST *request)
Handle authorization requests using Couchbase document data.
#define RLM_TYPE_THREAD_SAFE
Module is threadsafe.
static rlm_rcode_t mod_authenticate(void *instance, REQUEST *request) CC_HINT(nonnull)
0 methods index for authenticate section.
struct rlm_smsotp_t rlm_smsotp_t
static const CONF_PARSER module_config[]
1 methods index for authorize section.
Definition at line 321 of file rlm_smsotp.c.