The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Variables
conf.c File Reference

Configuration parsing for LDAP server connections. More...

#include <freeradius-devel/ldap/base.h>
#include <freeradius-devel/ldap/conf.h>
+ Include dependency graph for conf.c:

Go to the source code of this file.

Variables

conf_parser_t const fr_ldap_option_config []
 
conf_parser_t const fr_ldap_sasl_mech_static []
 
conf_parser_t const fr_ldap_tls_config []
 

Detailed Description

Configuration parsing for LDAP server connections.

Id
51c617111b779c31a41609a5fe9c7aa32ba7d039

Definition in file conf.c.

Variable Documentation

◆ fr_ldap_option_config

conf_parser_t const fr_ldap_option_config[]

Definition at line 69 of file conf.c.

◆ fr_ldap_sasl_mech_static

conf_parser_t const fr_ldap_sasl_mech_static[]
Initial value:
= {
{ FR_CONF_OFFSET("proxy", fr_ldap_sasl_t, proxy) },
{ FR_CONF_OFFSET("realm", fr_ldap_sasl_t, realm) },
}
#define CONF_PARSER_TERMINATOR
Definition: cf_parse.h:627
#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
Definition: cf_parse.h:268
#define FR_CONF_OFFSET_FLAGS(_name, _flags, _struct, _field)
conf_parser_t which parses a single CONF_PAIR, writing the result to a field in a struct
Definition: cf_parse.h:256
@ CONF_FLAG_NOT_EMPTY
CONF_PAIR is required to have a non zero length value.
Definition: cf_parse.h:420

Definition at line 30 of file conf.c.

◆ fr_ldap_tls_config

conf_parser_t const fr_ldap_tls_config[]
Initial value:
= {
{ FR_CONF_OFFSET_FLAGS("certificate_file", CONF_FLAG_FILE_INPUT, fr_ldap_config_t, tls_certificate_file) },
{ FR_CONF_OFFSET_FLAGS("private_key_file", CONF_FLAG_FILE_INPUT, fr_ldap_config_t, tls_private_key_file) },
{ FR_CONF_OFFSET("start_tls", fr_ldap_config_t, start_tls), .dflt = "no" },
{ FR_CONF_OFFSET("require_cert", fr_ldap_config_t, tls_require_cert_str) },
{ FR_CONF_OFFSET("tls_min_version", fr_ldap_config_t, tls_min_version_str) },
}
@ CONF_FLAG_FILE_INPUT
File matching value must exist, and must be readable.
Definition: cf_parse.h:411
Connection configuration.
Definition: base.h:221

Definition at line 40 of file conf.c.