Re: "libldap is using GnuTLS, while FreeRADIUS is using OpenSSL" ????
Alan DeKok via Freeradius-Users <[email protected]> Thu, 4 Dec 2025 11:04:19 -0500
| Newsgroups | gmane.comp.freeradius.user |
|---|---|
| Message-ID | <[email protected]> |
On Dec 4, 2025, at 3:45 AM, Marc Fradin <[email protected]> wrote: > I just installed : *Ubuntu *24.04.2 LTS" and *FreeRADIUS *Version 3.2.5 > > We use our LDAP directory for authentication using the `userpasswd` field, which is encoded in SCYPT (EAP/TTLS/PAP). > > Everything works fine, but it's impossible to perform "LDAP over TLS or SSL" (start_tls = yes in module ldap ) That is an unfortunately common problem. > Here's the error message : > *!! libldap is using GnuTLS, while FreeRADIUS is using OpenSSL > !! There may be random issues with TLS connections due to this conflict. > !! The server may also crash. > * > > * !! See https://wiki.freeradius.org/modules/Rlm_ldap for more information.* > > How can I fix ? Should I install another library like `libldap`? Your choices are: * don't use TLS with libldap (not really recommended) * set up a local "stunnel" connection from the FreeRADIUS machine to the machine running LDAP, and use that for the LDAP connections. * switch libldap to one which uses OpenSSL. You might be able to download it from https://ltb-project.org/download.html I don't know why so many distributions insist on using GnuTLS. It simply does not do the same things as OpenSSL. Any application which needs a full-featured TLS library cannot use GnuTLS. It's really only good for "doing TLS" without much of any policies or features. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEIUl02elqcIsf1zM0v3SJ0h7dTTMFAmkxsQMACgkQv3SJ0h7d TTP1RQ//YTDHxHn8QUvnMtms+/wH0YqJJpCjmZb/E9oHWvNiN7rvLrHP0mqO6Ukh XSjAZjfGlwFkj1z2JQb9A+T1oWkZaN+AS9hNsUUcXcU/wwOrPECruN23iD/PgAh/ iI+pmIKFzDftYnZXDjLj7fq/fkgX42QYBKarBzgX3ByBd31LuaevKpJTdqihhIej O04U2ffb3Hej+Ro3/HXU6/+ytAK1NCA2QFlvsJWPhL/jeDcaogq6zi61dKRhdfNY aHwYpMMLJ7viRTYSI/asFCpZQfT9s+6tAD5QNUzHqhh1D9LfR80DIOclDgS/sgEB jevyaCrE672XoxsI48yjzksYJ+413VZiPvEzuGSYXpckGie2mY/9r28lolboO6R/ CH93ogs3rvOUNKEQzirkmsbJJkSXTnba32f+UbCoyT64mYMW0qa/aZvR6n8qNDqC XYljUXuNLNdO9T9HhIPpiyEmyQrglExujAunsTRTSIJpajfm8bvOBQSeY3cn6mCp t5avOFWXQjVJ3lh7yxlPESv8gp5nwnS8QptbKfPz8bDQzauOFG/LGniufDFXbwgW 837z3ONjYJJDx1mNQIhXbsf1uHSLcztCsKCzRc800MEi1xaMbtGi9rE+H6AbiwBX B8b/+WhRFtn95vPtZRLAFuqnHSAtQj395AZoouLrkSPDOPsk81M= =4Zkv -----END PGP SIGNATURE-----