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

fe_sendauth: no password supplied error if Application data folder or pgpass.conf is not accessible #84

Open
kobruleht opened this issue Dec 26, 2024 · 4 comments

Comments

@kobruleht
Copy link

If application data folder in Windows is not accessible,

driver shows wrong error message:

fe_sendauth: no password supplied

To reproduce:

  1. Type Windows+R

  2. Enter %appdata%
    Directory C:\Users\userid\AppData\Roaming opens

  3. Navigate one folder up and in Roaming folder properties, remove access rights from Roaming folder.
    Or create PostgreSql/pgpass.conf file and remove rights from it.

  4. Use odbc driver to log in with user which requires password and enter password.

Observed:

fe_sendauth: no password supplied

error appears and logging to server fails.

@kobruleht kobruleht changed the title fe_sendauth: no password supplied error if path to %appdata% or pgpass.conf is not accessible fe_sendauth: no password supplied error if Application data folder or pgpass.conf is not accessible Dec 26, 2024
@davecramer
Copy link
Contributor

So is the problem that the error message is wrong or you can't login ?

@kobruleht
Copy link
Author

Both: itr is not possible to log in if password is supplied and error message is also wrong.

@davecramer
Copy link
Contributor

Oh, so even if you supply the password it doesn't work. Your message was a bit confusing.

@davecramer davecramer reopened this Dec 30, 2024
@kobruleht
Copy link
Author

If correct password is supplied message is no password supplied.

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

2 participants