-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active Directory Python App Fails To Connect #330
Comments
Also figured this one out. I'm not sure if there is a way to be able to escape the $ in a password, or whether the easier and better solution is to just make it abundantly clear in the documentation that $ should be avoided in variable values (EG: passwords) because it will be interpreted as a variable name (unless you are using it for that purpose). Not sure if it's really classifiable as a bug or not. Probably just a documentation update to make it clear to avoid using a $ unless you are referencing a variable. |
Hi, Use backslash to escape the $ $password |
Heyo! Finally caught up after the holidays, ready to fix some stuff again :) @DavidtheGoliath could you test the app in one of our test environments? |
Thanks @frikky
|
Ooh, I didnt read it well enough. The escaping was definitely the problem then. Will have to look at how to do this by default in these cases 🤔 |
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:
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
The text was updated successfully, but these errors were encountered: