{"action":"created","issue":{"url":"https://api.github.com/repos/chef/opscode-omnibus/issues/694","labels_url":"https://api.github.com/repos/chef/opscode-omnibus/issues/694/labels{/name}","comments_url":"https://api.github.com/repos/chef/opscode-omnibus/issues/694/comments","events_url":"https://api.github.com/repos/chef/opscode-omnibus/issues/694/events","html_url":"https://github.com/chef/opscode-omnibus/issues/694","id":57359056,"number":694,"title":"Chef 12.0.x Failed Login With Ldap login_attribute Set non-lowercase","user":{"login":"sean-horn","id":1459992,"avatar_url":"https://avatars.githubusercontent.com/u/1459992?v=3","gravatar_id":"","url":"https://api.github.com/users/sean-horn","html_url":"https://github.com/sean-horn","followers_url":"https://api.github.com/users/sean-horn/followers","following_url":"https://api.github.com/users/sean-horn/following{/other_user}","gists_url":"https://api.github.com/users/sean-horn/gists{/gist_id}","starred_url":"https://api.github.com/users/sean-horn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean-horn/subscriptions","organizations_url":"https://api.github.com/users/sean-horn/orgs","repos_url":"https://api.github.com/users/sean-horn/repos","events_url":"https://api.github.com/users/sean-horn/events{/privacy}","received_events_url":"https://api.github.com/users/sean-horn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T18:51:40Z","updated_at":"2015-02-11T21:02:37Z","closed_at":null,"body":"As a customer, I expect the typical casing of \"sAMAccountName\" to work when I provide it in `/etc/opscode/chef-server.rb` as\r\n\r\n    ldap['login_attribute'] = \"sAMAccountName\"\r\n\r\nHowever, eldap expects all lowercase for that attribute, as in https://github.com/chef/opscode-omnibus/blob/master/files/private-chef-cookbooks/private-chef/templates/default/oc_erchef.config.erb#L86\r\n\r\nWe should lowercase this as in https://github.com/chef/opscode-omnibus/pull/695"},"comment":{"url":"https://api.github.com/repos/chef/opscode-omnibus/issues/comments/73964069","html_url":"https://github.com/chef/opscode-omnibus/issues/694#issuecomment-73964069","issue_url":"https://api.github.com/repos/chef/opscode-omnibus/issues/694","id":73964069,"user":{"login":"stevendanna","id":852371,"avatar_url":"https://avatars.githubusercontent.com/u/852371?v=3","gravatar_id":"","url":"https://api.github.com/users/stevendanna","html_url":"https://github.com/stevendanna","followers_url":"https://api.github.com/users/stevendanna/followers","following_url":"https://api.github.com/users/stevendanna/following{/other_user}","gists_url":"https://api.github.com/users/stevendanna/gists{/gist_id}","starred_url":"https://api.github.com/users/stevendanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevendanna/subscriptions","organizations_url":"https://api.github.com/users/stevendanna/orgs","repos_url":"https://api.github.com/users/stevendanna/repos","events_url":"https://api.github.com/users/stevendanna/events{/privacy}","received_events_url":"https://api.github.com/users/stevendanna/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T21:02:37Z","updated_at":"2015-02-11T21:02:37Z","body":"I believe this should be fixed here: \r\n\r\nhttps://github.com/chef/oc_erchef/blob/master/apps/oc_chef_wm/src/oc_chef_wm_authn_ldap.erl#L181-L183\r\n\r\nwhich will be available in the next version of oc_erchef.  We'll close this out once that ships."}}