[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: Network RADIUS packages and LDAP/SASL
From: Adam Bishop via Freeradius-Users <freeradius-users () lists ! freeradius ! org>
Date: 2022-10-26 22:37:45
Message-ID: 0030D1FB-BCBE-4AF5-BCF8-E93988CC1C0F () jisc ! ac ! uk
[Download RAW message or body]
On 26 Oct 2022, at 15:29, Alan DeKok <aland@deployingradius.com> wrote:
> The error from FreeRADIUS is a *build* error. i.e. at build time, the build \
> determined that libldap didn't have ldap_sasl_interactive_bind. And then refuses \
> to even use it.
> What happens at run time doesn't matter, because FreeRADIUS isn't even trying to \
> use that function.
Ah, that makes sense.
> You'll need to rebuild FreeRADIUS.
That's easy enough - just did a quick test (haven't pushed it into production to \
confirm any SASL mechs are usable) but adding `cyrus-sasl-devel` to the spec as a \
BuildRequire seems to change the configure output:
Before:
...
checking for ldap_sasl_interactive_bind... yes
...
checking for sasl/sasl.h in /usr/local/openldap/include/... no
checking for sasl/sasl.h... no
checking for sasl/sasl.h in /usr/local/include/... no
checking for sasl/sasl.h in /opt/include/... no
...
After:
...
checking for ldap_sasl_interactive_bind... yes
...
checking for sasl/sasl.h in /usr/local/openldap/include/... yes
...
Though, `sasl.h` isn't in or linked to `/usr/local/openldap/include/` - autoconf \
weirdness? WITH_SASL does get defined regardless of the path ./configure prints.
Thanks for the pointers,
Adam Bishop
gpg: E75B 1F92 6407 DFDF 9F1C BF10 C993 2504 6609 D460
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee \
which is registered in England under company number. 05747339, VAT number GB 197 0632 \
86. Jisc's registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 5800.
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by \
guarantee which is registered in England under company number 02881024, VAT number GB \
197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 \
5800.
Jisc Commercial Limited is a wholly owned Jisc subsidiary and a company limited by \
shares which is registered in England under company number 09316933, VAT number GB \
197 0632 86. The registered office is: 4 Portwall Lane, Bristol, BS1 6NB. T 0203 697 \
5800.
For more details on how Jisc handles your data see our privacy notice here: \
https://www.jisc.ac.uk/website/privacy-notice
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic