{"action":"created","issue":{"url":"https://api.github.com/repos/jhrozek/pam_hbac/issues/93","repository_url":"https://api.github.com/repos/jhrozek/pam_hbac","labels_url":"https://api.github.com/repos/jhrozek/pam_hbac/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/jhrozek/pam_hbac/issues/93/comments","events_url":"https://api.github.com/repos/jhrozek/pam_hbac/issues/93/events","html_url":"https://github.com/jhrozek/pam_hbac/pull/93","id":179838374,"number":93,"title":"Port to HPUX 11.31 (ia64)","user":{"login":"johnnys66","id":19611866,"avatar_url":"https://avatars.githubusercontent.com/u/19611866?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnys66","html_url":"https://github.com/johnnys66","followers_url":"https://api.github.com/users/johnnys66/followers","following_url":"https://api.github.com/users/johnnys66/following{/other_user}","gists_url":"https://api.github.com/users/johnnys66/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnys66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnys66/subscriptions","organizations_url":"https://api.github.com/users/johnnys66/orgs","repos_url":"https://api.github.com/users/johnnys66/repos","events_url":"https://api.github.com/users/johnnys66/events{/privacy}","received_events_url":"https://api.github.com/users/johnnys66/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jhrozek","id":715522,"avatar_url":"https://avatars.githubusercontent.com/u/715522?v=3","gravatar_id":"","url":"https://api.github.com/users/jhrozek","html_url":"https://github.com/jhrozek","followers_url":"https://api.github.com/users/jhrozek/followers","following_url":"https://api.github.com/users/jhrozek/following{/other_user}","gists_url":"https://api.github.com/users/jhrozek/gists{/gist_id}","starred_url":"https://api.github.com/users/jhrozek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhrozek/subscriptions","organizations_url":"https://api.github.com/users/jhrozek/orgs","repos_url":"https://api.github.com/users/jhrozek/repos","events_url":"https://api.github.com/users/jhrozek/events{/privacy}","received_events_url":"https://api.github.com/users/jhrozek/received_events","type":"User","site_admin":false},"assignees":[{"login":"jhrozek","id":715522,"avatar_url":"https://avatars.githubusercontent.com/u/715522?v=3","gravatar_id":"","url":"https://api.github.com/users/jhrozek","html_url":"https://github.com/jhrozek","followers_url":"https://api.github.com/users/jhrozek/followers","following_url":"https://api.github.com/users/jhrozek/following{/other_user}","gists_url":"https://api.github.com/users/jhrozek/gists{/gist_id}","starred_url":"https://api.github.com/users/jhrozek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhrozek/subscriptions","organizations_url":"https://api.github.com/users/jhrozek/orgs","repos_url":"https://api.github.com/users/jhrozek/repos","events_url":"https://api.github.com/users/jhrozek/events{/privacy}","received_events_url":"https://api.github.com/users/jhrozek/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-28T17:40:33Z","updated_at":"2016-09-29T09:07:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jhrozek/pam_hbac/pulls/93","html_url":"https://github.com/jhrozek/pam_hbac/pull/93","diff_url":"https://github.com/jhrozek/pam_hbac/pull/93.diff","patch_url":"https://github.com/jhrozek/pam_hbac/pull/93.patch"},"body":"As a disclaimer I'm not a developer so this might not be the best approach.\r\n\r\nTried not to make big changes to the existing code by adding as much as possible the code for HPUX in else statments.\r\nSince SSL/TLS is not working (yet) had to resort to the 'HPUX' macro to undefine 'HAVE_LDAP_START_TLS' and 'HAVE_LDAPSSL_CLIENT_INIT' to return 'LDAP_NOT_SUPPORTED' in the secure_connection function.\r\nHad to write code to substitute the 'pam_vsyslog' function that doesn't exist (the 'pam_syslog' function isn't an option since it doesn't take a va_list argument).\r\nHad to write code to implement get-groups-for-user since the 'getgrgid_r' function doesn't exist.\r\nStrangely, when invoked through pam in HPUX, 'fopen' doesn't set 'errno' on error. Changed the initialization value of the 'errno' variable to an unknown value (666) so that in case there's an error trying to open it, an error is returned instead of the value 0 that would be considered as if no error had occurred.\r\n\r\nHaven't had the chance to compile it in Solaris or Linux to make sure that the functionality on those platforms has not been affected.\r\n\r\nI'm available for further tests and of course suggestions on the implementation part."},"comment":{"url":"https://api.github.com/repos/jhrozek/pam_hbac/issues/comments/250411760","html_url":"https://github.com/jhrozek/pam_hbac/pull/93#issuecomment-250411760","issue_url":"https://api.github.com/repos/jhrozek/pam_hbac/issues/93","id":250411760,"user":{"login":"jhrozek","id":715522,"avatar_url":"https://avatars.githubusercontent.com/u/715522?v=3","gravatar_id":"","url":"https://api.github.com/users/jhrozek","html_url":"https://github.com/jhrozek","followers_url":"https://api.github.com/users/jhrozek/followers","following_url":"https://api.github.com/users/jhrozek/following{/other_user}","gists_url":"https://api.github.com/users/jhrozek/gists{/gist_id}","starred_url":"https://api.github.com/users/jhrozek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhrozek/subscriptions","organizations_url":"https://api.github.com/users/jhrozek/orgs","repos_url":"https://api.github.com/users/jhrozek/repos","events_url":"https://api.github.com/users/jhrozek/events{/privacy}","received_events_url":"https://api.github.com/users/jhrozek/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T09:07:32Z","updated_at":"2016-09-29T09:07:32Z","body":"Also, if you would like me to help to add some plumbing work (like the disable-ssl option), I'm totally fine doing that.."}}
{"actor":{"display_login":"jhrozek"}}