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
c1118a3a
Commit
c1118a3a
authored
Sep 06, 2021
by
Robert Dubner
Browse files
Configure radiushost and radiusport as radiusov parameters
parent
09c86134
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/radiusov/radiusov.c
View file @
c1118a3a
...
...
@@ -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
}
...
...
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