Commit 66dfb768 authored by Robert Dubner's avatar Robert Dubner
Browse files

Prepare for radiustest URI

parent 591332e2
Pipeline #3478 passed with stage
in 44 minutes and 42 seconds
......@@ -729,6 +729,7 @@ enum
{
RADIUS_PORT = 1,
RADIUS_HOST,
RADIUS_TEST,
};
#pragma GCC diagnostic push
......@@ -748,6 +749,7 @@ static ConfigTable radiuscfg[] =
,
NULL, NULL
},
{
"radiushost",
"RADIUS service IP Address",
......@@ -760,6 +762,20 @@ static ConfigTable radiuscfg[] =
,
NULL, NULL
},
{
"radiustest",
"Search URI for simple testing",
2, 2, 0,
ARG_MAGIC|RADIUS_TEST,
radius_config_driver,
"( OLcfgOvAt:" OVERLAY_OID ".3 NAME 'olcRadiusTest' "
"DESC 'URL for simple searches in the test environment' "
"EQUALITY caseIgnoreMatch "
"SYNTAX OMsDirectoryString )",
NULL, NULL
},
{ NULL, NULL, 0,0,0, ARG_IGNORED }
};
#pragma GCC diagnostic pop
......
......@@ -53,7 +53,7 @@
#define STATE_LIFETIME_IN_SECONDS 120
#define DEFAULT_RADIUS_PORT 1812 // This is the well-known RADIUS server port
#define DEFAULT_RADIUS_HOST "1.2.3.4" // 0.0.0.0 is the equivalent of INADDR_ANY
#define DEFAULT_RADIUS_HOST "0.0.0.0" // 0.0.0.0 is the equivalent of INADDR_ANY
// 127.0.0.1 is *not* equivalent. It is the
// Loopback IP address, which means that requests
// from outside the local server will be 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