Skip to content

(#9326) Support plaintext passwords in Windows 'user' provider#120

Merged
joshcooper merged 1 commit intopuppetlabs:2.7.xfrom
ChaseMotorman:ticket/2.7.x/9326-windows-cleartext-passwords
Sep 28, 2011
Merged

(#9326) Support plaintext passwords in Windows 'user' provider#120
joshcooper merged 1 commit intopuppetlabs:2.7.xfrom
ChaseMotorman:ticket/2.7.x/9326-windows-cleartext-passwords

Conversation

@ChaseMotorman
Copy link
Copy Markdown
Contributor

This commit adds password support to the Windows 'user' provider. When setting the password, the resource value is passed unmolested to the underlying ADSI 'SetPassword' method. During a get, the password is checked using the Windows 'LoginUser' function with the current user name and password. If the call succeeds, the password is returned; if unsuccessful, ':absent' is returned.

The spec test has been updated to reflect these changes.

@joshcooper
Copy link
Copy Markdown
Contributor

It looks like this pull request contains a commit for a different issue (9459). Can you repush just the one commit (1551ecf)?

This commit adds password support to the Windows 'user' provider.
When setting the password, the resource value is passed unmolested
to the underlying ADSI 'SetPassword' method.  During a get,
the password is checked using the Windows 'LoginUser' function with
tha current user name and password. If the call succeeds, the password
is returned; if unsuccessful, ':absent' is returned.

The spec test has been updated to reflect these changes.
joshcooper added a commit that referenced this pull request Sep 28, 2011
…cleartext-passwords

(#9326) Support plaintext passwords in Windows 'user' provider
@joshcooper joshcooper merged commit 9be3b98 into puppetlabs:2.7.x Sep 28, 2011
Iristyle pushed a commit to Iristyle/puppet that referenced this pull request Sep 9, 2014
…equirements_in_PMT

(PE-4760) Ignore requirements information in PMT
hlindberg pushed a commit to hlindberg/puppet that referenced this pull request Oct 16, 2014
(#18060) adds RAILS_ENV to demontrations rake
melissa pushed a commit to melissa/puppet that referenced this pull request Mar 30, 2018
(PCP-45) Replace --daemonize with --foreground
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants