{"action":"created","issue":{"url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/144","repository_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView","labels_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/144/comments","events_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/144/events","html_url":"https://github.com/HewlettPackard/POSH-HPOneView/issues/144","id":166578758,"number":144,"title":"New-HPOVLdapDirectory (2.0.530.0) -- Invalid credentials to connect to the directory","user":{"login":"erikgraa","id":20067955,"avatar_url":"https://avatars.githubusercontent.com/u/20067955?v=3","gravatar_id":"","url":"https://api.github.com/users/erikgraa","html_url":"https://github.com/erikgraa","followers_url":"https://api.github.com/users/erikgraa/followers","following_url":"https://api.github.com/users/erikgraa/following{/other_user}","gists_url":"https://api.github.com/users/erikgraa/gists{/gist_id}","starred_url":"https://api.github.com/users/erikgraa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikgraa/subscriptions","organizations_url":"https://api.github.com/users/erikgraa/orgs","repos_url":"https://api.github.com/users/erikgraa/repos","events_url":"https://api.github.com/users/erikgraa/events{/privacy}","received_events_url":"https://api.github.com/users/erikgraa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-20T13:17:17Z","updated_at":"2016-07-21T15:35:32Z","closed_at":null,"body":"Please fill in as much information as possible to help resolve your issue.\r\n\r\n### Expected Behavior\r\nNew-HPOVLdapDirectory adds the directory without fault.\r\n\r\n### Actual Behavior\r\nFollow-up on #126 \r\n\r\nNew-HPOVLdapDirectory cannot add the directory.\r\n\r\nIf a directory is added through the WebUI and then removed, either through WebUI or POSH, a new directory can be added through New-HPOVLdapDirectory without fault.\r\n\r\nFeels like it needs to be broken in using the WebUI first. Very strange. But this explains why it has worked intermittently for me, as I've been configuring new installs using cmdlet/UI alternatively. Whenever I've tried with the UI it'll work afterwards, and whenever I never use the UI (which is what I'm intending for my install script), it'll never work. Cannot wrap my head around why this is happening though.\r\n\r\n### Steps to reproduce\r\n1) Create a new appliance and do the basic config of password/hostname/IP. Nothing else.\r\n2) Do Connect-HPOVMgmt\r\n3) Do New-HPOVLdapDirectory. For me, this will give \"invalid credentials\"\r\n4) Add a directory using the WebUI instead.\r\n5) Remove the added directory using Get-HPOVLdapDirectory | Remove-HPOVLdapDirectory -Confirm:$False OR remove it using the WebUI\r\n6) New-HPOVLdapDirectory works.\r\n\r\n### Version Information\r\nHPE OneView PowerShell Library Version (`Get-HPOVVersion`): 2.0.530.0\r\nHPE OneView Appliance Version: 2.00.07\r\nOutput from `$PSVersionTable` on your Windows Host:\r\nPSVersion 4.0\r\nBuildVersion 4.0.30319.34014\r\n"},"comment":{"url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/comments/234292135","html_url":"https://github.com/HewlettPackard/POSH-HPOneView/issues/144#issuecomment-234292135","issue_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/144","id":234292135,"user":{"login":"ChrisLynchHPE","id":6956305,"avatar_url":"https://avatars.githubusercontent.com/u/6956305?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisLynchHPE","html_url":"https://github.com/ChrisLynchHPE","followers_url":"https://api.github.com/users/ChrisLynchHPE/followers","following_url":"https://api.github.com/users/ChrisLynchHPE/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLynchHPE/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLynchHPE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLynchHPE/subscriptions","organizations_url":"https://api.github.com/users/ChrisLynchHPE/orgs","repos_url":"https://api.github.com/users/ChrisLynchHPE/repos","events_url":"https://api.github.com/users/ChrisLynchHPE/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLynchHPE/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T15:35:32Z","updated_at":"2016-07-21T15:35:32Z","body":"@erikgraa, can you email me at Chris <dot> lynch (a t ) hpe [com]? I need more information from you that would be sensitive to discuss further here."}}
{"actor":{"display_login":"ChrisLynchHPE"}}