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

[YCQL] Logging into a role without password will crash tserver. #2506

Closed
WesleyW opened this issue Oct 3, 2019 · 1 comment
Closed

[YCQL] Logging into a role without password will crash tserver. #2506

WesleyW opened this issue Oct 3, 2019 · 1 comment
Assignees
Labels
kind/bug This issue is a bug

Comments

@WesleyW
Copy link
Contributor

WesleyW commented Oct 3, 2019

After enabling YCQL authentication, I tried creating a role with login=true and no password. Creation worked but attempting to log in with the role will crash the tserver.
Steps:

  • bin/yb-ctl start --tserver_flags=use_cassandra_authentication=true
  • bin/cqlsh -u cassandra -p cassandra
  • create role testing with login=true;
  • select * from system_auth.roles shows correct roles.
  • exit
  • bin/cqlsh -u testing will prompt for a password and then crash after any input.

tserver fatal log:

F1003 13:18:14.812242 268431360 ql_value.h:113] Check failed: pb_.has_string_value() 

Looks like a failed null check since password is recorded as null.

@ndeodhar ndeodhar added the kind/bug This issue is a bug label Oct 3, 2019
@hectorgcr
Copy link
Contributor

This has been closed by 65d3cc7 and duplicate of #4459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

4 participants