It seems to be working now!
 
Thank you very much.

--------------------------
Viktu Pons i Colomer
--------------------------

-----Missatge original-----
De: Heikki Vatiainen <[email protected]> 
Enviat: dijous, 28 d’octubre de 2021 18:22
Per a: Víktu Pons i Colomer <[email protected]>
A/c: [email protected]
Tema: Re: [RADIATOR] Win32::NetAdmin issue

On 28.10.2021 16.25, Heikki Vatiainen wrote:

> I compared Radiator 4.25 and 4.23 AuthLSA.pm and I think the changes 
> should not trigger this problem. In other words, I'd say the problem 
> is simply that Win32::NetAdmin is not installed.
Hello Viktu,

I took another look at the changes and I think what I wrote above is not 
correct. The problem you see can happen when you have AuthBy LSA without Group 
parameter configured. When you do a Group check indirectly from AuthBy FILE, 
Win32::NetAdmin is not loaded when it's needed.

A temporary fix for 4.24 and 4.25 is to edit 
C:/Strawberry/perl/site/lib/Radius/AuthLSA.pm
The steps are:

1) Locate this line:
use Win32::Lsa;

2) Add one line just below it so that you have:
use Win32::Lsa;
use Win32::NetAdmin;

Configurations that use Group within AuthBy LSA are not affected. Fix for this 
will be in the next release that will be out soon.

What happens is that Radiator 4.24 changed how Win32::NetAdmin is loaded. When 
AuthBy LSA has parameter Group configured, Win32::NetAdmin load is attempted 
immediately so that its absence can be logged when the configuration is loaded. 
This had the unfortunate effect of breaking the indirect use.

Thanks again for reporting this.
Heikki

--
Heikki Vatiainen <[email protected]>

Radiator: the most portable, flexible and configurable RADIUS server anywhere. 
SQL, proxy, DBM, files, LDAP, TACACS+, PAM, Active Directory, EAP, TLS, TTLS, 
PEAP, WiMAX, RSA, Vasco, Yubikey, HOTP, TOTP, DIAMETER etc. Full source on 
Unix, Windows, MacOSX, Solaris, VMS, etc.
_______________________________________________
radiator mailing list
[email protected]
https://lists.open.com.au/mailman/listinfo/radiator

Reply via email to