Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
OS: Windows 2012 R2
PE version: PE Version 2018.1.5 & PE Version 2019.1.1
Agent Version: 6.4.3 & 5.5.6
-
Night's Watch
-
3
-
NW - 2019-10-16, NW - 2019-10-30
-
Needs Assessment
-
36181
-
1
-
Bug Fix
-
Puppet now changes the password for a non-active account on Windows.
-
Needs Assessment
Description
This case is already fixed with PUP 4.6.1. Corresponding JIRA case " https://tickets.puppetlabs.com/browse/PUP-6586".
However, latest version 6.x, the issue still persists.( PE Version 2019.1.1)
```
PS C:\Program Files\Puppet Labs\Puppet\bin> .\puppet.bat apply -e "user
"
Notice: Compiled catalog for b3apzcy9g7ci4uo.delivery.puppetlabs.net in environm
ent production in 0.02 seconds
Notice: /Stage[main]/Main/User[mcoadmin]/ensure: created
Notice: Applied catalog in 0.21 seconds
PS C:\Program Files\Puppet Labs\Puppet\bin> .\puppet.bat apply -e "user
"
Notice: Compiled catalog for b3apzcy9g7ci4uo.delivery.puppetlabs.net in environm
ent production in 0.02 seconds
Warning: User[mcoadmin](provider=windows_adsi): The user account 'mcoadmin' is d
isabled; puppet will not reset the password
Notice: /Stage[main]/Main/User[mcoadmin]/password: changed [redacted] to [redact
ed]
Notice: Applied catalog in 0.08 seconds
```
This issue has not appeared over 5.5.x version ( PE Version 2018.1.5)
```
PS C:\Program Files\Puppet Labs\Puppet\bin> .\puppet.bat apply user1.pp
Notice: Compiled catalog for ms2012.ldap.plab in environment production in 0.02 seconds
Notice: /Stage[main]/User1/User[mcoadmin]/password: changed password
Notice: Applied catalog in 0.23 seconds
PS C:\Program Files\Puppet Labs\Puppet\bin> .\puppet.bat apply user1.pp
Notice: Compiled catalog for ms2012.ldap.plab in environment production in 0.02 seconds
Notice: Applied catalog in 0.47 seconds
```