Wednesday, 2020-12-16

*** dbpiv has quit IRC00:05
ara-slacksean.kang: Hi, I have a question about the external authentication for ARA API. Does ARA support LDAP authentication?02:04
dmsimard@sean.kang: I haven't done it, it's not documented for ara but it should be doable :)02:10
dmsimardI saw your issue but haven't got around to it, we can use that to figure it out: https://github.com/ansible-community/ara/issues/19602:10
ara-slacksean.kang: That is the issue I opened.02:11
dmsimardI think there's two different ways to approach it -- one is at the webserver level (i.e, apache with mod_ldap), the other is with the api backend (django/django-rest-framework)02:12
ara-slacksean.kang: So it is doable at the current state and it doesn't require application level code change?02:12
dmsimardthis would be a good starting point and we should probably add it to the docs: https://github.com/ansible-community/ara/issues/124#issuecomment-61784159702:16
ara-slacksean.kang: Thank you. I will have a look.02:17
dmsimardI don't have a ldap implementation handy to test with but if you manage to figure it out, we can add it to the docs :)02:17
ara-slacksean.kang: I have done something similar with NetBox which is based on Django so I thought the LDAP authentication had to be supported in application level. https://netbox.readthedocs.io/en/stable/installation/6-ldap/02:22
ara-slack That apache module based LDAP authentication looks quite different.02:22
dmsimardin your use case would ldap be used only for the web interface authentication ? or for the callback plugin too ?02:30
dmsimardif authentication is required for writes, the callback needs to authenticate somehow02:30
ara-slacksean.kang: both02:31
dmsimardso to record a playbook, the ldap password would need to be in an ansible.cfg or exported through an env var02:32
dmsimardare you okay with that ? I mean you can create regular accounts in django manually instead02:33
ara-slacksean.kang: sorry. i was in a meeting.02:53
ara-slacksean.kang: we use docker containers to run playbooks and credentials can be put as environment variables.02:55
dmsimardI'm off for now, don't have a solution for you right now but we can summarize our discussion and findings in the issue03:35
ara-slacksean.kang: thank you again03:42
*** evrardjp has quit IRC05:33
*** evrardjp has joined #ara05:33
*** TKersten has joined #ara06:26
*** mgariepy has quit IRC12:02
*** dbpiv has joined #ara13:03
*** mgariepy has joined #ara13:09
*** etienne has joined #ara15:18
*** mgariepy has quit IRC16:04
*** TKersten has left #ara16:21
*** mgariepy has joined #ara16:41
*** dbpiv has quit IRC16:50
*** dbpiv has joined #ara16:53
*** dbpiv has quit IRC17:15
*** dbpiv has joined #ara17:43
*** dbpiv has quit IRC19:14
*** dbpiv has joined #ara19:58
*** dbpiv has quit IRC20:04
*** _KaszpiR_ has quit IRC21:49
*** _KaszpiR_ has joined #ara21:50
*** _KaszpiR_ has quit IRC23:07
*** _KaszpiR_ has joined #ara23:31

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!