Leaked source code of windows server 2003
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.
 
 
 
 
 
 

449 lines
19 KiB

// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.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
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"1 TYPELIB ""certmap.tlb""\r\n"
"\r\n"
"#include ""ntverp.h""\r\n"
"#define VER_FILEDESCRIPTION_STR ""Certificate account mapping utility""\r\n"
"#define VER_INTERNALNAME_STR ""Certificate Mapper""\r\n"
"#define VER_ORIGINALFILENAME_STR ""Certmap.ocx""\r\n"
"#define VER_FILETYPE VFT_DLL\r\n"
"#include ""iisver.h""\r\n"
"#include ""common.ver""\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICONINFORMATION ICON "res\\iconinfo.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_CERTMAP BITMAP "res\\CertCtl.bmp"
IDB_CERTAUTH BITMAP "res\\AuthCtl.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_PROPPAGE_CERTMAP DIALOG 0, 0, 250, 62
STYLE DS_SETFONT | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Caption:",IDC_STATIC,3,5,33,11
EDITTEXT IDC_CAPTIONEDIT,40,3,157,12,ES_AUTOHSCROLL
LTEXT "MB Path:",IDC_STATIC,7,25,30,8
EDITTEXT IDC_MB_PATH,40,22,157,14,ES_AUTOHSCROLL
END
IDD_11CERT_MAPPING DIALOG 0, 0, 394, 220
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "1-to-1"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "List1",IDC_LIST,"SysListView32",LVS_REPORT |
LVS_OWNERDRAWFIXED | LVS_ALIGNLEFT | WS_BORDER |
WS_TABSTOP,7,35,216,156
PUSHBUTTON "&Edit Map...",IDC_EDIT_11MAP,7,199,50,14
PUSHBUTTON "A&dd...",IDC_ADD,73,199,50,14,WS_DISABLED
PUSHBUTTON "De&lete",IDC_DELETE,139,199,50,14
LTEXT "O",IDC_S_O,246,42,132,8
LTEXT "OU",IDC_S_OU,246,52,132,8
LTEXT "CN",IDC_S_CN,246,62,132,8
LTEXT "C",IDC_S_C,246,72,132,8
LTEXT "S",IDC_S_S,246,83,132,8
LTEXT "L",IDC_S_L,246,94,132,8
LTEXT "O",IDC_I_O,246,125,132,8
LTEXT "OU",IDC_I_OU,246,136,132,8
LTEXT "C",IDC_I_C,246,146,132,8
GROUPBOX "Subject",IDC_ISSUED_TO,236,31,151,75
GROUPBOX "Issuer",IDC_ISSUER,236,112,151,49
LTEXT "Edit ""one to one"" mappings. Each individual certificate is mapped into a specific Windows account. You can choose to map multiple certificates into the same account, but a separate mapping entry must exist for each.",
IDC_STATIC,7,8,380,16
END
IDD_WILDCARDS_1 DIALOG 0, 0, 394, 220
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Many-to-1"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "E&nable Wildcard Client Certificate Matching",
IDC_ENABLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,25,29,
152,10
CONTROL "List1",IDC_LIST,"SysListView32",LVS_REPORT |
LVS_OWNERDRAWFIXED | WS_BORDER | WS_TABSTOP,7,46,321,141
PUSHBUTTON "&Edit Rule...",IDC_EDIT,7,199,50,14,WS_DISABLED
PUSHBUTTON "A&dd...",IDC_ADD,73,199,50,14,WS_DISABLED
PUSHBUTTON "De&lete",IDC_DELETE,139,199,50,14,WS_DISABLED
PUSHBUTTON "Move &Up",IDC_MOVE_UP,337,95,50,14
PUSHBUTTON "Move Do&wn",IDC_MOVE_DOWN,337,124,50,14
LTEXT "When a client certificate is presented, these matching rules will be examined in the order in which they appear below. Upon the first match, the user will be logged into the associated Windows user account.",
IDC_STATIC,7,8,380,22,NOT WS_GROUP
END
IDD_WILDCARDS_2 DIALOG 0, 0, 324, 348
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Edit Wildcard Matching Rule"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Enable this &wildcard rule",IDC_ENABLE_RULE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,7,92,10
LTEXT "Enter a brief description of the rule, the associated match criteria, and the Windows user account mapping.",
IDC_STATIC,7,22,217,22
LTEXT "Descr&iption:",IDC_STATIC,7,48,38,8
EDITTEXT IDC_DESCRIPTION,49,45,252,14,ES_AUTOHSCROLL
GROUPBOX "Issuers",IDC_STATIC,7,63,310,42
CONTROL "Match on &all certificate issuers whom I trust",
IDC_ALL_ISSUERS,"Button",BS_AUTORADIOBUTTON | WS_GROUP |
WS_TABSTOP,43,73,152,10
CONTROL "Match on &selected certificate issuers",
IDC_SOME_ISSUERS,"Button",BS_AUTORADIOBUTTON,43,87,131,
10
PUSHBUTTON "Se&lect...",IDC_SELECT_ISSUER,179,85,50,14
GROUPBOX "Certificate Fields",IDC_STATIC,7,112,310,100
LTEXT "Specify the certificate fields and match criteria:",
IDC_STATIC,21,121,147,8
CONTROL "List1",IDC_LIST,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_OWNERDRAWFIXED | WS_BORDER |
WS_TABSTOP,19,133,286,56
PUSHBUTTON "&Edit...",IDC_EDIT,19,194,50,14
PUSHBUTTON "&New...",IDC_NEW,82,194,50,14
PUSHBUTTON "&Delete",IDC_DELETE,145,194,50,14
GROUPBOX "Account Mapping",IDC_STATIC,7,219,310,101
LTEXT "Select the action to take when a certificate is presented by a web client who matches the preceding criteria:",
IDC_STATIC,28,231,196,19
CONTROL "&Refuse Access",IDC_REFUSE_LOGON,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,41,264,64,10
CONTROL "Accept this certi&ficate for Logon Authentication",
IDC_ACCEPT_LOGON,"Button",BS_AUTORADIOBUTTON,41,251,163,
10
LTEXT "Account:",IDC_STATIC,55,282,30,8
EDITTEXT IDC_NTACCOUNT,89,280,138,14,ES_AUTOHSCROLL
PUSHBUTTON "&Browse...",IDC_BROWSE,234,280,50,14
LTEXT "&Password:",IDC_STATIC,51,301,34,8
EDITTEXT IDC_PASSWORD,89,299,195,14,ES_PASSWORD | ES_AUTOHSCROLL
DEFPUSHBUTTON "&OK",IDOK,148,327,50,14
PUSHBUTTON "&Cancel",IDCANCEL,208,327,50,14
PUSHBUTTON "&Help",IDC_BTN_HELP,267,327,50,14
END
IDD_MAP_TO_ACCNT DIALOG 0, 0, 336, 125
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Map to Account"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Username:",IDC_STATIC,25,57,35,8
EDITTEXT IDC_NTACCOUNT,64,55,188,14,ES_AUTOHSCROLL
PUSHBUTTON "&Browse...",IDC_BROWSE,260,55,50,14
LTEXT "&Password:",IDC_STATIC,26,77,34,8
EDITTEXT IDC_PASSWORD,64,74,188,14,ES_PASSWORD | ES_AUTOHSCROLL
CONTROL "&Enable these mappings",IDC_ENABLE,"Button",
BS_AUTO3STATE | WS_TABSTOP,7,7,89,10
DEFPUSHBUTTON "OK",IDOK,164,104,50,14
PUSHBUTTON "Cancel",IDCANCEL,222,104,50,14
PUSHBUTTON "&Help",IDC_BTN_HELP,278,104,50,14
GROUPBOX "Account mapping",IDC_STATIC,7,20,321,75
LTEXT "When any of these certificates are presented by a web client and authenticated, the user can automatically be logged in as a specific Windows user.",
IDC_STATIC,24,34,286,18
END
IDD_MAP_ONE_TO_ACCNT DIALOG 0, 0, 336, 143
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Map to Account"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Map &Name:",IDC_STATIC,21,61,38,8
EDITTEXT IDC_MAPNAME,64,58,188,14,ES_AUTOHSCROLL
LTEXT "&Account:",IDC_STATIC,29,79,30,8
EDITTEXT IDC_NTACCOUNT,64,76,188,14,ES_AUTOHSCROLL
PUSHBUTTON "&Browse...",IDC_BROWSE,260,76,50,14
LTEXT "&Password:",IDC_STATIC,25,98,34,8
EDITTEXT IDC_PASSWORD,64,95,188,14,ES_PASSWORD | ES_AUTOHSCROLL
CONTROL "&Enable this mapping",IDC_ENABLE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,7,79,10
DEFPUSHBUTTON "OK",IDOK,164,122,50,14
PUSHBUTTON "Cancel",IDCANCEL,222,122,50,14
PUSHBUTTON "&Help",IDC_BTN_HELP,279,122,50,14
GROUPBOX "Account mapping",IDC_STATIC,7,21,322,94
LTEXT "When this certificate is presented by a web client and authenticated, the user can automatically be logged in as a specific Windows user.",
IDC_STATIC,24,35,286,18
END
IDD_EDIT_RULE_ELEMENT DIALOGEX 0, 0, 456, 154
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "Edit Rule Element"
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
DEFPUSHBUTTON "OK",IDOK,7,133,50,14
PUSHBUTTON "Cancel",IDCANCEL,65,133,50,14
PUSHBUTTON "&Help",IDC_BTN_HELP,123,133,50,14
CONTROL "&Match Capitalization",IDC_CHK_CAPITALIZATION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,76,54,79,10
LTEXT "Certificate &Field:",IDC_STATIC,7,70,62,8
COMBOBOX IDC_FIELDS,76,67,142,96,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
LTEXT "&Sub Field:",IDC_STATIC,7,89,62,8
COMBOBOX IDC_SUBFIELD,76,86,142,60,CBS_DROPDOWN | WS_VSCROLL |
WS_TABSTOP
LTEXT "C&riteria:",IDC_STATIC,7,110,62,8
EDITTEXT IDC_CRITERIA,76,107,142,12,ES_AUTOHSCROLL
LTEXT "Edit the rule element by choosing what major of the certificate is to be matched against. Then choose an appropriate subfield. Finally, enter a matching string. You can use wildcards for the match.",
IDC_STATIC,7,7,442,18
LTEXT "Valid subfields are short strings indicating a sub-value in a certificate field. Example: ""O"" stands for Organization.",
IDC_STATIC,7,27,442,11
LTEXT "New subfield strings may be defined at a later date. Please refer to current documentation for the latest codes.",
IDC_STATIC,7,39,442,10
LTEXT "A chart of some of the sub-fields already defined is below.",
IDC_STATIC,250,64,192,10
LTEXT "O",IDC_STATIC,232,78,8,8
LTEXT "Organization - a company or business",IDC_STATIC,250,78,
201,8
LTEXT "OU",IDC_STATIC,232,89,12,8
LTEXT "Organization Unit - department",IDC_STATIC,250,89,202,8
LTEXT "CN",IDC_STATIC,232,99,11,8
LTEXT "Common Name - a net address - e.g. ""microsoft.com""",
IDC_STATIC,250,99,199,8
LTEXT "C",IDC_STATIC,232,110,8,8
LTEXT "Country/Region - A short pre-defined code e.g. ""US"" or ""FR""",
IDC_STATIC,250,110,202,8
LTEXT "S",IDC_STATIC,232,119,8,8
LTEXT "State or Province",IDC_STATIC,250,119,196,8
LTEXT "L",IDC_STATIC,232,129,8,8
LTEXT "Locality - city",IDC_STATIC,250,129,198,8
END
IDD_PROPPAGE_CERTAUTH DIALOG 0, 0, 250, 62
STYLE DS_SETFONT | WS_CHILD
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Caption:",IDC_STATIC,7,9,33,11
EDITTEXT IDC_CAPTIONEDIT,44,7,157,12,ES_AUTOHSCROLL
END
IDD_WILDWIZ_1 DIALOG 0, 0, 292, 118
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "General"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Description:",IDC_STATIC,7,37,38,8
EDITTEXT IDC_DESCRIPTION,47,34,238,14,ES_AUTOHSCROLL
CONTROL "&Enable this wildcard rule",IDC_ENABLE_RULE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,7,7,92,10
LTEXT "Enter a brief description of the wildcard matching rule. This is for your reference only.",
IDC_STATIC,7,22,278,10
END
IDD_WILDWIZ_2 DIALOG 0, 0, 292, 118
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Rules"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Specify the certificate fields and match criteria:",
IDC_STATIC,7,7,147,8
CONTROL "List1",IDC_LIST,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_OWNERDRAWFIXED | WS_BORDER |
WS_TABSTOP,7,20,278,72
PUSHBUTTON "&Edit...",IDC_EDIT,7,97,50,14
PUSHBUTTON "Ne&w...",IDC_NEW,70,97,50,14
PUSHBUTTON "&Delete",IDC_DELETE,133,97,50,14
END
IDD_WILDWIZ_3 DIALOG 0, 0, 292, 118
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION
CAPTION "Mapping"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Account:",IDC_STATIC_ACCOUNT,19,79,30,8
EDITTEXT IDC_NTACCOUNT,53,77,170,14,ES_AUTOHSCROLL
PUSHBUTTON "Bro&wse...",IDC_BROWSE,233,77,50,14
LTEXT "&Password:",IDC_STATIC_PASSWORD,15,98,34,8
EDITTEXT IDC_PASSWORD,53,95,230,14,ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "Select the action to take when a certificate is presented by a web client who matches the preceding criteria:",
IDC_STATIC,7,7,278,19
CONTROL "&Refuse Access",IDC_REFUSE_LOGON,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,7,54,64,10
CONTROL "A&ccept this certificate for Logon Authentication",
IDC_ACCEPT_LOGON,"Button",BS_AUTORADIOBUTTON,7,41,163,10
END
IDD_CONFIRM_PASSWORD DIALOG 0, 0, 202, 60
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Confirm Password"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Password:",IDC_STATIC,7,27,34,8
EDITTEXT IDC_CONFIRM_PASSWORD,46,24,81,14,ES_PASSWORD |
ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,145,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,145,24,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//
IDC_BROWSE CURSOR "res\\browse.cur"
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_EDIT_RULE_ELEMENT, DIALOG
BEGIN
VERTGUIDE, 7
VERTGUIDE, 76
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_CERTMAP "Microsoft Certificate Mapping Control"
IDS_CERTMAP_PPG "Certmap Property Page"
IDS_KEY_OR_CERT_FILE_FILTER
"Certificate Import Files (*.cer;*.crt;*.spc;*.key)|*.cer;*.crt;*.spc;*.key|All Files (*.*)|*.*||"
IDS_TITLE_CTL_WIZARD "IIS: Wizard to edit the CTL (Certificate Trust Lists)"
IDS_OLD_KEYRING_BACKUP_FILE_IMPORT_FILTER
"Key Manager Backup Files (*.key)|*.key|Text Files (*.txt)|*.txt|All Files (*.*)|*.*||"
END
STRINGTABLE
BEGIN
IDS_DDX_MINIMUM "Please enter at least %1 character(s)."
END
STRINGTABLE
BEGIN
IDS_CERTMAP_PPG_CAPTION "General"
IDS_MAP_SHEET_TITLE "Account Mappings"
IDS_INIT_META_ERROR "Error accessing metabase."
IDS_LIST11_NAME "Mapping Name"
IDS_LIST11_ACCOUNT "Windows Account"
IDS_CONFIRM_DELETE "Delete the selected mappings?"
IDS_ERR_ACCESS_MAPPING "Unable to access the mapping object."
IDS_NTBROWSE_TITLE "Choose Mapping Account"
IDS_INVALID_ACCOUNT "Unable to use the account.\nEither the account name or the password is invalid."
IDS_CERTIFICATE_FILTER "Certificate Files (*.txt)|*.txt|All Files (*.*)|*.*||"
IDS_ERR_INVALID_CERTIFICATE "The certificate file is not valid."
IDS_DEFAULT_11MAP "New Mapping"
END
STRINGTABLE
BEGIN
IDS_ENABLED "X"
IDS_ELLIPSIS "..."
IDS_WILD_DESCRIPTION "Rule Description"
IDS_WILD_ACCOUNT "Mapped Windows Account"
IDS_DEFAULT_RULE "New Rule"
IDS_CERT_FIELD "Certificate Field"
IDS_MATCH_CRITERIA "Match Criteria"
IDS_SUB_FIELD "Sub Field"
IDS_WILDSTRING "Default*"
IDS_INVALID_SUBFIELD "The subfield is an invalid entry"
IDS_ISSUE_AUTH "Issuing Authority"
IDS_ERR_NO_ISSUERS "Unable to obtain the list of accepted issuers."
IDS_ERR_CANTADD "Unable to add an object to the metabase"
IDS_MATCH_ON_ISSUERS "Match on the following Certificate Issuers:"
IDS_CERTAUTH "Microsoft Certificate Authority Control"
IDS_CERTAUTH_PPG "Certificate Authority Property Page"
END
STRINGTABLE
BEGIN
IDS_CERTAUTH_PPG_CAPTION "General"
IDS_WILDWIZ_TITLE "Edit Wildcard Mapping Rule"
IDS_PASS_CONFIRM_FAIL "You did not correctly retype the password."
IDS_HELPLOC_PWSHELP "%windir%\\help\\iisHelp\\iis\\winhelp\\inetmgr.hlp"
IDS_ERR_CERTMAP_TITLE "Certificate Mapping"
IDS_SHOWN_PASSWORD "**********"
IDS_WANTACCOUNT "Please enter a Windows account to map to."
IDS_DENYACCESS "*Refuse Access*"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "certmap.tlb"
#include "ntverp.h"
#define VER_FILEDESCRIPTION_STR "Certificate account mapping utility"
#define VER_INTERNALNAME_STR "Certificate Mapper"
#define VER_ORIGINALFILENAME_STR "Certmap.ocx"
#define VER_FILETYPE VFT_DLL
#include "iisver.h"
#include "common.ver"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED