{"action":"opened","issue":{"url":"https://api.github.com/repos/huit/puppet-ipa/issues/52","labels_url":"https://api.github.com/repos/huit/puppet-ipa/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/huit/puppet-ipa/issues/52/comments","events_url":"https://api.github.com/repos/huit/puppet-ipa/issues/52/events","html_url":"https://github.com/huit/puppet-ipa/issues/52","id":53262068,"number":52,"title":"SUDO LDAP config doesn't correctly expand base dn","user":{"login":"wouterhummelink","id":5487419,"avatar_url":"https://avatars.githubusercontent.com/u/5487419?v=3","gravatar_id":"","url":"https://api.github.com/users/wouterhummelink","html_url":"https://github.com/wouterhummelink","followers_url":"https://api.github.com/users/wouterhummelink/followers","following_url":"https://api.github.com/users/wouterhummelink/following{/other_user}","gists_url":"https://api.github.com/users/wouterhummelink/gists{/gist_id}","starred_url":"https://api.github.com/users/wouterhummelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wouterhummelink/subscriptions","organizations_url":"https://api.github.com/users/wouterhummelink/orgs","repos_url":"https://api.github.com/users/wouterhummelink/repos","events_url":"https://api.github.com/users/wouterhummelink/events{/privacy}","received_events_url":"https://api.github.com/users/wouterhummelink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-02T16:36:28Z","updated_at":"2015-01-02T16:36:28Z","closed_at":null,"body":"When enabled to configure sudo-ldap the search base is expanded as:\r\n\r\n<addr>ou=sudoers,[dc=example,dc=com]</addr>\r\n\r\nExpected:\r\n<addr>ou=sudoers,dc=example,dc=com</addr>\r\n\r\nFix:\r\nChanged the template to use `@dc.flatten.join(',')` instead of `@dc`"}}