This chapter describes implementation specific details of MPD.
Mpd supports authentication by calling external authentination script.
Path to that script must be specified using set auth extauth-script ...
command.
On invocation this script receives on stdin set of request attribute:value pairs terminated by empty line and must generate response in same format on stdout.
Currently supported request attributes:
USER_NAME USER_PASSWORD - for PAP only NAS_PORT NAS_PORT_TYPE CALLING_STATION_ID CALLED_STATION_ID PEER_ADDR PEER_PORT
Currently supported response attributes:
RESULT - one of SUCCESS, UNDEF (if valid USER_PASSWORD returned) or FAIL USER_NAME USER_PASSWORD FRAMED_IP_ADDRESS FRAMED_ROUTE FRAMED_IPV6_ROUTE FRAMED_MTU SESSION_TIMEOUT IDLE_TIMEOUT REPLY_MESSAGE MS_CHAP_ERROR MPD_RULE MPD_PIPE MPD_QUEUE MPD_TABLE MPD_TABLE_STATIC MPD_FILTER MPD_LIMIT
For most of attributes description look their RADIUS alternatives.