The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
conf.h
Go to the documentation of this file.
1#pragma once
2/**
3 * $Id: b24fc075c3fa053f432311b10ba78955eb61c405 $
4 * @file lib/ldap/conf.h
5 * @brief Configuration parsing for LDAP server connections.
6 *
7 * @copyright 2022 The FreeRADIUS Server Project.
8 */
9
10#include <freeradius-devel/ldap/base.h>
11
15
16/*
17 * Macro for including common LDAP configuration items
18 */
19#define FR_LDAP_COMMON_CONF(_conf) { FR_CONF_OFFSET("port", _conf, handle_config.port) }, \
20 { FR_CONF_OFFSET("identity", _conf, handle_config.admin_identity) }, \
21 { FR_CONF_OFFSET_FLAGS("password", CONF_FLAG_SECRET, _conf, handle_config.admin_password) }, \
22 { FR_CONF_OFFSET_SUBSECTION("sasl", 0, _conf, handle_config.admin_sasl, fr_ldap_sasl_mech_static) }, \
23 { FR_CONF_OFFSET_SUBSECTION("options", 0, _conf, handle_config, fr_ldap_option_config) }, \
24 { FR_CONF_OFFSET_SUBSECTION("tls", 0, _conf, handle_config, fr_ldap_tls_config) }
Defines a CONF_PAIR to C data type mapping.
Definition cf_parse.h:579
conf_parser_t const fr_ldap_sasl_mech_static[]
Definition conf.c:30
conf_parser_t const fr_ldap_option_config[]
Definition conf.c:69
conf_parser_t const fr_ldap_tls_config[]
Definition conf.c:40