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

No feedback with password authentication issue #47

Closed
ascended121 opened this issue Nov 7, 2018 · 4 comments
Closed

No feedback with password authentication issue #47

ascended121 opened this issue Nov 7, 2018 · 4 comments

Comments

@ascended121
Copy link

When CCDD is started without a user specified, the user is prompted for a database username and password. I'm attempting to setup a new CCDD machine and am stuck at this prompt (ie, username and password are entered, click 'okay', and prompt reappears). I've checked the log and there's only one entry (echoing the arguments CCDD was started with), but nothing relating to a login attempt.

When I start CCDD with the user argument (set to the user I would enter into the dialog) and shutdown, I get the following error in the log:
FATAL: password authentication failed
I suspect that's the same issue I'm seeing through the GUI, but can't tell without additional feedback from CCDD. It would be very helpful if CCDD could provide more information, preferably through a log message (and a dialog if using the GUI).

Observed with 1.4.44 on Ubuntu.

@KevinMcCluney
Copy link
Contributor

Is the user name & password you're using valid for the postgreSQL server you have running?

@ascended121
Copy link
Author

It may not be... the issue was not meant to document a problem with the login itself, rather the lack of feedback from the GUI during the process.

Also, during further testing I noted that CCDD is returning 0 (Success) even when it fails to authenticate. It would be helpful if it could return a non-zero value to indicate an error occurred to the calling script.

@KevinMcCluney
Copy link
Contributor

KevinMcCluney commented Nov 7, 2018

Both of these are addressed in the version 1.4.47.

@SpaceSteve121
Copy link

Thanks, noticed the new message in the GUI on 1.4.48. Looks good!

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

3 participants