bheisig / i-doit-cli

Access your CMDB on the command line interface
GNU Affero General Public License v3.0
13 stars 1 forks source link

Unable to get userId by credentials #28

Open wernerflamme opened 4 years ago

wernerflamme commented 4 years ago

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

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

wernerflamme commented 3 years ago

Hello? I'm still suffering from this problem.

'+' also seems to not work.

wernerflamme commented 3 years ago

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

wernerflamme commented 3 years ago

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

wernerflamme commented 3 years ago

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.