[NoCat] Sending SyslogIdent value to Login.html
LondonCowgirl E
london_cowgirl at hotmail.com
Fri Jun 30 02:09:18 PDT 2006
I would like to send the SyslogIdent value found in the nocat.conf file (on
the a/p) to the login.html file. I can then set it as a hidden form value
and pass it along to my html.
To do this, I edited the Passive.pm file residing on the server as follows:
sub capture_params
{
my ( $self, $peer, $request ) = @_;
return {
mac => $peer->id,
token => $peer->token,
redirect => $request,
timeout => $self->{LoginTimeout},
ident => $self->{SyslogIdent}, <----NEW LINE ADDED HERE
gateway => $peer->socket->sockhost . ":$self->{GatewayPort}"
};
}
I also edited the login.html file to include the following line:
<input type="hidden" name="ident" value="$ident">
The "$ident" value is always empty, so something isn't working correctly.
Can anyone assist me with this? Or suggest another way to pull the
SyslogIdent value from the access point to the login.html page.
Any assistance greatly appreciated.
Carla
_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters!
http://www.msn.co.uk/newsletters
More information about the NoCat
mailing list