Authenticate users, retrieving their TGT from a Kerberos V5 TDC.
More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/util/debug.h>
#include "krb5.h"
Go to the source code of this file.
Authenticate users, retrieving their TGT from a Kerberos V5 TDC.
- Id
- 033f6148c216b1211ebc6f88ef4d121c50c44441
- 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.@fre.nosp@m.eradi.nosp@m.us.o.nosp@m.rg)
Definition in file rlm_krb5.c.
◆ LOG_PREFIX
◆ krb5_parse_user()
Common function for transforming a User-Name string into a principal.
- Parameters
-
[out] | client | Where to write the client principal. |
[in] | inst | of rlm_krb5. |
[in] | request | Current request. |
[in] | context | Kerberos context. |
Definition at line 241 of file rlm_krb5.c.
◆ krb5_process_error()
Log error message and return appropriate rcode.
Translate kerberos error codes into return codes.
- Parameters
-
inst | of rlm_krb5. |
request | Current request. |
ret | code from kerberos. |
conn | used in the last operation. |
Definition at line 284 of file rlm_krb5.c.
◆ mod_authenticate()
◆ mod_detach()
◆ mod_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
Instance configuration for rlm_krb5.
Definition at line 36 of file rlm_krb5.c.
◆ rlm_krb5
Initial value:= {
.common = {
.name = "krb5",
},
.method_group = {
}
}
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
static const conf_parser_t config[]
static int mod_detach(module_detach_ctx_t const *mctx)
static unlang_action_t mod_authenticate(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
static const conf_parser_t module_config[]
static int mod_instantiate(module_inst_ctx_t const *mctx)
static int instantiate(module_inst_ctx_t const *mctx)
#define SECTION_NAME(_name1, _name2)
Define a section name consisting of a verb and a noun.
@ MODULE_TYPE_THREAD_UNSAFE
Module is not threadsafe.
#define MODULE_BINDING_TERMINATOR
Terminate a module binding list.
Named methods exported by a module.
Definition at line 492 of file rlm_krb5.c.
◆ rlm_krb5_dict
Initial value:= {
{ NULL }
}
static fr_dict_t const * dict_radius
Definition at line 45 of file rlm_krb5.c.
◆ rlm_krb5_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 54 of file rlm_krb5.c.