Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes pf::LDAP does not expire properly connection on an error #1748

Closed
jrouzierinverse opened this issue Oct 6, 2016 · 2 comments
Closed

Comments

@jrouzierinverse
Copy link
Member

No description provided.

@jrouzierinverse jrouzierinverse self-assigned this Oct 6, 2016
@fdurand
Copy link
Member

fdurand commented Oct 6, 2016

Here an example:

Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] handling radius autz request: from switch_ip => (127.0.0.1), connection_type => Wireless-802.11-EAP,switch_mac => (01:23:45:67:89:01), mac => [02:00:00:00:00:01], port => 0, username => "secadmin", ssid => PACKETFENCE-DOT1X (pf::radius::authorize)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Instantiate profile wireless_8021x_peap (pf::Portal::ProfileFactory::_from_profile)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Realm source undef is configured in the realm NULL but is not in the portal profile. Ignoring it and using the portal profile sources. (pf::config::util::get_user_sources)
Oct 06 15:12:13 httpd.aaa(3185) WARN: [mac:02:00:00:00:00:01] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Using sources ActiveDirectory_wireless_secure_peap_user, ActiveDirectory_wireless_secure_peap_machine for matching (pf::authentication::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Matched rule (User_exception) in source ActiveDirectory_wireless_secure_peap_user, returning actions. (pf::Authentication::Source::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Using sources ActiveDirectory_wireless_secure_peap_user, ActiveDirectory_wireless_secure_peap_machine for matching (pf::authentication::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Matched rule (User_exception) in source ActiveDirectory_wireless_secure_peap_user, returning actions. (pf::Authentication::Source::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] autoregister a node that is already registered, do nothing. (pf::node::node_register)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Realm source undef is configured in the realm NULL but is not in the portal profile. Ignoring it and using the portal profile sources. (pf::config::util::get_user_sources)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Using sources ActiveDirectory_wireless_secure_peap_user, ActiveDirectory_wireless_secure_peap_machine for matching (pf::authentication::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Matched rule (User_exception) in source ActiveDirectory_wireless_secure_peap_user, returning actions. (pf::Authentication::Source::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Using sources ActiveDirectory_wireless_secure_peap_user, ActiveDirectory_wireless_secure_peap_machine for matching (pf::authentication::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Matched rule (User_exception) in source ActiveDirectory_wireless_secure_peap_user, returning actions. (pf::Authentication::Source::match)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Username was defined "secadmin" - returning role 'default' (pf::role::getRegisteredRole)
Oct 06 15:12:13 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] PID: "secadmin", Status: reg Returned VLAN: (undefined), Role: default (pf::role::fetchRoleForNode)
Oct 06 15:12:13 httpd.aaa(3185) WARN: [mac:02:00:00:00:00:01] No parameter defaultVlan found in conf/switches.conf for the switch 127.0.0.1 (pf::Switch::getVlanByName)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] handling radius autz request: from switch_ip => (127.0.0.1), connection_type => Wireless-802.11-EAP,switch_mac => (01:23:45:67:89:01), mac => [02:00:00:00:00:01], port => 0, username => "secadmin", ssid => PACKETFENCE-DOT1X (pf::radius::authorize)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Instantiate profile wireless_8021x_peap (pf::Portal::ProfileFactory::_from_profile)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Memory configuration is not valid anymore for key resource::authentication_sources in local cached_hash (pfconfig::cached::is_valid)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Realm source undef is configured in the realm NULL but is not in the portal profile. Ignoring it and using the portal profile sources. (pf::config::util::get_user_sources)
Oct 06 15:12:14 httpd.aaa(3185) WARN: [mac:02:00:00:00:00:01] Calling match with empty/invalid rule class. Defaulting to 'authentication' (pf::authentication::match)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Using sources ActiveDirectory_wireless_secure_peap_user, ActiveDirectory_wireless_secure_peap_machine for matching (pf::authentication::match)
Oct 06 15:12:14 httpd.aaa(3185) ERROR: [mac:02:00:00:00:00:01] Error binding 'Connexion ré-initialisée par le correspondant' (pf::LDAP::bind)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Matched rule (deny_all) in source ActiveDirectory_wireless_secure_peap_user, returning actions. (pf::Authentication::Source::match)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Using sources ActiveDirectory_wireless_secure_peap_user, ActiveDirectory_wireless_secure_peap_machine for matching (pf::authentication::match)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Matched rule (deny_all) in source ActiveDirectory_wireless_secure_peap_user, returning actions. (pf::Authentication::Source::match)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] autoregister a node that is already registered, do nothing. (pf::node::node_register)
Oct 06 15:12:14 httpd.aaa(3185) INFO: [mac:02:00:00:00:00:01] Realm source undef is configured in the realm NULL but is not in the portal profile. Ignoring it and using the portal profile sources. (pf::config::util::get_user_sources)

@jrouzierinverse
Copy link
Member Author

This cannot be a patch release as it requires a new module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants