Lines Matching refs:radius
22 protected $radius = null; variable in auth_plugin_authradius
53 $this->radius = radius_auth_open();
57 if (!radius_add_server($this->radius,$hosts[$i],$port,$secret,$timeout,$tries)){
58 msg("Radius err: ". radius_strerror($this->radius),-1,__LINE__,__FILE__);
73 if (! radius_create_request($this->radius,RADIUS_ACCESS_REQUEST)) {
74 msg("Radius err: ". radius_strerror($this->radius),-1,__LINE__,__FILE__);
77 radius_put_attr($this->radius,RADIUS_USER_NAME,$user);
83 radius_put_attr($this->radius,RADIUS_USER_PASSWORD,$pass);
90 …if (!radius_put_vendor_attr($this->radius, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_CHAP_CHALL…
91 … msg("RadiusError: RADIUS_MICROSOFT_MS_CHAP_CHALLENGE:" . radius_strerror($this->radius));
103 …if (!radius_put_vendor_attr($this->radius, RADIUS_VENDOR_MICROSOFT, RADIUS_MICROSOFT_MS_CHAP2_RESP…
104 … msg("RadiusError: RADIUS_MICROSOFT_MS_CHAP2_RESPONSE:" . radius_strerror($this->radius));
110 radius_put_attr($this->radius,RADIUS_USER_PASSWORD,$pass);
115 switch (radius_send_request($this->radius)) {
121 while ($resa = radius_get_attr($this->radius)) {
123 msg("Error getting attribute: %s\n", radius_strerror($this->radius));
136 msg("Radius Error: " . radius_strerror($this->radius));
144 msg('Radius Error: ('.$user.') ' . radius_strerror($this->radius),-1,__LINE__,__FILE__);