OS2-UPM

 view release on metacpan or  search on metacpan

UPM.xs  view on Meta::CPAN

				break;
			case UPM_NOMEM: 	     
				RETVAL = "Cannot allocate required memory.";
				break;
			case UPM_LOG_FILE_NOT_FOUND: 
				RETVAL = "An execute file could not be found.";
				break;
			case UPM_FAIL_SECURITY:      
				RETVAL = "User not logged, failed security clearance.";
				break;
			case UPM_BAD_PARAMETER:      
				RETVAL = "A parameter passed was invalid.";
				break;
			case UPM_BAD_AUTHCHECK:      
				RETVAL = "Authcheck was not valid.";
				break;
			case UPM_LOG_CANCEL:	     
				RETVAL = "User has canceled from the logon panel.";
				break;
			case UPM_NOT_LOGGED:	     
				RETVAL = "A logon has not occured for this userid.";
				break;
			case UPM_LOGGED:	     
				RETVAL = "A domain logon is currently active.";
				break;
			case UPM_SYS_ERROR:	     
				RETVAL = "An unexpected system error.";
				break;
			case UPM_OPEN_SESSIONS:      
				RETVAL = "The domain logoff failed, The domain"
					 " logon has active sessions.";
				break;
			case UPM_ULP_LOADED:	     
				RETVAL = "The local logon failed, a local"
					 " logon with a user logon profile is"
					 " active.";
				break;
			case UPM_LOGGED_ELSEWHERE:   
				RETVAL = "The domain logon failed, the userid"
					 " is already logged on the domain.";
				break;
			case UPM_PASSWORD_EXP:	     
				RETVAL = "The users password is expired.";
				break;
			case UPM_UNAVAIL:	     
				RETVAL = "The logon failed, The remote node"
					 " or server could not be contacted to"
					 " process the logon request.";
				break;
			case UPM_ACTIVE:	     
				RETVAL = "The domain logon or logoff failed,"
					 " a domain logon, logoff or net"
					 " command is in process.";
				break;
			case UPM_SS_PWDEXPWARNING:   
				RETVAL = "The local logon succeeded. The users"
					 " password is expired.";
				break;
			case UPM_SS_BUSY:	     
				RETVAL = "The local logon failed. The Local"
					 " security was busy.";
				break;
			case UPM_SS_DEAD:	     
				RETVAL = "The local logon failed. Local"
					 " security has terminated unexpectedly.";
				break;
			case UPM_ERROR_MORE_DATA:    
				RETVAL = "More data is available, the buffer"
					 " provided is not large enough.";
				break;
			case UPM_MAX_ENT_EXCEEDED:   
				RETVAL = "Update failed, the input buffer"
					 " contains more than 16 entries.";
				break;
			case UPM_DUP_ULP_ENTRY:      
				RETVAL = "Two or more entries with the same"
					 " remote name and user ID were"
					 " detected.";
				break;
			case UPM_MAX_ULP_EXCEEDED:   
				RETVAL = "Database contains maximum number entries";
				break;
			case UPM_NODISK:	     
				RETVAL = "Insufficient disk space was available to"
					 " process this request";
				break;
			case UPM_PROF_NOT_FOUND:     
				RETVAL = "Did not find user logon profile for"
					 " user ID.";
				break;
			case UPM_ERROR_NONVAL_LOGON: 
				RETVAL = "Non validated Lan Server logons are not"
					 " allowed with server service started";
			default:
				sprintf(buffer, "UPM error code 0x%04X.", code);
				RETVAL = buffer;
			}
		}
	}
	OUTPUT:
		RETVAL



( run in 1.173 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )