nitzmahone
1a0e15094f
Fix win_user issue with disabled accounts/expired passwords
...
Disabled and password-expired accounts cannot call ValidatePassword successfully
fixed #4369
2016-09-11 20:41:54 -07:00
nitzmahone
2f46c35f47
fix win_user type checking
...
Fixed type checking to be more idiomatic powershell, also fixes a slew of StrictMode issues and gets error handling back to originally-intended behavior.
2016-04-07 18:25:41 -07:00
Matt Martz
c7845456a6
Various simple linting type cleanups on modules
2016-02-16 15:58:44 -06:00
Chris Church
1d074d43aa
* Update core modules to fix strict mode errors.
...
* Also fix creates parameter issue in win_msi as described in https://github.com/ansible/ansible-modules-core/issues/129 , slightly different fix from https://github.com/ansible/ansible-modules-core/pull/1482
* Fix setup.ps1 module issue described in https://github.com/ansible/ansible-modules-core/issues/1927
2015-08-22 19:01:11 -04:00
Chris Church
313381981e
Save user after creating before trying to read/set other properties. Fixes #1241
2015-07-22 03:14:20 -04:00
Chris Church
07faee61de
Minor win_user fixes based on feedback.
2014-11-24 00:43:55 -05:00
Chris Church
3a40d79cff
Update win_user module to support more user options and group membership changes.
2014-09-30 11:51:05 -04:00
Michael DeHaan
417309a626
Restructuring.
2014-09-26 10:13:26 -04:00
Michael DeHaan
73123b69fa
Move modules into subdirectory.
2014-09-26 09:23:50 -04:00
Paul Durivage
eba5e34641
Check .GetType rather than object directly
2014-06-19 16:41:24 -05:00
Paul Durivage
1fee46270c
Move check down for access to
2014-06-19 16:41:05 -05:00
Paul Durivage
44fcebc5aa
Rename variable
2014-06-19 16:40:35 -05:00
Paul Durivage
ce0909035b
Fix so it only deletes users that exist
2014-06-19 16:25:02 -05:00
Paul Durivage
6f87380248
Remove commented out lines
2014-06-19 16:25:02 -05:00
Paul Durivage
ac1d1b509b
Fix incorrect name
2014-06-19 16:25:02 -05:00
Paul Durivage
5636f2b033
Move functions to top for correct scope
2014-06-19 16:25:02 -05:00
Paul Durivage
f8f1b7e922
Refactor of win_user module
2014-06-19 16:25:01 -05:00
Don Schenck
755da95e15
Added logging to UpgradeToPS3.ps1
...
UpgradeToPS3.ps1 failed when tested with Ansible. Added logging output
to file C:\powershell\install.log.
2014-06-19 14:25:28 -05:00