HomePhorge

(#16581) Use native Win32 APIs to resolve SIDs in file provider
c86e68598a5bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#16581) Use native Win32 APIs to resolve SIDs in file provider

Previously, the file provider used the ADSI module to resolve SIDs, which
is very slow in domain environments.

This commit changes it to use the Puppet::Util::Windows::Security module
instead. Ideally, the name2id and id2name methods could be eliminated
and instead have the uid & gid methods delegate directly to the Security
module. But they can't, because the Security module is not require'd on
non-Windows platforms.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU9291ae220e0a: (#16581) Use native Win32 APIs to resolve SIDs in providers
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUc86e68598a5b: (#16581) Use native Win32 APIs to resolve SIDs in file provider (authored by Josh Cooper <josh@puppetlabs.com>).Oct 19 2012, 10:39 PM