Description
Describe the bug
The Active Directory Python app fails to connect with an error "automatic bind failed, invalid credentials".
To Reproduce
Steps to reproduce the behavior:
- Try to run the Active Directory app
Expected behavior
That the app should authenticate via LDAP and successfully execute.
We have confirmed that the credentials are correct via using ldapsearch from the Orborus server.
We have also pulled out the specific bit of the Python code that makes the LDAP connection and run that as a standalone piece of Python from within an instance of the app container on the Orborus server and it also successfully binds.
Logs for the app container itself from one of our test runs.
Logs from the shuffle-worker for the same execution.
It looks to me like the core issue is the "TypeError wf variables: 'NoneType' object is not iterable" from the app container logs, but where exactly that error is coming from I'm not quite sure.
Almost certainly unrelated, I also note that the AD app reports a v1.0.0 and v1.0.1 (and you can select v1.0.1 as the app version in a workflow) but there is only a v1.0.0 in the repo: https://github.com/Shuffle/python-apps/tree/master/active-directory/1.0.0