SAP / sqlalchemy-hana

SQLAlchemy Dialect for SAP HANA
Apache License 2.0
128 stars 56 forks source link

authentication failed with LDAP user #136

Closed paoloalba closed 11 months ago

paoloalba commented 11 months ago

I am trying to connect to a DB instance through LDAP validated credentials, but I continuously get an authentication failed exception. The credentials work fine with another JAVA application, and password validated credentials work fine with python. Is the error on the dialect level or on hdbcli? Is there any parameter that can be passed in order to make the connection successful?

kasium commented 11 months ago

@paoloalba have you tried it without sqlalchemy-hana, so just pure hdbcli? sqlalchemy-hana passes everything down to hdbcli, therefore authentication is handled by hdbcli itself.

Also, please provide the related python code:

paoloalba commented 11 months ago

I just tried with pure hdbcli, and I get the same error. If you rule out that anything extra could be passed from the dialect side, I will report the bug to the SAP community.

kasium commented 11 months ago

As far as I can tell you, this is the case. Please report the bug as you pointed out