windows-nt/Source/XPSP1/NT/net/sfm/uam/uam5src/uamrsrc/uamstandard.r
2020-09-26 16:20:57 +08:00

1 line
5.5 KiB
R

/* UAMStandard.r
Copyright © 1997-2000, Microsoft Corp. All Rights Reserved World Wide.
Michael J. Conrad
Microsoft Corp.
04/22/97 MJC - Original draft.
02/20/98 MJC - Updated for TCP/IP UAM.
*/
#include <types.r>
#include <systypes.r>
#include "uamtypes.r"
resource 'uamg' (0) {
2, //Version of UAM SDK we're using
3, //UAM Class
32, //Password length
noUseDefaultPwdDlg, //We have a custom pswd dialog
useDefaultVolDlg, //Use default volume dialog (chooser only)
139, //Our UAM ID (randomly selected)
noBMLSupport //Reserved field
};
resource 'uamn' (0) {
"Microsoft Authentication V5.0"
};
resource 'uamn' (1) {
"Microsoft V1.0"
};
resource 'uamn' (2) {
"(Microsoft Encryption)"
};
resource 'uama' (128) {
{
02,
00,
"AFP2.2",
/* [1] */
07, // "major" associated system version
00, // "minor" associated system version
"AFPVersion 2.1",
/* [2] */
06, // "major" associated system version
03, // "minor" associated system version
"AFPVersion 2.0",
/* [3] */
06, // "major" associated system version
00, // "minor" associated system version
"AFPVersion 1.1"
}
};
/*******************************************/
/* ASP Errors */
/*******************************************/
resource 'STR ' (-1066) {
"The server cannot support accept the version of Appletalk Session Protocol on this workstation."
};
resource 'STR ' (-1068) {
"The server was unable to open another session."
};
resource 'STR ' (-1070) {
"The server refused to open a session."
};
resource 'STR ' (-1071) {
"The server will not allow additional users to logon. Try again later."
};
resource 'STR ' (-1072) {
"The server unexpectedly closed the session."
};
resource 'STR ' (-1074) {
"The server currently has too many clients logged on."
};
/*******************************************/
/* AFP Errors */
/*******************************************/
resource 'STR ' (-5000) {
"The server does not recognize the user name."
};
resource 'STR ' (-5002) {
"The server cannot accept the chosen user authentication method."
};
resource 'STR ' (-5003) {
"The server cannot accept the version of AppleTalk Filing Protocol on this workstation."
};
resource 'STR ' (-5014) {
"A miscellaneous AFP error ocurred."
};
resource 'STR ' (-5016) {
"The indicated server could not be found on the network."
};
resource 'STR ' (-5019) {
"The server does not recognize the user name."
};
resource 'STR ' (-5022) {
"The session is closed."
};
resource 'STR ' (-5023) {
"Your user name or password are incorrect. Login failed."
};
resource 'STR ' (-5027) {
"The server could not open a session because it is shutting down."
};
resource 'STR ' (-5042) {
"Your password has expired on this server. You must change it before you can logon."
};
/*******************************************/
/* NT Errors */
/*******************************************/
resource 'STR ' (-13000) {
"Your New and Verified passwords do not match, try again."
};
resource 'STR ' (-13001) {
"Server refused to changed password. Ensure old password is correct."
};
resource 'STR ' (-13002) {
"Your account is currently disabled on this server."
};
resource 'STR ' (-13003) {
"You do not have permission to log on to this server from this workstation."
};
resource 'STR ' (-13004) {
"You are not allowed to log on to this server at this time. Try again later."
};
resource 'STR ' (-13005) {
"Your password has expired on this server. You must change it before you can logon."
};
resource 'STR ' (-13006) {
"You are not allowed to change your password on this server."
};
resource 'STR ' (-13007) {
"Unable to change password: your new password is too short for this server."
};
resource 'STR ' (-13008) {
"Unable to change password: your password was changed too recently."
};
resource 'STR ' (-13009) {
"Unable to change password: your new password has been used too recently."
};
resource 'STR ' (-13010) {
"Unable to change password: your new password was not accepted by the server."
};
resource 'STR ' (-13011) {
"Could not change the password for your account."
};
/*******************************************/
/* Keychain Errors */
/*******************************************/
resource 'STR ' (-25292) {
"The current Keychain is open only for reading, not editing."
};
resource 'STR ' (-25293) {
"Authentication to the Keychain failed. Please check your Keychain password."
};
resource 'STR ' (-25299) {
"Could not add the specified item to the Keychain, it already exists."
};
resource 'STR ' (-25302) {
"Keychain data too large."
};
resource 'STR ' (-25304) {
"There was an unknown error performing an operation on the Keychain."
};
resource 'STR ' (-25307) {
"There is currently no active Keychain to add this password to."
};
/*******************************************/
/* Other Errors */
/*******************************************/
resource 'STR ' (-108) {
"Unable complete operation because there is not enough memory."
};
/*******************************************/
/* Internal Errors */
/*******************************************/
resource 'STR ' (1001) {
"The Microsoft UAM was unable to obtain a correct AFP version number."
};
resource 'STR ' (1002) {
"Your password will expire today."
};
/*******************************************/
/* Misc */
/*******************************************/
resource 'STR ' (1500) {
"A Keychain item for this server and user name already exists, do you want to replace it?"
};