|
xrootd
|
#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 <XrdSys/XrdSysPwd.hh>#include <XrdOuc/XrdOucStream.hh>#include <XrdSys/XrdSysPriv.hh>#include <XrdSut/XrdSutCache.hh>#include <XrdSecpwd/XrdSecProtocolpwd.hh>#include <XrdSecpwd/XrdSecpwdPlatform.hh>
Functions | |
| static const char * | ClientStepStr (int kclt) |
| static const char * | ServerStepStr (int ksrv) |
| 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) |
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 |
|
static |
References kXPC_normal, kXPC_reserved, and pwdClientSteps.
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
|
static |
References kXPS_init, kXPS_reserved, and pwdServerSteps.
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
| char* XrdSecProtocolpwdInit | ( | const char | mode, |
| const char * | parms, | ||
| XrdOucErrInfo * | erp | ||
| ) |
References pwdOptions::alog, pwdOptions::alogfile, pwdOptions::areg, XrdOucString::c_str(), pwdOptions::clist, pwdOptions::cpass, pwdOptions::debug, pwdOptions::dir, pwdOptions::expcreds, XrdOucTokenizer::GetLine(), XrdOucTokenizer::GetToken(), XrdSecProtocolpwd::Init(), pwdOptions::keepcreds, XrdOucString::length(), pwdOptions::lifecreds, pwdOptions::maxfailures, pwdOptions::maxprompts, pwdOptions::mode, opts, pwdOptions::srvpuk, strlcpy(), pwdOptions::syspwd, pwdOptions::udir, pwdOptions::upwd, pwdOptions::vericlnt, pwdOptions::verisrv, and XrdSutParseTime().
| XrdSecProtocol* XrdSecProtocolpwdObject | ( | const char | mode, |
| const char * | hostname, | ||
| const struct sockaddr & | netaddr, | ||
| const char * | parms, | ||
| XrdOucErrInfo * | erp | ||
| ) |
References XrdOucErrInfo::setErrInfo(), and XrdSecNOIPCHK.
|
static |
Referenced by XrdSecProtocolpwd::Init().
|
static |
Referenced by XrdSecProtocolpwd::ErrF().
|
static |
|
static |
Referenced by XrdSecProtocolpwd::Authenticate().
|
static |
|
static |
|
static |
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
|
static |
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
|
static |
Referenced by XrdSecProtocolpwd::Authenticate().
|
static |
Referenced by XrdSecProtocolpwd::Authenticate().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Referenced by XrdSecProtocolpwd::Init().
|
static |
|
static |
Referenced by ClientStepStr().
|
static |
Referenced by ServerStepStr().
|
static |
|
static |
Referenced by XrdSecProtocolpwd::Init().
|
static |
1.8.1.2