version 1.20, 2006/10/03 15:25:46
|
version 1.21, 2006/10/13 18:04:52
|
|
|
PEG_TRACE_STRING(TRC_AUTHENTICATION, Tracer::LEVEL4, | PEG_TRACE_STRING(TRC_AUTHENTICATION, Tracer::LEVEL4, |
"Failed to create local auth file: " + | "Failed to create local auth file: " + |
filePath + ", " + strerror(errno)); | filePath + ", " + strerror(errno)); |
Logger::put_l(Logger::ERROR_LOG, "Authentication", Logger::SEVERE, |
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
"Security.Authentication.LocalAuthFile.NO_CREATE", | "Security.Authentication.LocalAuthFile.NO_CREATE", |
"Creation of the local authentication security file" | "Creation of the local authentication security file" |
" $0 failed: $1",filePath,strerror(errno)); | " $0 failed: $1",filePath,strerror(errno)); |
|
|
| |
// Unable to change the local auth file permissions, remove the file | // Unable to change the local auth file permissions, remove the file |
// and throw CannotOpenFile error. | // and throw CannotOpenFile error. |
Logger::put_l(Logger::ERROR_LOG, "Authentication", Logger::SEVERE, |
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
"Security.Authentication.LocalAuthFile.NO_CHMOD", | "Security.Authentication.LocalAuthFile.NO_CHMOD", |
"Changing permissions of the local authentication security file" | "Changing permissions of the local authentication security file" |
" $0 failed: $1",filePath,strerror(errno)); | " $0 failed: $1",filePath,strerror(errno)); |
|
|
"Failed to write security token to file: " | "Failed to write security token to file: " |
+ filePath ); | + filePath ); |
| |
Logger::put_l(Logger::ERROR_LOG, "Authentication", Logger::SEVERE, |
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
"Security.Authentication.LocalAuthFile.NO_WRITE", | "Security.Authentication.LocalAuthFile.NO_WRITE", |
"Cannot write security token to the local authentication" | "Cannot write security token to the local authentication" |
" security file $0.",filePath); | " security file $0.",filePath); |
|
|
| |
// Unable to change the local auth file permissions, remove the file | // Unable to change the local auth file permissions, remove the file |
// and throw CannotOpenFile error. | // and throw CannotOpenFile error. |
Logger::put_l(Logger::ERROR_LOG, "Authentication", Logger::SEVERE, |
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
"Security.Authentication.LocalAuthFile.NO_CHMOD", | "Security.Authentication.LocalAuthFile.NO_CHMOD", |
"Changing permissions of the local authentication security file" | "Changing permissions of the local authentication security file" |
" $0 failed: $1",filePath,strerror(errno)); | " $0 failed: $1",filePath,strerror(errno)); |
|
|
// Unable to change owner on local auth file, remove the file | // Unable to change owner on local auth file, remove the file |
// and throw CannotOpenFile error. | // and throw CannotOpenFile error. |
| |
Logger::put_l(Logger::ERROR_LOG, "Authentication", Logger::SEVERE, |
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::SEVERE, |
"Security.Authentication.LocalAuthFile.NO_CHOWN_REQUSER", | "Security.Authentication.LocalAuthFile.NO_CHOWN_REQUSER", |
"Changing ownership of the local authentication" | "Changing ownership of the local authentication" |
" security file $0 to the requesting user failed: $1" | " security file $0 to the requesting user failed: $1" |
|
|
#endif | #endif |
if(rc == -1 ) | if(rc == -1 ) |
{ | { |
Logger::put_l(Logger::ERROR_LOG, "Authentication", Logger::WARNING, |
Logger::put_l(Logger::ERROR_LOG, System::CIMSERVER, Logger::WARNING, |
"Security.Authentication.LocalAuthFile.NO_CHOWN", | "Security.Authentication.LocalAuthFile.NO_CHOWN", |
"Changing ownership of the local authentication" | "Changing ownership of the local authentication" |
" security file back to the CIMServer UserId failed."); | " security file back to the CIMServer UserId failed."); |