note 86701 added to function.radius-put-vendor-string
| From: | sebastian at sebsoft dot nl | Date: | Thu, 30 Oct 2008 16:04:54 +0000 |
| Subject: | note 86701 added to function.radius-put-vendor-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145972@lists.php.net to get a copy of this message | ||
In the PECL sources, a certain vendor specific string is included for Microsoft systems.
However, if you just want to pass something entirely different, like Cisco specifics, that's
possible.
The fact that this isn't included in the sources of the PECL doesn't mean you can't
use them.
Better said, everything there is in the dictionary of your Radius server can be put in as string.
Like the following example to write a h323-gw-id:
<?php
$res = radius_acct_open ();
radius_add_server($res,'127.0.0.1', 1813, 'mysecret', 10, 2);
radius_create_request($res, RADIUS_ACCOUNTING_REQUEST);
radius_put_vendor_string($res,9,33 ,"h323-gw-id=123456");
$result = radius_send_request($res);
?>
----
Server IP: 83.137.20.135
Probable Submitter: 87.213.64.53
----
Manual Page -- http://www.php.net/manual/en/function.radius-put-vendor-string.php
Edit -- https://master.php.net/note/edit/86701
Del: integrated -- https://master.php.net/note/delete/86701/integrated
Del: useless -- https://master.php.net/note/delete/86701/useless
Del: bad code -- https://master.php.net/note/delete/86701/bad+code
Del: spam -- https://master.php.net/note/delete/86701/spam
Del: non-english -- https://master.php.net/note/delete/86701/non-english
Del: in docs -- https://master.php.net/note/delete/86701/in+docs
Del: other reasons-- https://master.php.net/note/delete/86701
Reject -- https://master.php.net/note/reject/86701
Search -- https://master.php.net/manage/user-notes.php