Message-ID: From: "kobruleht (@kobruleht)" To: "postgresql-interfaces/psqlodbc" Date: Thu, 26 Dec 2024 13:56:38 +0000 Subject: [postgresql-interfaces/psqlodbc] issue #84: fe_sendauth: no password supplied error if Application data folder or pgpass.conf is not accessible List-Id: X-GitHub-Author-Id: 1274923 X-GitHub-Author-Login: kobruleht X-GitHub-Issue: 84 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-State: open X-GitHub-Type: issue X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/issues/84 Content-Type: text/plain; charset=utf-8 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. 5. 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.