PHP.nl

radius_put_vendor_attr

radius_put_vendor_attr

Attaches a vendor specific binary attribute

bool **radius_put_vendor_attr** resource $radius_handle int $vendor int $type string $value int $options int $tag

Attaches a vendor specific binary attribute to the current RADIUS request.

valueThe attribute value, which will be treated as a raw binary string.

return.success

Voorbeeld: example

<?php
if (!radius_put_vendor_attr($res, RADIUS_VENDOR_MICROSOFT, RAD_MICROSOFT_MS_CHAP_CHALLENGE, $challenge)) {
    echo 'RadiusError:' . radius_strerror($res). "\n<br />";
    exit;
}
?>

radius_get_vendor_attr