note 65242 added to ref.radius
| From: | shaun at verticalevolution dot com | Date: | Thu, 27 Apr 2006 15:03:51 +0000 |
| Subject: | note 65242 added to ref.radius | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-109856@lists.php.net to get a copy of this message | ||
To expand on the simple example by jengo at phpgroupware dot org you can add a NAS IP address to the
request by using:
radius_put_addr($radius, RADIUS_NAS_IP_ADDRESS, '127.0.0.1');
and not radius_put_attr or radius_put_string. I also had to use radius_put_string for the user name
and password.
----
Server IP: 66.163.161.117
Probable Submitter: 216.249.40.236
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.radius.php
Edit -- http://master.php.net/note/edit/65242
Del: integrated -- http://master.php.net/note/delete/65242/integrated
Del: useless -- http://master.php.net/note/delete/65242/useless
Del: bad code -- http://master.php.net/note/delete/65242/bad+code
Del: spam -- http://master.php.net/note/delete/65242/spam
Del: non-english -- http://master.php.net/note/delete/65242/non-english
Del: in docs -- http://master.php.net/note/delete/65242/in+docs
Del: other reasons-- http://master.php.net/note/delete/65242
Reject -- http://master.php.net/note/reject/65242
Search -- http://master.php.net/manage/user-notes.php