Hello Brandon -
On Mon, 17 Apr 2000, Brandon wrote:
>
> When doing a postauthhook, or reply handler hook... how do you get the username
> before the "stripping" of the realm takes place. Currently I am doing .....
>
> my $username = $p->getUserName();
>
> and it seems to be giving me the username after the rewrite takes place.
>
To get the original username, do this:
my $username = $p->{OriginalUserName};
BTW - there are some example hooks in the patches area:
http://www.open.com.au/radiator/downloads/patches-2.15/hooks.txt
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.