mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
277 lines
8.6 KiB
277 lines
8.6 KiB
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "simrc.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "afxres.h"
|
|
#include "resource.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_SIM_PROPPAGE_X509_CERTIFICATES DIALOG DISCARDABLE 0, 0, 235, 156
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "X.509 Certificates"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "The following &X.509 certificates are mapped to the user account:",
|
|
IDC_STATIC,7,7,221,8
|
|
EDITTEXT IDC_EDIT_USER_ACCOUNT,7,26,221,14,ES_AUTOHSCROLL |
|
|
ES_READONLY
|
|
CONTROL "List1",IDC_LISTVIEW,"SysListView32",LVS_REPORT |
|
|
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING |
|
|
LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,45,221,84
|
|
PUSHBUTTON "A&dd...",IDC_BUTTON_ADD,7,135,50,14
|
|
PUSHBUTTON "&Edit...",IDC_BUTTON_EDIT,61,135,50,14
|
|
PUSHBUTTON "&Remove",IDC_BUTTON_REMOVE,115,135,50,14
|
|
END
|
|
|
|
IDD_SIM_PROPPAGE_KERBEROS_NAMES DIALOG DISCARDABLE 0, 0, 235, 156
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Kerberos Names"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Users from trusted non-Windows Kerberos realms are mapped to the user account:",
|
|
IDC_STATIC,7,7,221,17
|
|
EDITTEXT IDC_EDIT_USER_ACCOUNT,7,26,221,14,ES_AUTOHSCROLL |
|
|
ES_READONLY
|
|
CONTROL "List1",IDC_LISTVIEW,"SysListView32",LVS_REPORT |
|
|
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING |
|
|
LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,45,221,84
|
|
PUSHBUTTON "A&dd...",IDC_BUTTON_ADD,7,135,50,14
|
|
PUSHBUTTON "&Remove",IDC_BUTTON_REMOVE,115,135,50,14
|
|
PUSHBUTTON "&Edit...",IDC_BUTTON_EDIT,61,135,50,14
|
|
END
|
|
|
|
IDD_SIM_ADD_KERBEROS DIALOGEX 0, 0, 184, 62
|
|
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_CONTEXTHELP
|
|
CAPTION "Add Kerberos Principal Name"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "&Kerberos principal name:",IDC_STATIC,7,7,170,8
|
|
EDITTEXT IDC_EDIT_KERBEROS_NAME,7,17,170,14,ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "OK",IDOK,73,41,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,127,41,50,14
|
|
END
|
|
|
|
IDD_SIM_CERTIFICATE_PROPERTIES DIALOG DISCARDABLE 0, 0, 280, 185
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Certificate Properties"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "List1",IDC_LISTVIEW,"SysListView32",LVS_REPORT |
|
|
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER |
|
|
WS_BORDER | WS_TABSTOP,7,7,266,81
|
|
GROUPBOX "Identity Mapping",IDC_GROUP_IDENTITY_MAPPING,7,94,266,
|
|
51
|
|
CONTROL "Use &Issuer for alternate security identity",
|
|
IDC_CHECK_ISSUER,"Button",BS_AUTOCHECKBOX | BS_TOP |
|
|
BS_MULTILINE | WS_DISABLED | WS_TABSTOP,15,110,185,10
|
|
CONTROL "Use &Subject for alternate security identity",
|
|
IDC_CHECK_SUBJECT,"Button",BS_AUTOCHECKBOX | BS_TOP |
|
|
BS_MULTILINE | WS_TABSTOP,15,128,185,10
|
|
DEFPUSHBUTTON "OK",IDOK,169,164,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,223,164,50,14
|
|
END
|
|
|
|
IDD_SIM_PROPPAGE_OTHERS DIALOG DISCARDABLE 0, 0, 235, 156
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Others (Debug Only)"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "\nOthers Strings",IDC_STATIC,7,7,204,17
|
|
EDITTEXT IDC_EDIT_USER_ACCOUNT,7,26,221,14,ES_AUTOHSCROLL |
|
|
ES_READONLY
|
|
CONTROL "List1",IDC_LISTVIEW,"SysListView32",LVS_REPORT |
|
|
LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_SORTASCENDING |
|
|
LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,7,45,221,84
|
|
PUSHBUTTON "A&dd...",IDC_BUTTON_ADD,7,135,50,14
|
|
PUSHBUTTON "&Remove",IDC_BUTTON_REMOVE,65,135,50,14
|
|
PUSHBUTTON "&Edit...",IDC_BUTTON_EDIT,178,135,50,14
|
|
END
|
|
|
|
IDD_SIM_ADD_OTHERSTRING DIALOG DISCARDABLE 0, 0, 198, 62
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Other String"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Other &string:",IDC_STATIC,7,7,184,8
|
|
EDITTEXT IDC_EDIT_KERBEROS_NAME,7,17,184,14,ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "OK",IDOK,87,41,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,141,41,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_SIM_PROPPAGE_X509_CERTIFICATES, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 228
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 149
|
|
END
|
|
|
|
IDD_SIM_PROPPAGE_KERBEROS_NAMES, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 228
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 149
|
|
END
|
|
|
|
IDD_SIM_ADD_KERBEROS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 177
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 55
|
|
END
|
|
|
|
IDD_SIM_CERTIFICATE_PROPERTIES, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 273
|
|
VERTGUIDE, 223
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 178
|
|
END
|
|
|
|
IDD_SIM_PROPPAGE_OTHERS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 228
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 149
|
|
END
|
|
|
|
IDD_SIM_ADD_OTHERSTRING, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 191
|
|
VERTGUIDE, 141
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 55
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"simrc.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"#include ""resource.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_SIM_CERTIFICATE_FOR "Certificates For"
|
|
IDS_SIM_ISSUED_BY "Issued By"
|
|
IDS_SIM_KERBEROS_PRINCIPAL_NAME "Kerberos Principal Name"
|
|
IDS_SIM_SECURITY_IDENTITY_MAPPING "Security Identity Mapping"
|
|
IDS_SIM_ATTRIBUTE "Attribute"
|
|
IDS_SIM_INFORMATION "Information"
|
|
IDS_SIM_ANY_SUBJECT "- any subject -"
|
|
IDS_SIM_ANY_TRUSTED_AUTHORITY "- any trusted authority -"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_SIM_ERR_KERBEROS_NAME_ALREADY_EXISTS
|
|
"The Kerberos principal name already exists."
|
|
IDS_SIM_ERR_CANNOT_READ_SIM_DATA
|
|
"The security identity mapping cannot be read."
|
|
IDS_SIM_ERR_CANNOT_WRITE_SIM_DATA
|
|
"The security identity mapping cannot be written. %1"
|
|
IDS_SIM_ERR_INVALID_MAPPING
|
|
"You must have at least one mapping for the certificate."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_SIM_CERTIFICATE_FILTER
|
|
"Certificate Files (*.cer)|*.cer|Text Files (*.txt)|*.txt|All Files (*.*)|*.*|"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_SIM_ADD_CERTIFICATE "Add Certificate"
|
|
IDS_SIM_EDIT_KERBEROS_NAME "Edit Kerberos Principal Name"
|
|
IDS_SIM_ISSUER "Issuer"
|
|
IDS_SIM_SUBJECT "Subject"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_CERTFILEFORMATERR "Invalid Certificate File"
|
|
IDS_ADD_CERTIFICATE_MAPPING "Add Certificate Mapping"
|
|
IDS_SIM_REMOVING_SUBJECT_AS_ID
|
|
"You have chosen not to use the Certificate Subject as an alternate security identity. This will remove the subject information and it cannot be restored without removing and re-adding the certificate. Are you sure you wish to continue?"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|