{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2220","repository_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server","labels_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2220/labels{/name}","comments_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2220/comments","events_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2220/events","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/2220","id":317480935,"number":2220,"title":"FreeRadius 4 rlm_sql and rlm_pam Default Issue","user":{"login":"jpt","id":5319916,"avatar_url":"https://avatars0.githubusercontent.com/u/5319916?v=4","gravatar_id":"","url":"https://api.github.com/users/jpt","html_url":"https://github.com/jpt","followers_url":"https://api.github.com/users/jpt/followers","following_url":"https://api.github.com/users/jpt/following{/other_user}","gists_url":"https://api.github.com/users/jpt/gists{/gist_id}","starred_url":"https://api.github.com/users/jpt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpt/subscriptions","organizations_url":"https://api.github.com/users/jpt/orgs","repos_url":"https://api.github.com/users/jpt/repos","events_url":"https://api.github.com/users/jpt/events{/privacy}","received_events_url":"https://api.github.com/users/jpt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-25T05:13:50Z","updated_at":"2018-04-26T06:18:27Z","closed_at":"2018-04-25T11:34:22Z","author_association":"NONE","body":"# Issue type\r\n- [ ] Defect - Crash or memory corruption.\r\n- [x] Defect - Non compliance with a standards document, or incorrect API usage.\r\n- [ ] Defect - Unexpected behaviour (obvious or verified by project member).\r\n- [ ] Feature request.\r\n\r\n# Defect/Feature description\r\n## How to reproduce issue\r\n\r\nCompile and install FreeRADIUS on Ubuntu 16 from source with the following packages:\r\n\r\nbuild-essential libtalloc-dev libkqueue-dev libssl-dev libpam0g-dev libmysqlclient-dev\r\n \r\nEnable SQL for accouting. FreeRADIUS will break on any attempted connection that uses PAP authentication:\r\n\r\n## Output of ``[radiusd|freeradius] -X`` showing issue occurring\r\n(you may need to run ``[radiusd|freeradius] -fxx -l stdout`` if using eg RADIUS with TLS)\r\n*REMOVE SECTION IF FEATURE REQUEST*\r\n\r\n```text\r\n\r\n(0)    sql (ok)\r\n(0)    expiration (noop)\r\n(0)    logintime (noop)\r\n(0)    pap (updated)\r\n(0)  } # recv Access-Request (updated)\r\n(0)  ERROR: No 'authenticate PAP' section found: rejecting the user\r\n\r\n```\r\n\r\nThis is an issue due to capitalization and one solution is a simple change to `raddb/sites-available/deafault`\r\n\r\nReplace:\r\n\r\n```\r\nauthenticate pap {\r\n        pap\r\n}\r\n```\r\n\r\nwith:\r\n\r\n```\r\nauthenticate PAP {\r\n        pap\r\n}\r\n```\r\n\r\nHowever this to me seems like an issue with the software interpreting the default config file, and not the config file itself, so maybe a PR to `sites-available/default` with that replacement would be unhelpful?\r\n\r\nLet me know how I can help,\r\nJeremy"},"comment":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/comments/384526145","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/2220#issuecomment-384526145","issue_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/2220","id":384526145,"user":{"login":"jpt","id":5319916,"avatar_url":"https://avatars0.githubusercontent.com/u/5319916?v=4","gravatar_id":"","url":"https://api.github.com/users/jpt","html_url":"https://github.com/jpt","followers_url":"https://api.github.com/users/jpt/followers","following_url":"https://api.github.com/users/jpt/following{/other_user}","gists_url":"https://api.github.com/users/jpt/gists{/gist_id}","starred_url":"https://api.github.com/users/jpt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpt/subscriptions","organizations_url":"https://api.github.com/users/jpt/orgs","repos_url":"https://api.github.com/users/jpt/repos","events_url":"https://api.github.com/users/jpt/events{/privacy}","received_events_url":"https://api.github.com/users/jpt/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T06:18:27Z","updated_at":"2018-04-26T06:18:27Z","author_association":"NONE","body":"@arr2036 Just recompiled and actually the same issue is coming up. If the config isn't changed to `authenticate PAP` from `authenticate pap` it still says `(0)  ERROR: No 'authenticate PAP' section found: rejecting the user`"}}
{"actor":{"display_login":"jpt"}}