forked from dsccommunity/ActiveDirectoryDsc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: ADManagedServiceAccount: Add KerberosEncryptionType …
…Property and Refactor (dsccommunity#517) - Changes to ADManagedServiceAccount - KerberosEncryptionType property added (issue dsccommunity#511). - BREAKING CHANGE: AccountType parameter ValidateSet changed from ('Group', 'Single') to ('Group', 'Standalone') - Standalone is the correct terminology (issue dsccommunity#515). - BREAKING CHANGE: AccountType parameter default of Single removed. - Enforce positive choice of account type. - BREAKING CHANGE: MembershipAttribute parameter ValidateSet member SID changed to ObjectSid to match result property of Get-AdObject. Previous code does not work if SID is specified. - BREAKING CHANGE: AccountTypeForce parameter removed - unnecessary complication. - BREAKING CHANGE: Members parameter renamed to ManagedPasswordPrincipals - to closer match Get-AdServiceAccount result property PrincipalsAllowedToRetrieveManagedPassword. This is so that a DelegateToAccountPrincipals parameter can be added later. - Common Compare-ResourcePropertyState function used to replace function specific Compare-TargetResourceState and code refactored (issue dsccommunity#512). - Resource unit tests refactored to use nested contexts and follow the logic of the module. - Resource Integration tests added.
- Loading branch information
1 parent
ec8fdfb
commit 7df133d
Showing
12 changed files
with
1,854 additions
and
2,070 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,077 changes: 466 additions & 611 deletions
1,077
DSCResources/MSFT_ADManagedServiceAccount/MSFT_ADManagedServiceAccount.psm1
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 19 additions & 13 deletions
32
DSCResources/MSFT_ADManagedServiceAccount/en-US/MSFT_ADManagedServiceAccount.strings.psd1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
# culture='en-US' | ||
ConvertFrom-StringData @' | ||
AddingManagedServiceAccount = Adding AD Managed Service Account '{0}'. (MSA0001) | ||
RemovingManagedServiceAccount = Removing AD Managed Service Account '{0}'. (MSA0003) | ||
MovingManagedServiceAccount = Moving AD Managed Service Account '{0}' to '{1}'. (MSA0004) | ||
ManagedServiceAccountNotFound = AD Managed Service Account '{0}' was not found. (MSA0005) | ||
RetrievingServiceAccount = Retrieving AD Managed Service Account '{0}'. (MSA0006) | ||
AccountTypeForceNotTrue = The 'AccountTypeForce' was either not specified or set to false. To convert from a '{0}' MSA to a '{1}' MSA, AccountTypeForce must be set to true. (MSA0007) | ||
NotDesiredPropertyState = AD Managed Service Account '{0}' is not correct. Expected '{1}', actual '{2}'. (MSA0008) | ||
MSAInDesiredState = AD Managed Service Account '{0}' is in the desired state. (MSA0009) | ||
MSANotInDesiredState = AD Managed Service Account '{0}' is NOT in the desired state. (MSA0010) | ||
UpdatingManagedServiceAccountProperty = Updating AD Managed Service Account property '{0}' to '{1}'. (MSA0011) | ||
AddingManagedServiceAccountError = Error adding AD Managed Service Account '{0}'. (MSA0012) | ||
RetrievingPrincipalMembers = Retrieving Principals Allowed To Retrieve Managed Password based on '{0}' property. (MSA0013) | ||
RetrievingServiceAccountError = There was an error when retrieving the AD Managed Service Account '{0}'. (MSA0014) | ||
AddingManagedServiceAccountMessage = Adding {0} Account '{1}' to '{2}'. (MSA0001) | ||
RecreatingManagedServiceAccountMessage = Recreating {0} Account '{1}'. (MSA0002) | ||
RemovingManagedServiceAccountMessage = Removing {0} Account '{1}'. (MSA0003) | ||
MovingManagedServiceAccountMessage = Moving {0} Account '{1}' from '{2}' to '{3}'. (MSA0004) | ||
ManagedServiceAccountNotFoundMessage = {0} Account '{1}' was not found. (MSA0005) | ||
RetrievingManagedServiceAccountMessage = Retrieving Account '{0}'. (MSA0006) | ||
ManagedServiceAccountInDesiredStateMessage = {0} Account '{1}' is in the desired state. (MSA0007) | ||
UpdatingManagedServiceAccountPropertyMessage = Updating {0} Account '{1}' property '{2}' to '{3}'. (MSA0008) | ||
RetrievingManagedPasswordPrincipalsMessage = Retrieving Principals Allowed To Retrieve Managed Password based on '{0}' property. (MSA0009) | ||
ResourceExistsButShouldNotMessage = {0} Account '{1}' exists but should not. (MSA0010) | ||
ResourceDoesNotExistButShouldMessage = {0} Account '{1}' does not exist but should. (MSA0011) | ||
AddingManagedServiceAccountError = Error adding {0} Account '{1}' to '{2}'. (MSA0012) | ||
RemovingManagedServiceAccountError = Error removing {0} Account '{1}'. (MSA0013) | ||
SettingManagedServiceAccountError = Error setting {0} Account '{1}'. (MSA0014) | ||
MovingManagedServiceAccountError = Error moving {0} Account '{1}' from '{2}' to '{3}'. (MSA0015) | ||
RetrievingManagedServiceAccountError = Error retrieving Account '{0}'. (MSA0016) | ||
RetrievingManagedPasswordPrincipalsError = Error retrieving Principal '{0}'. (MSA0017) | ||
GettingADDomainError = Error getting Active Directory Domain details. (MSA0018) | ||
KdsRootKeyNotFoundError = Error adding group account '{0}'. The KDS Root Key was not found. (MSA0019) | ||
'@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.