From 2f5a3fcfacf95e36cbf385736b1c471f890a9589 Mon Sep 17 00:00:00 2001 From: Iain Brighton Date: Tue, 5 Jul 2016 12:22:41 +0100 Subject: [PATCH] Renames missed PasswordAuthenticationContext parameter to PasswordAuthentication in MSFT_xADUser.schema.mof Updates manager description --- DSCResources/MSFT_xADUser/MSFT_xADUser.psm1 | 6 +++--- DSCResources/MSFT_xADUser/MSFT_xADUser.schema.mof | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DSCResources/MSFT_xADUser/MSFT_xADUser.psm1 b/DSCResources/MSFT_xADUser/MSFT_xADUser.psm1 index b099d4514..e5f0f84cd 100644 --- a/DSCResources/MSFT_xADUser/MSFT_xADUser.psm1 +++ b/DSCResources/MSFT_xADUser/MSFT_xADUser.psm1 @@ -231,7 +231,7 @@ function Get-TargetResource [ValidateNotNull()] [System.String] $IPPhone, - ## User's manager specified as a Distinguished Name (ldapDisplayName 'manager') + ## Specifies the user's manager specified as a Distinguished Name (ldapDisplayName 'manager') [ValidateNotNull()] [System.String] $Manager, @@ -492,7 +492,7 @@ function Test-TargetResource [ValidateNotNull()] [System.String] $IPPhone, - ## User's manager specified as a Distinguished Name (ldapDisplayName 'manager') + ## Specifies the user's manager specified as a Distinguished Name (ldapDisplayName 'manager') [ValidateNotNull()] [System.String] $Manager, @@ -741,7 +741,7 @@ function Set-TargetResource [ValidateNotNull()] [System.String] $IPPhone, - ## User's manager specified as a Distinguished Name (ldapDisplayName 'manager') + ## Specifies the user's manager specified as a Distinguished Name (ldapDisplayName 'manager') [ValidateNotNull()] [System.String] $Manager, diff --git a/DSCResources/MSFT_xADUser/MSFT_xADUser.schema.mof b/DSCResources/MSFT_xADUser/MSFT_xADUser.schema.mof index 543ac158c..c0ad1d63e 100644 --- a/DSCResources/MSFT_xADUser/MSFT_xADUser.schema.mof +++ b/DSCResources/MSFT_xADUser/MSFT_xADUser.schema.mof @@ -39,12 +39,12 @@ class MSFT_xADUser : OMI_BaseResource [Write, Description("Specifies the user's home telephone number (ldapDisplayName 'homePhone')")] String HomePhone; [Write, Description("Specifies the user's pager number (ldapDisplayName 'pager')")] String Pager; [Write, Description("Specifies the user's IP telephony phone number (ldapDisplayName 'ipPhone')")] String IPPhone; - [Write, Description("User's manager specified as a Distinguished Name (ldapDisplayName 'manager')")] String Manager; + [Write, Description("Specifies the user's manager specified as a Distinguished Name (ldapDisplayName 'manager')")] String Manager; [Write, Description("Specifies if the account is enabled (default True)")] Boolean Enabled; [Write, Description("Specifies whether the account password can be changed")] Boolean CannotChangePassword; [Write, Description("Specifies whether the password of an account can expire")] Boolean PasswordNeverExpires; [Write, Description("Specifies the Active Directory Domain Services instance to use to perform the task.")] String DomainController; [Write, Description("Specifies the user account credentials to use to perform this task"), EmbeddedInstance("MSFT_Credential")] String DomainAdministratorCredential; - [Write, Description("Specifies the authentication context type used when testing passwords"), ValueMap{"Default","Negotiate"},Values{"Default","Negotiate"}] String PasswordAuthenticationContext; + [Write, Description("Specifies the authentication context type used when testing passwords"), ValueMap{"Default","Negotiate"},Values{"Default","Negotiate"}] String PasswordAuthentication; [Read, Description("Returns the X.500 path of the object")] String DistinguishedName; };