[isf-wifidog] token that wasn't TOKEN_UNUSED
Steven Kurylo
steven.kurylo+wifidog at aviawest.com
Ven 23 Avr 11:52:44 EDT 2010
Steven Kurylo wrote, On 4/22/10 4:21 PM:
> I've just upgraded to the lastest SVN and I can reproduce 100% "Tried to
> login with a token that wasn't TOKEN_UNUSED" when a user logs in, which
> then sends them to the denied message:
> http://192.168.0.1:80/wifidog/gw_message.php?message=denied
Ok, after further debuging, I see its wifidog/auth/index.php line 105
where the check is happening.
Its checking gw_id, user_mac, user_ip. However my $info array doesn't
have gw_id set, which explains Undefined index: gw_id in
/var/www/wifidog/auth/index.php on line 106
I've included my $info below. Any ideas? For now I'm going to remove
the gw_id check.
[now] => 2010-04-23 08:39:43.078529-07
[token_id] => c81ab269a965cb22ac5e5bfcfddb5c4d
[conn_id] => 30743
[timestamp_in] => 2010-04-23 08:35:20.365745
[node_id] => bcb62f9feca897ff2b2eb4940f67182c
[node_ip] => 192.168.0.121
[timestamp_out] =>
[user_id] => 2710e6a8d0dad64cb67f029b9e6a721d
[user_mac] => 00:0C:29:09:8D:B1
[user_ip] => 192.168.0.121
[last_updated] => 2010-04-23 08:35:20.537137
[incoming] =>
[outgoing] =>
[max_total_bytes] =>
[max_incoming_bytes] =>
[max_outgoing_bytes] =>
[expiration_date] =>
[logout_reason] =>
[token_template_id] =>
[token_status] => INUSE
[token_lot_id] =>
[token_creation_date] => 2010-04-23 08:35:20.365745
[token_issuer] => 2710e6a8d0dad64cb67f029b9e6a721d
[token_owner] => 2710e6a8d0dad64cb67f029b9e6a721d
[pass] => 1B2M2Y8AsgTpgAmY7PhCfg==
[email] =>
[account_status] => 1
[validation_token] => f49be34b4075a7a8333ef429fe9cdff8
[reg_date] => 2010-04-21 08:38:02.118908
[username] => test
[account_origin] => test
[never_show_username] => f
[prefered_locale] =>
[open_id_url] =>
[network_id] => test
[network_authenticator_class] => AuthenticatorRadius
[network_authenticator_params] => [...]
[name] => [...]
[creation_date] => 2009-09-11
[homepage_url] =>
[tech_support_email] => [...]
[validation_grace_time] => 00:20:00
[validation_email_from_address] => validation at aviawest.com
[allow_multiple_login] => t
[allow_splash_only_nodes] => f
[allow_custom_portal_redirect] => t
[gmaps_initial_latitude] =>
[gmaps_initial_longitude] =>
[gmaps_initial_zoom_level] =>
[gmaps_map_type] => G_NORMAL_MAP
[theme_pack] => ilesansfil
[connection_limit_window] =>
[connection_limit_network_max_total_bytes] =>
[connection_limit_network_max_usage_duration] =>
[connection_limit_node_max_total_bytes] =>
[connection_limit_node_max_usage_duration] =>
[allow_original_url_redirect] => t
[usernames_case_sensitive] => t
[validation_grace_time_expired] => t
More information about the WiFiDog
mailing list