236
K
DAK
KwikNet PPP Option
...continued
Returns For operations which return a pointer to an authentication parameter in the
storage at *outbuf, an integer n is returned. The value of n reflects the
success or failure of the request.
n>=0 Length of the authentication parameter referenced by the
character pointer stored at *outbuf
n=-1
Authentication parameter is not available
For operation code KN_PPPAUTH_PPCHECK, an integer n is returned which
reflects the success or failure of the validity check requested.
n=1 The peer's PAP name and password are valid.
n=0 The peer's PAP name and password are NOT valid.
Restriction When called upon to authenticate the peer's name, this function does not
receive a network descriptor pointer. Parameter netdp is NULL. The
sample implementation of procedure kn_ppp_admin in file KN_PPPAA.C
unconditionally compares the peer name with that specified for the first
network interface described in array kn_ppp_auth[].
Comments to this Manuals