criteo-cookbooks / winrm-config

Windows Remoting Server
Apache License 2.0
5 stars 2 forks source link

Can't use password including double quote with service_certmapping resource #8

Open Annih opened 9 years ago

Annih commented 9 years ago

The current implementation of the service_certmapping provider is using the winrm.cmd witch calls the winrm.vbs. This script uses a regular expression that forbids usage of double quote in inputs provided as "hash":

private const PTRN_HASH_TOK = "\s*([\w:]+)\s*=\s*(\$null|""([^""]*)"")\s*"

A simple workaround is to not use password with double quote :)