HomePhorge

(maint) Generate unique account names
0269d827e7c3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Generate unique account names

Previously, the windows security_spec could fail if the same test was
executed in parallel, since the test assumed the account didn't exist.

This commit makes the names unique. The maximum length for local
user and groups accounts in 2003 is 20 and 256 characters[1],
respectively, and we remain below that limit in both cases.

[1] http://technet.microsoft.com/en-us/library/cc783323.aspx

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU377770277b22: (PUP-3222) Rescue StandardError instead of SystemCallError
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU0269d827e7c3: (maint) Generate unique account names (authored by Josh Cooper <josh@puppetlabs.com>).Sep 10 2014, 6:30 AM