xrootd
Functions | Variables

XrdSecProtocolpwd.cc File Reference

#include <unistd.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <strings.h>
#include <stdio.h>
#include <sys/param.h>
#include <pwd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/times.h>
#include "XrdSys/XrdSysHeaders.hh"
#include <XrdSys/XrdSysLogger.hh>
#include <XrdSys/XrdSysError.hh>
#include <XrdOuc/XrdOucStream.hh>
#include <XrdSys/XrdSysPriv.hh>
#include <XrdSut/XrdSutCache.hh>
#include <XrdSecpwd/XrdSecProtocolpwd.hh>
#include <XrdSecpwd/XrdSecpwdPlatform.hh>
Include dependency graph for XrdSecProtocolpwd.cc:

Functions

static const char * ClientStepStr (int kclt)
static const char * ServerStepStr (int ksrv)
char * XrdSecProtocolpwdInit (const char mode, const char *parms, XrdOucErrInfo *erp)
XrdSecProtocolXrdSecProtocolpwdObject (const char mode, const char *hostname, const struct sockaddr &netaddr, const char *parms, XrdOucErrInfo *erp)

Variables

static String Prefix = "xrd"
static String ProtoID = XrdSecPROTOIDENT
static const kXR_int32 Version = XrdSecpwdVERSION
static String AdminRef = "admin"
static String SrvPukRef = "srvpuk"
static String UserRef = "user"
static String NetRcRef = "netrc"
static const char * pwdClientSteps []
static const char * pwdServerSteps []
static const char * gPWErrStr []
static const short kOptsServer = 0x0001
static const short kOptsUserPwd = 0x0002
static const short kOptsAutoReg = 0x0004
static const short kOptsAregAll = 0x0008
static const short kOptsVeriSrv = 0x0020
static const short kOptsVeriClt = 0x0040
static const short kOptsClntTty = 0x0080
static const short kOptsExpCred = 0x0100
static const short kOptsCrypPwd = 0x0200
static const short kOptsChngPwd = 0x0400
static const short kOptsAFSPwd = 0x0800
static const int kOneDay = 86400

Function Documentation

static const char* ClientStepStr ( int  kclt) [static]
static const char* ServerStepStr ( int  ksrv) [static]
char* XrdSecProtocolpwdInit ( const char  mode,
const char *  parms,
XrdOucErrInfo erp 
)
XrdSecProtocol* XrdSecProtocolpwdObject ( const char  mode,
const char *  hostname,
const struct sockaddr &  netaddr,
const char *  parms,
XrdOucErrInfo erp 
)

Variable Documentation

String AdminRef = "admin" [static]

Referenced by XrdSecProtocolpwd::Init().

const char* gPWErrStr[] [static]

Referenced by XrdSecProtocolpwd::ErrF().

const int kOneDay = 86400 [static]
const short kOptsAFSPwd = 0x0800 [static]
const short kOptsAregAll = 0x0008 [static]
const short kOptsAutoReg = 0x0004 [static]
const short kOptsChngPwd = 0x0400 [static]
const short kOptsClntTty = 0x0080 [static]
const short kOptsCrypPwd = 0x0200 [static]
const short kOptsExpCred = 0x0100 [static]
const short kOptsServer = 0x0001 [static]
const short kOptsUserPwd = 0x0002 [static]
const short kOptsVeriClt = 0x0040 [static]
const short kOptsVeriSrv = 0x0020 [static]
String NetRcRef = "netrc" [static]
String Prefix = "xrd" [static]

Referenced by XrdSecProtocolpwd::Init().

String ProtoID = XrdSecPROTOIDENT [static]
const char* pwdClientSteps[] [static]
Initial value:
 {
   "kXPC_none",
   "kXPC_normal",
   "kXPC_verifysrv",
   "kXPC_signedrtag",
   "kXPC_creds",
   "kXPC_autoreg",
   "kXPC_failureack",
   "kXPC_reserved"
}

Referenced by ClientStepStr().

const char* pwdServerSteps[] [static]
Initial value:
 {
   "kXPS_none",
   "kXPS_init",
   "kXPS_credsreq",
   "kXPS_rtag",
   "kXPS_signedrtag",
   "kXPS_newpuk",
   "kXPS_puk",
   "kXPS_failure",
   "kXPS_reserved"
}

Referenced by ServerStepStr().

String SrvPukRef = "srvpuk" [static]
String UserRef = "user" [static]

Referenced by XrdSecProtocolpwd::Init().

const kXR_int32 Version = XrdSecpwdVERSION [static]