(RADIATOR) Using LDAP in PreAuthHook

Hugh Irvine hugh at open.com.au
Sun Nov 2 21:53:19 CST 2003


Hello Harrison -

This topic has been discussed on the list several times:

	www.open.com.au/archives/radiator

And there are some example hooks in the file "goodies/hooks.txt".

BTW - it might be simpler to use the Class attribute when processing 
the access request.

regards

Hugh


On 03/11/2003, at 2:28 PM, Harrison Ng wrote:

> Hi,
>
> My problem is when radiator processing accounting request packets (ie. 
> accounting-start/accounting-stop),
> it should query external LDAP database for new attribute-value (a-v) 
> pairs, then either append/replace these
> a-v pairs to/in current request packet.
>
> Can anyone give me direction on how to write PreAuthHook using LDAP 
> and how to call functions in AuthLDAP2.pm modules.
>
> Regards,
> Harrison
> <InterScan_Disclaimer.txt>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list