projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfdaee
)
"notsuffix" realm flag was recognized in raddb/realms but not in radiusd.conf
author
pacman
<pacman>
Tue, 17 Oct 2000 21:05:37 +0000
(21:05 +0000)
committer
pacman
<pacman>
Tue, 17 Oct 2000 21:05:37 +0000
(21:05 +0000)
raddb/radiusd.conf.in
patch
|
blob
|
history
src/main/conffile.c
patch
|
blob
|
history
diff --git
a/raddb/radiusd.conf.in
b/raddb/radiusd.conf.in
index
eac2a40
..
dc17370
100644
(file)
--- a/
raddb/radiusd.conf.in
+++ b/
raddb/radiusd.conf.in
@@
-397,6
+397,15
@@
client 10.10.10.10 {
# secret = testing123
#}
+#realm myfakerealm {
+# type = radius
+# authhost = radius.company.com:1600
+# accthost = radius.company.com:1601
+# secret = testing123
+# notsuffix
+#}
+
+
modules {
pam {
# No config options for this yet
diff --git
a/src/main/conffile.c
b/src/main/conffile.c
index
56d4a3c
..
6836afc
100644
(file)
--- a/
src/main/conffile.c
+++ b/
src/main/conffile.c
@@
-636,6
+636,9
@@
static int generate_realms(const char *filename)
c->acct_port = 0;
if ((cf_section_value_find(cs, "trusted")) != NULL)
c->trusted = 1;
+ if ((cf_section_value_find(cs, "notsuffix")) != NULL)
+ c->notsuffix = 1;
+
c->next = realms;
realms = c;