Commit c1118a3a authored by Robert Dubner's avatar Robert Dubner
Browse files

Configure radiushost and radiusport as radiusov parameters

parent 09c86134
......@@ -700,6 +700,7 @@ static ConfigDriver radius_config_driver;
enum
{
RADIUS_PORT = 1,
RADIUS_HOST,
};
#pragma GCC diagnostic push
......@@ -711,12 +712,24 @@ static ConfigTable radiuscfg[] =
"radiusport",
"RADIUS service port",
2, 2, 0,
ARG_DN|ARG_QUOTE|ARG_MAGIC|RADIUS_PORT,
ARG_INT|ARG_MAGIC|RADIUS_PORT,
radius_config_driver,
"( OLcfgOvAt:" OVERLAY_OID ".1 NAME 'olcRadiusPort' "
"DESC 'Port number of RADIUS service' "
"EQUALITY distinguishedNameMatch "
"SUP distinguishedName SINGLE-VALUE )",
"SUP ipServicePort SINGLE-VALUE )"
,
NULL, NULL
},
{
"radiushost",
"RADIUS service IP Address",
2, 2, 0,
ARG_STRING|ARG_QUOTE|ARG_MAGIC|RADIUS_HOST,
radius_config_driver,
"( OLcfgOvAt:" OVERLAY_OID ".2 NAME 'olcRadiusHost' "
"DESC 'IP Address of RADIUS service' "
"SUP ipHostNumber)"
,
NULL, NULL
},
{ NULL, NULL, 0,0,0, ARG_IGNORED }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment