{"action":"opened","issue":{"url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/419","repository_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab","labels_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/419/comments","events_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/419/events","html_url":"https://github.com/AutomatedLab/AutomatedLab/issues/419","id":341882668,"node_id":"MDU6SXNzdWUzNDE4ODI2Njg=","number":419,"title":"ADCS Installations. ","user":{"login":"PeterHulstroem","id":41325612,"node_id":"MDQ6VXNlcjQxMzI1NjEy","avatar_url":"https://avatars1.githubusercontent.com/u/41325612?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterHulstroem","html_url":"https://github.com/PeterHulstroem","followers_url":"https://api.github.com/users/PeterHulstroem/followers","following_url":"https://api.github.com/users/PeterHulstroem/following{/other_user}","gists_url":"https://api.github.com/users/PeterHulstroem/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterHulstroem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterHulstroem/subscriptions","organizations_url":"https://api.github.com/users/PeterHulstroem/orgs","repos_url":"https://api.github.com/users/PeterHulstroem/repos","events_url":"https://api.github.com/users/PeterHulstroem/events{/privacy}","received_events_url":"https://api.github.com/users/PeterHulstroem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T11:41:26Z","updated_at":"2018-07-17T11:41:26Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nI have 2 issues, when installing a CA with role properties (UseLDAPAIA,UseHTTPAIA,UseLDAPCRL,UseHTTPCRL)\r\nI get an error in validations of the roles (ADCS) properties.\r\nIt seems that in AutomatedLabADCS.psm1 function Install-LabCAMachine.\r\n1) The properties are converted to Boolean (lines 1726,1728,1739,1741), but test from (lines 1933 - 1950) is still testing the input string and later the converting to Boolean again .\r\nA fix could be removing the first conversion\r\n2) In Line 2466 : test if ($param.UseLDAPAIA -eq '<auto>')\r\n$param.UseHTTPAIA = ($param.UseHTTPAIA -like '*Y*')\r\nShould be\r\n$param.UseLDAPAIA = ($param.UseLDAPAIA -like '*Y*')\r\n\r\nRegards\r\nPeter Hulstrøm\r\n"}}
{"actor":{"display_login":"PeterHulstroem"}}