Re: (RADIATOR) Using LDAP in PreAuthHook

2003-11-02 Thread Hugh Irvine
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

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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


(RADIATOR) Using LDAP in PreAuthHook

2003-11-02 Thread Harrison Ng
Title: Using LDAP in PreAuthHook





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



** This Email is virus-scanned and identified clean.