"notsuffix" realm flag was recognized in raddb/realms but not in radiusd.conf
authorpacman <pacman>
Tue, 17 Oct 2000 21:05:37 +0000 (21:05 +0000)
committerpacman <pacman>
Tue, 17 Oct 2000 21:05:37 +0000 (21:05 +0000)
raddb/radiusd.conf.in
src/main/conffile.c

index eac2a40..dc17370 100644 (file)
@@ -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
index 56d4a3c..6836afc 100644 (file)
@@ -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;