Skip to content
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

Unable to get userId by credentials #28

Open
wernerflamme opened this issue Mar 6, 2020 · 4 comments
Open

Unable to get userId by credentials #28

wernerflamme opened this issue Mar 6, 2020 · 4 comments

Comments

@wernerflamme
Copy link

Command issued: idoitcli cache

Expected behavior

idoitcli starting to build the cache

Actual behavior

idoitcli cache
Create cache files needed for faster processing
Clear cache files
Fetch list of object types
No proper configuration for i-doit API calls: i-doit responded with an error: i-doit system error: Unable to get userId by credentials

Steps to reproduce the behavior

  • download any version of idoitcli
  • use a passwort that contains special characters like '(' and ')'

I guess that this is the relevant part, because nothing else has been changed on my side.

Our DEV system behaves the same. And everything worked fine with a password that didn't use '(' and ')'. Interactive logon with this password also woks fine, so I expect idoitcli to be tha password muncher.

Environment

Question Answer
bheisig/idoitapi version 0.9, fresh from the site
i-doit version 1.13.2 PRO
i-doit API add-on version im Source steht Version 1.10

Logs and other useful output

  • see above
  • in ssl-error.log I find "AH01382: Request header read timeout" from my host address.
  • in ssl-access.log there are only HTTP 200 return codes around that time
  • inside i-doit, nothing in the logbook around that time
  • nothing else found
@wernerflamme
Copy link
Author

wernerflamme commented Aug 20, 2020

Hello? I'm still suffering from this problem.

'+' also seems to not work.

@wernerflamme
Copy link
Author

And one year later, this issue still persists. The server runs i-doit 1.15.2 pro in the meantime.

@wernerflamme
Copy link
Author

wernerflamme commented Mar 10, 2021

Might be a bug in the API. Logon works when using a local user. Logon does not work with an LDAP user.

@wernerflamme
Copy link
Author

OK, it was a bug. Our software partner said they updated the API, but this was obiously not the case. After going to API > 1.10.0, everything works fine again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant