Ajouter Active Directory/Reset-KrbTgt/Reset-KrbTgt-Password-For-RWDCs-And-RODCs.xml

This commit is contained in:
Hubert Cornet 2023-10-18 17:03:50 +02:00
parent 318f92fc5c
commit 899e697e14

View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<resetKrbTgtPassword xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- FQDN Of The Mail Server Or Mail Relay -->
<smtpServer>REPLACE_WITH_MAIL_SERVER_FQDN</smtpServer>
<!-- SMTP Port To Use -->
<smtpPort>REPLACE_WITH_MAIL_SERVER_SMTP_PORT_NUMERIC_VALUE</smtpPort>
<!-- SSL FOR SMTP - TRUE OR FALSE -->
<useSSLForSMTP>TRUE_OR_FALSE</useSSLForSMTP>
<!-- SSL TYPE - EXPLICIT OR IMPLICIT, BUT ONLY WHEN useSSLForSMTP = TRUE -->
<sslType>IMPLICIT_OR_EXPLICIT</sslType>
<!-- SMTP Credentials To Use - UserName/Password -->
<smtpCredsUserName>LEAVE_EMPTY_OR_LEAVE_AS_IS_OR_REPLACE_WITH_USERNAME_IF_USED</smtpCredsUserName>
<smtpCredsPassword>LEAVE_EMPTY_OR_LEAVE_AS_IS_OR_REPLACE_WITH_PASSWORD_IF_USED</smtpCredsPassword>
<!-- Mail Subject To Use -->
<mailSubject>KrbTgt Password Reset Result</mailSubject>
<!-- The Priority Of The Message: Low, Normal, High -->
<mailPriority>High</mailPriority>
<!-- Mail Body To Use -->
<mailBody>
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;KrbTgt_Password_Reset&lt;/title&gt;
&lt;style type="text/css"&gt;
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;B&gt;&lt;P align="center" style="font-size: 24pt; font-family: Arial Narrow, sans-serif; color: red"&gt;!!! ATTENTION | FYI - ACTION REQUIRED !!!&lt;/P&gt;&lt;/B&gt;
&lt;hr size=2 width="95%" align=center&gt;
&lt;BR&gt;
&lt;P style="font-size: 12pt; font-family: Arial Narrow, sans-serif;"&gt;Hello,&lt;/P&gt;
&lt;BR&gt;
&lt;P style="font-size: 12pt; font-family: Arial Narrow, sans-serif;"&gt;Please review the attached log file.&lt;/P&gt;
&lt;BR&gt;
&lt;P style="font-size: 12pt; font-family: Arial Narrow, sans-serif;"&gt;Best regards&lt;/P&gt;
&lt;/body&gt;
&lt;/html&gt;</mailBody>
<!-- The SMTP Address Used In The FROM Field -->
<mailFromSender>sender_Mail_Address@company.com</mailFromSender>
<!-- The SMTP Address Used In The TO Field -->
<mailToRecipient>recipient_To_MailAddress@company.com</mailToRecipient>
<!-- The SMTP Address Used In The CC Field -->
<mailCcRecipients>
<!-- For Every Recipient To Be Added In The CC Add A New Line -->
<mailCcRecipient>recipient_Cc_MailAddress_1@company.com</mailCcRecipient>
<mailCcRecipient>recipient_Cc_MailAddress_2@company.com</mailCcRecipient>
</mailCcRecipients>
<!-- Enable/Disable SMIME signing and encryptionof emails: ON or OFF -->
<mailSign>OFF</mailSign>
<mailEncrypt>OFF</mailEncrypt>
<!-- Full path of Cpi.Net.SecureMail.dll -->
<!-- Dll Source Code: https://www.codeproject.com/Articles/41727/An-S-MIME-Library-for-Sending-Signed-and-Encrypted -->
<mailSignAndEncryptDllFile>REPLACE_WITH_FULL_FOLDER_PATH_TO_COMPILED_DLL_FILE\Cpi.Net.SecureMail.dll</mailSignAndEncryptDllFile>
<!-- Location Of Cert To Sign/Encrypt The Mail -->
<mailSignAndEncryptCertLocation>STORE_OR_PFX</mailSignAndEncryptCertLocation> <!-- Location Of Cert To Sign/Encrypt The Mail - Options Are: PFX or STORE -->
<mailEncryptCertLocation>STORE_OR_CER</mailEncryptCertLocation> <!-- Location Of Cert To Encrypt The Mail - Options Are: CER or STORE -->
<!-- Thumbprint Of Certificate To Sign/Encrypt Mail With - Only Used When Corresponding Value For Location Is STORE -->
<mailSignAndEncryptCertThumbprint>LEAVE_EMPTY_OR_LEAVE_AS_IS_OR_REPLACE_WITH_THUMBPRINT_IF_USED</mailSignAndEncryptCertThumbprint> <!-- Thumbprint Of Cert To Sign/Encrypt The Mail By Sender -->
<mailEncryptCertThumbprint>LEAVE_EMPTY_OR_LEAVE_AS_IS_OR_REPLACE_WITH_THUMBPRINT_IF_USED</mailEncryptCertThumbprint> <!-- Thumbprint Of Cert To Encrypt The Mail For Recipient -->
<!-- Full path of a .pfx/.cer certificate file used to sign/encrypt the email message - Only Used When Corresponding Value For Location Is PFX/CER -->
<mailSignAndEncryptCertPFXFile>REPLACE_WITH_FULL_FOLDER_PATH_TO_PFX_FILE\cert.pfx</mailSignAndEncryptCertPFXFile> <!-- PFX File Of Cert/Private Key To Sign/Encrypt The Mail By Sender -->
<mailEncryptCertCERFile>REPLACE_WITH_FULL_FOLDER_PATH_TO_CER_FILE\cert.cer</mailEncryptCertCERFile> <!-- CER File Of Cert To Encrypt The Mail For Recipient -->
<!-- The password for the .pfx certificate file - Only Used When Corresponding Value For Location Is PFX -->
<mailSignAndEncryptCertPFXPassword>LEAVE_EMPTY_OR_LEAVE_AS_IS_OR_REPLACE_WITH_PFX_PASSWORD_IF_USED</mailSignAndEncryptCertPFXPassword> <!-- Password Of PFX File Of Cert/Private Key To Sign/Encrypt The Mail By Sender -->
</resetKrbTgtPassword>