diff options
author | jim-p <jimp@pfsense.org> | 2013-10-22 11:45:02 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-10-22 11:45:36 -0400 |
commit | 9f293b1c04f9ab4eec03312364692f38690737c2 (patch) | |
tree | 185ed2c2d6bb71c47238c4b1b42b41e422cb78ab /etc/inc/radius.inc | |
parent | afdf29d3a407d4d35bc16a32c01370bcf3197574 (diff) | |
download | pfsense-9f293b1c04f9ab4eec03312364692f38690737c2.zip pfsense-9f293b1c04f9ab4eec03312364692f38690737c2.tar.gz |
Fix cisco-avpair processing, and route processing from avpair replies.
Diffstat (limited to 'etc/inc/radius.inc')
-rw-r--r-- | etc/inc/radius.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/inc/radius.inc b/etc/inc/radius.inc index 24d15b6..51a3bae 100644 --- a/etc/inc/radius.inc +++ b/etc/inc/radius.inc @@ -644,6 +644,16 @@ class Auth_RADIUS extends PEAR { } } + elseif ($vendor == 9) { /* RADIUS_VENDOR_CISCO */ + switch ($attrv) { + case 1: /* Cisco-AVPair */ + if (!is_array($this->attributes['ciscoavpair'])) + $this->attributes['ciscoavpair'] = array(); + $this->attributes['ciscoavpair'][] = radius_cvt_string($datav); + break; + } + } + elseif ($vendor == 8744) { /* Colubris / HP MSM wireless */ //documented at http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02704528/c02704528.pdf pg 15-67 if ($attrv == 0) { /* Colubris AV-Pair */ |