version 1.23, 2001/02/08 10:47:04 |
version 1.24, 2001/02/08 19:30:52 |
|
|
* authenticate using the agent. |
* authenticate using the agent. |
*/ |
*/ |
int |
int |
try_agent_authentication() |
try_agent_authentication(void) |
{ |
{ |
int type; |
int type; |
char *comment; |
char *comment; |
|
|
|
|
#ifdef KRB4 |
#ifdef KRB4 |
int |
int |
try_kerberos_authentication() |
try_kerberos_authentication(void) |
{ |
{ |
KTEXT_ST auth; /* Kerberos data */ |
KTEXT_ST auth; /* Kerberos data */ |
char *reply; |
char *reply; |
|
|
|
|
#ifdef AFS |
#ifdef AFS |
int |
int |
send_kerberos_tgt() |
send_kerberos_tgt(void) |
{ |
{ |
CREDENTIALS *creds; |
CREDENTIALS *creds; |
char pname[ANAME_SZ], pinst[INST_SZ], prealm[REALM_SZ]; |
char pname[ANAME_SZ], pinst[INST_SZ], prealm[REALM_SZ]; |
|
|
* Note that the client code is not tied to s/key or TIS. |
* Note that the client code is not tied to s/key or TIS. |
*/ |
*/ |
int |
int |
try_challenge_reponse_authentication() |
try_challenge_reponse_authentication(void) |
{ |
{ |
int type, i; |
int type, i; |
int payload_len; |
int payload_len; |