Re: Sending SyslogIdent value to Login.html
"LondonCowgirl E" <[email protected]> Fri, 30 Jun 2006 09:27:00 +0000
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
That is exactly what I am attempting to do; identify the access point the user is loggin in from. If anyone has an idea on how to do this, I would really appreciate the help. >From: "Colin White" <[email protected]> >To: "LondonCowgirl E" <[email protected]> >CC: [email protected] >Subject: Re: [NoCat] Sending SyslogIdent value to Login.html >Date: Fri, 30 Jun 2006 10:17:09 +0100 > >Are you attempting to identify the access point / gateway that a user >is logging in from? > > > >On 6/30/06, LondonCowgirl E <[email protected]> wrote: >>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 >> >> >>_______________________________________________ >>NoCat mailing list >>[email protected] >>http://lists.nocat.net/mailman/listinfo/nocat >> > > >-- >Colin A. White >--- >E : [email protected] >M : +44 (0)7973 198931 >W : http://colin.trematon.com _________________________________________________________________ Windows LiveĀ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb _______________________________________________ NoCat mailing list [email protected] http://lists.nocat.net/mailman/listinfo/nocat