logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Radius Module for Windows Apache ?
Author
Kruschii



Joined: 28 Sep 2022
Posts: 4
Location: MUC

PostPosted: Thu 29 Sep '22 10:26    Post subject: Radius Module for Windows Apache ? Reply with quote

Hello,

the last days i am looking for this, has anyone an idea ?

Greetings, Peter
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Sun 02 Oct '22 22:02    Post subject: Reply with quote

The source code is available at https://github.com/FreeRADIUS/mod_auth_radius

How ever, does it need to be Radius? There are other options like LDAP (included in Apache 2.4) and over NTLM https://github.com/TQsoft-GmbH/mod_authn_ntlm
Back to top
Kruschii



Joined: 28 Sep 2022
Posts: 4
Location: MUC

PostPosted: Sun 02 Oct '22 23:21    Post subject: Reply with quote

Hello,

i know but i am not able to compile under windows, i install mingw and also visual studio ... but so much problems and errors and i dont unterstand all the errors, i am not an programmer ...

greets, Peter
Back to top
tangent
Moderator


Joined: 16 Aug 2020
Posts: 312
Location: UK

PostPosted: Mon 03 Oct '22 20:18    Post subject: Reply with quote

I had a quick look at the mod_auth_radius.c code, and soon realised it's Unix centric (POSIX based), and doesn't currently support a Windows code alternative.

If you're up for programming, you'd need to replace the Unix socket code with its Windows equivalent (Winsock), along with some of the time based functions such as gettimeofday() in the random_vector_get() function. There is example code out there on the net, that would help you with this, but if you're not up for that level of programming and debug testing, I think you'll need to go with an alternative auth mechanism as suggested by James Blond.
Back to top
Kruschii



Joined: 28 Sep 2022
Posts: 4
Location: MUC

PostPosted: Mon 03 Oct '22 20:58    Post subject: Reply with quote

Hello and thx for the answer .... its to high for me.
I can wait ... maybe some day another people will compile it for windows. I can not believe i am the only one using an windows server with radius auth.

but again, thanks for answer.

greets, Peter
Back to top


Reply to topic   Topic: Radius Module for Windows Apache ? View previous topic :: View next topic
Post new topic   Forum Index -> Apache