Bug 15715

Summary: freeradius-server won't start
Product: buildroot Reporter: Arınç ÜNAL <arinc.unal>
Component: OtherAssignee: unassigned
Status: RESOLVED MOVED    
Severity: normal CC: arinc.unal, arnout, buildroot, fontaine.fabrice, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Arınç ÜNAL 2023-08-10 18:02:12 UTC
Tested on today's master branch.

# radiusd -X
[...]
/etc/raddb/mods-enabled/mschap[11]: Failed to link to module 'rlm_mschap': /usr/lib/rlm_mschap.so: cannot open shared object file: No such file or directory

After removing /etc/raddb/mods-enabled/mschap:

# radiusd -X
[...]
/etc/raddb/mods-enabled/realm[21]: Failed to link to module 'rlm_realm': /usr/lib/rlm_realm.so: cannot open shared object file: No such file or directory

After removing /etc/raddb/mods-enabled/realm, something fails that I shouldn't remove:

# radiusd -X
[...]
/etc/raddb/mods-enabled/ntlm_auth[17]: ...t-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}
/etc/raddb/mods-enabled/ntlm_auth[17]:                                         ^ Unknown module

Upon investigating package/freeradius-server/freeradius-server.mk, I've seen that the rlm_mschap and rlm_realm modules are explicitly disabled because "we don't have the dependencies" for them. I have removed these two lines which disable these modules. The package compiled fine and the server started working.

I don't know what was meant by not having the dependencies for these modules so I'm submitting a bug here to let someone with more experience in this project know.
Comment 1 Yann E. MORIN 2024-06-15 15:11:59 UTC
Thank you for your report.

The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
    https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.

Thank you!