| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
radscm: A Guile Interface to Radius Functions
radscm is a Scheme interpreter based on Guile with the addition
of special functions and variables for communicating with
radiusd. This chapter concentrates on the special features
provided by radscm. Refer to Guile documentation for
information about Scheme and Guile (see section `Overview' in The Guile Reference Manual).
(list id-str host-str secret-str auth-num acct-num
cntl-num)
|
where the arguments are as follows:
| id-str | Server ID |
| host-str | Server hostname or IP |
| secret-str | Shared secret key to use |
| auth-num | Authentication port number |
| acct-num | Accounting port number |
| cntl-num | Control channel port number |
rad-client-set-server or
rad-client-add-server.
| 0 | Authentication port |
| 1 | Accounting port |
| 2 | Control port |
(cons attr-name-str value) |
(cons attr-number value) |
Return: On success,
(list return-code-number pair-list) |
'() |
rad-send-internal,
but if verbose is specified, the verbose report about interaction with
the radius server is printed.
(list id-str host-str secret-str auth-num acct-num
cntl-num)
|
| id-str | Server ID |
| host-str | Server hostname or IP |
| secret-str | Shared secret key to use |
| auth-num | Authentication port number |
| acct-num | Accounting port number |
| cntl-num | Control channel port number |
(list id-str host-str secret-str auth-num acct-num
cntl-num)
|
where the elements are as follows:
| id-str | Server ID |
| host-str | Server hostname or IP |
| secret-str | Shared secret key to use |
| auth-num | Authentication port number |
| acct-num | Accounting port number |
| cntl-num | Control channel port number |
getpass(3) function.
format
(see section `Formatted Output' in The Guile Reference Manual.)
format.
pair is either
(cons name-str value) |
(cons attr-number value) |
(cons name-str value) |
(cons attr-number value) |
All Reply-Message pairs from the list are concatenated and displayed
as one.
Reply-Message pairs from
pair-list. If text is specified, it is printed before the
concatenated
text.
rad-server-list, print its ID and hostname
or IP.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |