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

Log that authentication cannot be enabled if there is no admin account created #3107

Closed
ryanwalder opened this issue Jun 23, 2015 · 2 comments

Comments

@ryanwalder
Copy link

If you enable auth in the config without creating a new admin user then restart the service there is no mention of this in the logs.

I know this is kind of expected behaviour, having it logged on startup would be good though something like:

[WARN] Unable to enable Authentication, no Admin users exist.

@beckettsean
Copy link
Contributor

Related to #2193 and #2278

@beckettsean beckettsean added this to the 0.9.3 milestone Jul 15, 2015
@beckettsean beckettsean changed the title Turning on authentication silently fails if there is no admin account created Log that authentication cannot be enabled if there is no admin account created Jul 15, 2015
@gunnaraasen
Copy link
Contributor

For 0.9.2, when authentication is turned on and no users exist, only the CREATE USER [user] WITH PASSWORD [user] WITH ALL PRIVILEGES command can be executed (see PR #3244). If one or more users exist, authorization is enforced as usual.

Once PR #3427 is merged, the logs will note whether authentication is enabled or disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants