|
Coda Distributed File System
|
#include <sys/param.h>#include <sys/stat.h>#include <sys/types.h>#include <sys/wait.h>#include <sys/ioctl.h>#include <sys/file.h>#include <netinet/in.h>#include <stdio.h>#include "coda_string.h"#include <unistd.h>#include <stdlib.h>#include <errno.h>#include <fcntl.h>#include <lwp/lwp.h>#include <pioctl.h>#include <rpc2/rpc2.h>#include <util.h>#include <prs.h>#include "auth2.h"#include "auth2.common.h"#include "auser.h"#include <codaconf.h>#include <parse_realms.h>
Functions | |
| void | U_HostToNetClearToken (ClearToken *cToken) |
| void | U_NetToHostClearToken (ClearToken *cToken) |
| int | U_Authenticate (struct RPC2_addrinfo *srvs, const char *uName, const int uNamelen, OUT ClearToken *cToken, OUT EncryptedSecretToken sToken, const int verbose, const int interactive) |
| int | U_ChangePassword (struct RPC2_addrinfo *srvs, const char *uName, const char *newPasswd, const char *myName, const int myNamelen, const char *myPasswd, const int myPasswdlen) |
| void | U_InitRPC () |
| char * | U_AuthErrorMsg (const int rc) |
| struct RPC2_addrinfo * | U_GetAuthServers (const char *realm, const char *host) |
| int | U_BindToServer (struct RPC2_addrinfo *srvs, const char *uName, const int uNamelen, const char *uPasswd, const int uPasswdlen, RPC2_Handle *RPCid, const int interactive) |
| char * | U_Error (const int rc) |
| int U_Authenticate | ( | struct RPC2_addrinfo * | srvs, |
| const char * | uName, | ||
| const int | uNamelen, | ||
| OUT ClearToken * | cToken, | ||
| OUT EncryptedSecretToken | sToken, | ||
| const int | verbose, | ||
| const int | interactive | ||
| ) |
| char * U_AuthErrorMsg | ( | const int | rc | ) |
| int U_BindToServer | ( | struct RPC2_addrinfo * | srvs, |
| const char * | uName, | ||
| const int | uNamelen, | ||
| const char * | uPasswd, | ||
| const int | uPasswdlen, | ||
| RPC2_Handle * | RPCid, | ||
| const int | interactive | ||
| ) |
| int U_ChangePassword | ( | struct RPC2_addrinfo * | srvs, |
| const char * | uName, | ||
| const char * | newPasswd, | ||
| const char * | myName, | ||
| const int | myNamelen, | ||
| const char * | myPasswd, | ||
| const int | myPasswdlen | ||
| ) |
| char * U_Error | ( | const int | rc | ) |
| struct RPC2_addrinfo * U_GetAuthServers | ( | const char * | realm, |
| const char * | host | ||
| ) |
| void U_HostToNetClearToken | ( | ClearToken * | cToken | ) |
| static void U_InitRPC | ( | ) |
| void U_NetToHostClearToken | ( | ClearToken * | cToken | ) |