Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2647

Windows user provider reports that the password is created instead of changed

    XMLWordPrintable

    Details

    • Template:
    • Story Points:
      1
    • Sprint:
      Platform Client 2014-10-29

      Description

      If you change an existing user's password on Windows, puppet reports:

      Notice: /Stage[main]/Main/User[testing6]/password: created password
      

      If the desired password doesn't match current password, the windows_adsi provider's #password method returns :absent, to force the provider to apply the new password. But this causes puppet to think the property was "created".

      It would be preferrable to say that the passwords were changed.

      See https://github.com/puppetlabs/puppet/commit/51b33d1f/lib/puppet/provider/user/windows_adsi.rb#diff-cb6db5b98229b4ec070f9158795e3708R61

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              josh Josh Cooper
              QA Contact:
              Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support