|
XRootD
|
#include <unistd.h>#include <cctype>#include <cerrno>#include <cstdlib>#include <strings.h>#include <cstdio>#include <sys/param.h>#include <pwd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <sys/times.h>#include "XrdVersion.hh"#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/XrdSutPFCache.hh"#include "XrdSecpwd/XrdSecProtocolpwd.hh"#include "XrdSecpwd/XrdSecpwdPlatform.hh"
Include dependency graph for XrdSecProtocolpwd.cc:Go to the source code of this file.
Macros | |
| #define | POPTS(t, y) {if (t) {t->Beg(epname); std::cerr <<y; t->End();}} |
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, XrdNetAddrInfo &endPoint, const char *parms, XrdOucErrInfo *erp) |
| XrdVERSIONINFO (XrdSecProtocolpwdInit, secpwd) | |
| XrdVERSIONINFO (XrdSecProtocolpwdObject, secpwd) | |
Variables | |
| static String | AdminRef = ProtoID + "admin" |
| static const char * | gPWErrStr [] |
| static 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 = ProtoID + "netrc" |
| static String | Prefix = "xrd" |
| static String | ProtoID = XrdSecPROTOIDENT |
| static const char * | pwdClientSteps [] |
| static const char * | pwdServerSteps [] |
| XrdOucTrace * | pwdTrace = 0 |
| static String | SrvPukRef = ProtoID + "srvpuk" |
| static String | UserRef = ProtoID + "user" |
| static const kXR_int32 | Version = XrdSecpwdVERSION |
| #define POPTS | ( | t, | |
| y | |||
| ) | {if (t) {t->Beg(epname); std::cerr <<y; t->End();}} |
Definition at line 61 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 215 of file XrdSecProtocolpwd.cc.
References kXPC_normal, kXPC_reserved, and pwdClientSteps.
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
Here is the caller graph for this function:
|
static |
Definition at line 231 of file XrdSecProtocolpwd.cc.
References kXPS_init, kXPS_reserved, and pwdServerSteps.
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
Here is the caller graph for this function:| char* XrdSecProtocolpwdInit | ( | const char | mode, |
| const char * | parms, | ||
| XrdOucErrInfo * | erp | ||
| ) |
Definition at line 1677 of file XrdSecProtocolpwd.cc.
References XrdOucString::c_str(), myOpts::debug, XrdSecProtocolpwd::EnableTracing(), EPNAME, XrdOucTokenizer::GetLine(), XrdOucTokenizer::GetToken(), if(), XrdSecProtocolpwd::Init(), XrdOucString::length(), opts, PRINT, pwdTrace, strlcpy(), and XrdSutParseTime().
Here is the call graph for this function:| XrdSecProtocol* XrdSecProtocolpwdObject | ( | const char | mode, |
| const char * | hostname, | ||
| XrdNetAddrInfo & | endPoint, | ||
| const char * | parms, | ||
| XrdOucErrInfo * | erp | ||
| ) |
Definition at line 1903 of file XrdSecProtocolpwd.cc.
References XrdOucErrInfo::setErrInfo(), and XrdSecNOIPCHK.
Here is the call graph for this function:| XrdVERSIONINFO | ( | XrdSecProtocolpwdInit | , |
| secpwd | |||
| ) |
| XrdVERSIONINFO | ( | XrdSecProtocolpwdObject | , |
| secpwd | |||
| ) |
Definition at line 73 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Init().
|
static |
Definition at line 101 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 155 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 153 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Authenticate().
|
static |
Definition at line 146 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 145 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 152 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
|
static |
Definition at line 149 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Authenticate(), and XrdSecProtocolpwd::getCredentials().
|
static |
Definition at line 151 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Authenticate().
|
static |
Definition at line 150 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Authenticate().
|
static |
Definition at line 143 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 144 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 148 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 147 of file XrdSecProtocolpwd.cc.
Definition at line 76 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Init().
|
static |
Definition at line 70 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Init().
|
static |
Definition at line 71 of file XrdSecProtocolpwd.cc.
|
static |
Definition at line 78 of file XrdSecProtocolpwd.cc.
Referenced by ClientStepStr().
|
static |
Definition at line 89 of file XrdSecProtocolpwd.cc.
Referenced by ServerStepStr().
| XrdOucTrace* pwdTrace = 0 |
Definition at line 209 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Init(), and XrdSecProtocolpwdInit().
Definition at line 74 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Init().
Definition at line 75 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::Init().
|
static |
Definition at line 72 of file XrdSecProtocolpwd.cc.
Referenced by XrdSecProtocolpwd::XrdSecProtocolpwd(), XrdSecProtocolpwd::getCredentials(), and XrdSecProtocolpwd::Init().