Unixy things.
More...
#include <freeradius-devel/radiusd.h>
#include <grp.h>
#include <pwd.h>
#include <sys/stat.h>
#include "config.h"
#include <freeradius-devel/modules.h>
#include <freeradius-devel/sysutmp.h>
Go to the source code of this file.
Unixy things.
- Id:
- 329ed2916ae82a2a17f60377f26d5a21d7777f3d
authentication: Unix user authentication accounting: Functions to write radwtmp file. Also contains handler for "Group".
- Copyright
- 2000,2006 The FreeRADIUS server project
-
2000 Jeff Carneal jeff@.nosp@m.apex.nosp@m..net
-
2000 Alan Curry pacma.nosp@m.n@wo.nosp@m.rld.s.nosp@m.td.c.nosp@m.om
Definition in file rlm_unix.c.
Definition at line 61 of file rlm_unix.c.
Data Fields |
char const * |
name |
Instance name. |
char const * |
radwtmp |
|
#define ENC |
( |
|
c | ) |
trans[c] |
static int mod_bootstrap |
( |
CONF_SECTION * |
conf, |
|
|
void * |
instance |
|
) |
| |
|
static |
static char* uue |
( |
void * |
in | ) |
|
|
static |
Initial value:= {
}
#define CONF_PARSER_TERMINATOR
#define PW_TYPE_FILE_OUTPUT
File matching value must exist, and must be writeable.
#define FR_CONF_OFFSET(_n, _t, _s, _f)
#define PW_TYPE_REQUIRED
Error out if no matching CONF_PAIR is found, and no dflt value is set.
Definition at line 66 of file rlm_unix.c.
Initial value:= {
.name = "unix",
.methods = {
},
}
static rlm_rcode_t mod_accounting(void *instance, REQUEST *request)
Write accounting data to Couchbase documents.
#define RLM_TYPE_THREAD_UNSAFE
Module is not threadsafe.
struct rlm_unix rlm_unix_t
static rlm_rcode_t mod_authorize(void *instance, REQUEST *request)
Handle authorization requests using Couchbase document data.
3 methods index for accounting section.
static const CONF_PARSER module_config[]
static int mod_bootstrap(CONF_SECTION *conf, void *instance)
1 methods index for authorize section.
Definition at line 535 of file rlm_unix.c.