Authenticate users, retrieving their TGT from a Kerberos V5 TDC.
More...
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <freeradius-devel/rad_assert.h>
#include "krb5.h"
Go to the source code of this file.
Authenticate users, retrieving their TGT from a Kerberos V5 TDC.
- Id:
- 0cb5c2bb861a2228022eb93616f3da40e4333c1f
- Copyright
- 2000,2006,2012-2013 The FreeRADIUS server project
-
2013 Arran Cudbard-Bell a.cud.nosp@m.bard.nosp@m.b@fre.nosp@m.erad.nosp@m.ius.o.nosp@m.rg
-
2000 Nathan Neulinger nneul.nosp@m.@umr.nosp@m..edu
-
2000 Alan DeKok aland.nosp@m.@ox..nosp@m.org
Definition in file rlm_krb5.c.
static rlm_rcode_t krb5_parse_user |
( |
krb5_principal * |
client, |
|
|
REQUEST * |
request, |
|
|
krb5_context |
context |
|
) |
| |
|
static |
Common function for transforming a User-Name string into a principal.
- Parameters
-
[out] | client | Where to write the client principal. |
[in] | request | Current request. |
[in] | context | Kerberos context. |
Definition at line 228 of file rlm_krb5.c.
Log error message and return appropriate rcode.
Translate kerberos error codes into return codes.
- Parameters
-
request | Current request. |
ret | code from kerberos. |
conn | used in the last operation. |
Definition at line 288 of file rlm_krb5.c.
static int mod_detach |
( |
void * |
instance | ) |
|
|
static |
static int mod_instantiate |
( |
CONF_SECTION * |
conf, |
|
|
void * |
instance |
|
) |
| |
|
static |
Initial value:= {
}
Instance configuration for rlm_krb5.
#define CONF_PARSER_TERMINATOR
#define FR_CONF_OFFSET(_n, _t, _s, _f)
String of printable characters.
Definition at line 34 of file rlm_krb5.c.
Initial value:= {
.name = "krb5",
,
.methods = {
},
}
static int mod_instantiate(CONF_SECTION *conf, void *instance)
struct rlm_krb5_t rlm_krb5_t
Instance configuration for rlm_krb5.
#define RLM_TYPE_HUP_SAFE
Will be restarted on HUP.
static rlm_rcode_t mod_authenticate(void *instance, REQUEST *request) CC_HINT(nonnull)
static const CONF_PARSER module_config[]
0 methods index for authenticate section.
static int mod_detach(void *instance)
Definition at line 456 of file rlm_krb5.c.