Skip to contentSkip to conversation

freeradius-server: enable default modules mschap and realm

PATCH In review Brandon Maier via buildroot 2 participants 3 messages Oct 31, 2023 – Nov 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 freeradius-server: enable default modules mschap and realm

From: Kalpesh Panchal <[email protected]>

"mschap" and "realm" are already part of default required raddb modules(DEFAULT_MODULES in raddb/all.mk).

so removed them from disabled module list so that radiusd.service can start without following errors:

- /etc/raddb/mods-enabled/mschap[11]: Failed to link to module 'rlm_mschap': /usr/lib/rlm_mschap.so
- /etc/raddb/mods-enabled/realm[21]: Failed to link to module 'rlm_realm': /usr/lib/rlm_realm.so

---
 package/freeradius-server/freeradius-server.mk | 2 --
 1 file changed, 2 deletions(-)
package/freeradius-server/freeradius-server.mk +0 -2
index af3320eb44..125427c9e2 100644
@@ -45,9 +45,7 @@ FREERADIUS_SERVER_CONF_OPTS += \
 FREERADIUS_SERVER_CONF_OPTS += \
 	--without-rlm_eap_ike \
 	--without-rlm_eap_tnc \
-	--without-rlm_mschap \
 	--without-rlm_perl \
-	--without-rlm_realm \
 	--without-rlm_sql_iodbc \
 	--without-rlm_sql_oracle \
 	--without-rlm_sql_freetds \
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 8 lines · On Tue, 31 Oct 2023 22:57:51 +0000 Brandon Maier via buildroot…

From: Kalpesh Panchal <[email protected]>

"mschap" and "realm" are already part of default required raddb modules(DEFAULT_MODULES in raddb/all.mk).

so removed them from disabled module list so that radiusd.service can start without following errors:

Quoted 8 lines

- /etc/raddb/mods-enabled/mschap[11]: Failed to link to module 'rlm_mschap': /usr/lib/rlm_mschap.so
- /etc/raddb/mods-enabled/realm[21]: Failed to link to module 'rlm_realm': /usr/lib/rlm_realm.so

---
 package/freeradius-server/freeradius-server.mk | 2 --
 1 file changed, 2 deletions(-)

Applied to master, thanks. It would be good to have a test case in support/testing/ for freeradius, to make sure it starts up correctly at boot.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Brandon Maier via buildroot
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Brandon" == Brandon Maier via buildroot <[email protected]> writes:

From: Kalpesh Panchal <[email protected]> "mschap" and "realm" are already part of default required raddb modules(DEFAULT_MODULES in raddb/all.mk).

Quoted 8 lines

so removed them from disabled module list so that radiusd.service can start without following errors:

- /etc/raddb/mods-enabled/mschap[11]: Failed to link to module 'rlm_mschap': /usr/lib/rlm_mschap.so
- /etc/raddb/mods-enabled/realm[21]: Failed to link to module 'rlm_realm': /usr/lib/rlm_realm.so

Committed to 2023.02.x and 2023.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot