{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/awx/issues/2194","repository_url":"https://api.github.com/repos/ansible/awx","labels_url":"https://api.github.com/repos/ansible/awx/issues/2194/labels{/name}","comments_url":"https://api.github.com/repos/ansible/awx/issues/2194/comments","events_url":"https://api.github.com/repos/ansible/awx/issues/2194/events","html_url":"https://github.com/ansible/awx/issues/2194","id":353674312,"node_id":"MDU6SXNzdWUzNTM2NzQzMTI=","number":2194,"title":"No logging when debugging AD authentication issues","user":{"login":"Oliverr","id":1512050,"node_id":"MDQ6VXNlcjE1MTIwNTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1512050?v=4","gravatar_id":"","url":"https://api.github.com/users/Oliverr","html_url":"https://github.com/Oliverr","followers_url":"https://api.github.com/users/Oliverr/followers","following_url":"https://api.github.com/users/Oliverr/following{/other_user}","gists_url":"https://api.github.com/users/Oliverr/gists{/gist_id}","starred_url":"https://api.github.com/users/Oliverr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oliverr/subscriptions","organizations_url":"https://api.github.com/users/Oliverr/orgs","repos_url":"https://api.github.com/users/Oliverr/repos","events_url":"https://api.github.com/users/Oliverr/events{/privacy}","received_events_url":"https://api.github.com/users/Oliverr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T07:27:12Z","updated_at":"2018-08-24T07:27:12Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nThe Ansible community is highly committed to the security of our open source\r\nprojects.  Security concerns should be reported directly by email to\r\nsecurity@ansible.com.  For more information on the Ansible community's\r\npractices regarding responsible disclosure, see\r\nhttps://www.ansible.com/security\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!-- Pick the area of AWX for this issue, you can have multiple, delete the rest: -->\r\n - UI\r\n\r\n##### SUMMARY\r\n<!-- Briefly describe the problem. -->\r\n- No logging when debugging AD authentication issues on Ubuntu 18.04.1 - AWX 1.0.7.2\r\n\r\n##### ENVIRONMENT\r\n* AWX version: 1.0.7.2\r\n* AWX install method: docker on linux\r\n* Ansible version:  2.6.2 \r\n* Operating System: Ubuntu 18.04\r\n* Web Browser: Safari, Firefox\r\n\r\n##### STEPS TO REPRODUCE\r\n\r\n<!-- For bugs, please show exactly how to reproduce the problem. For new\r\nfeatures, show how the feature would be used.  -->\r\n\r\n`/etc/tower/conf.d/ldap.py` created\r\n`LOGGING['handlers']['tower_warnings']['level'] =  'DEBUG'` added to ldap.py\r\n\r\nLDAP Config:\r\n```\r\nServer URL\r\nldaps://<LDAP Server>:636\r\n\r\nBind DN\r\nCN=ansible,CN=users,DC=<LDAP domain>,DC=com\r\n\r\nLDAP User Search\r\n[\r\n \"OU=Users,DC=<LDAP domain>,DC=com\",\r\n \"SCOPE_SUBTREE\",\r\n \"(cn=%(user)s)\"\r\n]\r\n\r\nLDSP Group Search\r\n[\r\n \"dc=<LDAP domain>,dc=com\",\r\n \"SCOPE_SUBTREE\",\r\n \"(objectClass=group)\"\r\n]\r\n\r\nLDAP User Attribute MAP\r\n{\r\n \"first_name\": \"givenName\",\r\n \"last_name\": \"sn\",\r\n \"email\": \"mail\"\r\n}\r\n\r\nLDSP Group Type Params\r\n{\r\n \"member_attr\": \"member\",\r\n \"name_attr\": \"cn\"\r\n}\r\n\r\nLDSP User Flags by Group\r\n{\r\n \"is_superuser\": [\r\n  \"cn=AWX Admin,ou=groups,dc=<LDAP domain>,dc=com\"\r\n ]\r\n}\r\n\r\nLDAP Org MAP\r\n{\r\n \"MAIN\": {\r\n  \"users\": [\r\n   \"cn=AWX Users,ou=groups,dc=<LDAP domain>,dc=com\"\r\n  ],\r\n  \"admins\": \"cn=AWX Admin,ou=groups,dc=<LDAP domain>,dc=com\",\r\n  \"remove_admins\": false,\r\n  \"remove_users\": false\r\n }\r\n}\r\n```\r\n##### EXPECTED RESULTS\r\n\r\n<!-- For bug reports, what did you expect to happen when running the steps\r\nabove? -->\r\n\r\nFailures logged into `/var/logs/tower`\r\n\r\n##### ACTUAL RESULTS\r\n\r\n<!-- For bug reports, what actually happened? -->\r\nNo logging exists on failed login with AD accounts\r\n\r\n##### ADDITIONAL INFORMATION\r\n\r\n<!-- Include any links to sosreport, database dumps, screenshots or other\r\ninformation. -->\r\n"}}
{"actor":{"display_login":"Oliverr"}}