-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xADUser: Add ChangePasswordAtLogon Parameter #371
xADUser: Add ChangePasswordAtLogon Parameter #371
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #371 +/- ##
===================================
- Coverage 91% 91% -1%
===================================
Files 19 19
Lines 2307 2317 +10
Branches 10 10
===================================
+ Hits 2115 2124 +9
- Misses 182 183 +1
Partials 10 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 3 of 4 files at r1, 2 of 2 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
@X-Guardian thank you for closing all these issue! 😃 🙇 Merging this as soon as the tests passes again (pushed the latest changes from dev). |
No problem @johlju. I need this for the current project I'm working on. Looking at the code in the Is there any official release schedule for DSC modules or is it ad hoc? |
@johlju, I've discovered an issue with this PR. I've missed adding What's the process in this circumstance? I've restored my branch and pushed the update. Can you revert the Merge? |
Ah, good catch! Easiest is to rebase against dev, then send in a new PR that adds this. You can just create a new branch too with that change. 🙂 It's more work reverting the PR, and in the end I think you need to send in a new PR anyway, let us only revert commits in dev when and if the entire PR must be reverted. 🙂 |
- Changes to xADUser - This PR adds the missing pwdLastSet ADProperty to the ChangePasswordAtLogon adPropertyMap for PR #371
@X-Guardian Sorry, missed answering questions here
Would this be solved (or helped to be solved) by using the helper function
Normally one week after each DSC Community Call which is ~6 weeks apart (next call is scheduled for June 19:th). You can add it to your calendar by downloading the zip (ICS) file here https://github.com/PowerShell/DscResources/tree/master/CommunityCalls. |
Pull Request (PR) description
This PR adds the
ChangePasswordAtLogon
parameter to the xADUser Resource.It also adds an error exception to check whether the
ChangePasswordAtLogon
andPasswordNeverExpires
properties have both been set totrue
, which is invalid.This Pull Request (PR) fixes the following issues
This Pull Request (PR) partly fixes the following issues
Task list
Entry should say what was changed, and how that affects users (if applicable).
and comment-based help.
This change is