irods
4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems. Fossies Dox: irods-4.2.8.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file.
51 "role not supported [%s]",
61 rodsLog(
LOG_NOTICE,
"rsPamAuthRequest: could not establish SSL connection, status %d",
72 rodsLog(
LOG_NOTICE,
"rsPamAuthRequest: rcPamAuthRequest to remote server failed, status %d",
84 #ifndef PAM_AUTH_CHECK_PROG
85 #define PAM_AUTH_CHECK_PROG "./irodsPamAuthCheck"
93 if ( pipe( p2cp ) < 0 ) {
106 if ( write( p2cp[1], password, strlen( password ) ) == -1 ) {
108 irods::log(
ERROR( errsv,
"Error during write from parent to child." ) );
117 if ( dup2( p2cp[0], 0 ) == -1 ) {
119 irods::log(
ERROR( errsv,
"Error duplicating the file descriptor." ) );
125 printf(
"execl failed %d\n", i );
140 result = *pamAuthRequestOut;
void rodsLog(int level, const char *formatStr,...)
const std::string CFG_SERVICE_ROLE_CONSUMER("consumer")
@ SYS_SERVICE_ROLE_NOT_SUPPORTED
@ PAM_AUTH_PASSWORD_FAILED
#define PASS(prev_error_)
int runPamAuthCheck(char *username, char *password)
int rsPamAuthRequest(rsComm_t *rsComm, pamAuthRequestInp_t *pamAuthRequestInp, pamAuthRequestOut_t **pamAuthRequestOut)
const std::string CFG_SERVICE_ROLE_PROVIDER("provider")
int sslEnd(rcComm_t *rcComm)
int rcPamAuthRequest(rcComm_t *conn, pamAuthRequestInp_t *pamAuthRequestInp, pamAuthRequestOut_t **pamAuthRequestOut)
#define ERROR(code_, message_)
int getAndConnRcatHost(rsComm_t *rsComm, int rcatType, const char *rcatZoneHint, rodsServerHost_t **rodsServerHost)
int sslStart(rcComm_t *rcComm)
irods::error get_catalog_service_role(std::string &_role)
int _rsPamAuthRequest(rsComm_t *rsComm, pamAuthRequestInp_t *pamAuthRequestInp, pamAuthRequestOut_t **pamAuthRequestOut)
int rcDisconnect(rcComm_t *conn)
@ PAM_AUTH_NOT_BUILT_INTO_SERVER
#define PAM_AUTH_CHECK_PROG
int chlUpdateIrodsPamPassword(rsComm_t *rsComm, const char *userName, int timeToLive, const char *testTime, char **irodsPassword)