Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Dubner
OpenLDAP
Commits
66dfb768
Commit
66dfb768
authored
Sep 10, 2021
by
Robert Dubner
Browse files
Prepare for radiustest URI
parent
591332e2
Pipeline
#3478
passed with stage
in 44 minutes and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/radiusov/radiusov.c
View file @
66dfb768
...
...
@@ -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
...
...
contrib/slapd-modules/radiusov/radiusov.h
View file @
66dfb768
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment