Jira (PUP-10021) User resource always reports password changed when account disabled for Win 2012 R2

1 view
Skip to first unread message

Josh Cooper (JIRA)

unread,
Sep 16, 2019, 1:20:03 PM9/16/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-10021
 
Re: User resource always reports password changed when account disabled for Win 2012 R2

Moved to PUP project

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Sep 16, 2019, 1:20:03 PM9/16/19
to puppe...@googlegroups.com
Josh Cooper moved an issue
 
Puppet / Bug PUP-10021
Change By: Josh Cooper
Component/s: Windows
Component/s: Windows
Key: PA PUP - 2901 10021
Project: Puppet Agent

Josh Cooper (JIRA)

unread,
Oct 1, 2019, 12:57:02 AM10/1/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Oct 2, 2019, 5:07:02 AM10/2/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Oct 2, 2019, 5:08:03 AM10/2/19
to puppe...@googlegroups.com

Dorin Pleava (JIRA)

unread,
Oct 2, 2019, 7:51:02 AM10/2/19
to puppe...@googlegroups.com

Dorin Pleava (JIRA)

unread,
Oct 9, 2019, 8:02:02 AM10/9/19
to puppe...@googlegroups.com
Dorin Pleava commented on Bug PUP-10021
 
Re: User resource always reports password changed when account disabled for Win 2012 R2

After some debugging, found the following:

I debugged and testing this on windows 2012r2.

If windows supports password changes of disabled user, shouldn't puppet also change the password and display a notice/warning that the user is disabled? This way the command will become idempotent, and the ending notice will be true.

Should I continue using this logic, or just try to remove the password change notice in case of a disabled user?

 

 

Mihai Buzgau (JIRA)

unread,
Oct 16, 2019, 4:24:10 AM10/16/19
to puppe...@googlegroups.com

Josh Cooper (JIRA)

unread,
Oct 17, 2019, 2:22:03 PM10/17/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-10021
 
Re: User resource always reports password changed when account disabled for Win 2012 R2

Windows allows password changes of a disabled account, but puppet can only manage the password if it can login as the user, which it can't do when the account is disabled. See Ethan Brown's comment in https://tickets.puppetlabs.com/browse/PUP-6586?focusedCommentId=332667&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-332667.

This functionality used to work. Please try to git bisect to see when it broke.

Ciprian Badescu (JIRA)

unread,
Nov 14, 2019, 9:55:04 AM11/14/19
to puppe...@googlegroups.com

Heston Hoffman (JIRA)

unread,
Nov 18, 2019, 1:51:06 PM11/18/19
to puppe...@googlegroups.com

Austin Boyd (JIRA)

unread,
Dec 5, 2019, 11:26:05 AM12/5/19
to puppe...@googlegroups.com
Austin Boyd updated an issue
Change By: Austin Boyd
Zendesk Ticket IDs: 36181
Zendesk Ticket Count: 1

Dorin Pleava (JIRA)

unread,
Jan 8, 2020, 5:57:03 AM1/8/20
to puppe...@googlegroups.com
Dorin Pleava updated an issue
Change By: Dorin Pleava
Fix Version/s: PUP 6.12.0
Fix Version/s: PUP 6.4.5
Fix Version/s: PUP 5.5.18

Kate Medred (JIRA)

unread,
Jan 13, 2020, 7:48:04 PM1/13/20
to puppe...@googlegroups.com
Kate Medred commented on Bug PUP-10021
 
Re: User resource always reports password changed when account disabled for Win 2012 R2

Dorin Pleava are you able to clarify, does this fix allow....

A) Puppet will no longer allow password changes for inactive windows

OR

B) Puppet now changes the password for a non-active account on Windows

I'm seeing both here. Thank so much!

Dorin Pleava (JIRA)

unread,
Jan 14, 2020, 2:49:04 AM1/14/20
to puppe...@googlegroups.com
Dorin Pleava commented on Bug PUP-10021

Kate Medred Version B) is correct.

Version A is how puppet worked before the fix.
Now Puppet changes the password for a non-active account on Windows.

Kate Medred (JIRA)

unread,
Jan 14, 2020, 12:36:05 PM1/14/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages