accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail
Date Mon, 16 Jul 2012 21:22:35 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415650#comment-13415650
] 

Eric Newton commented on ACCUMULO-691:
--------------------------------------

Please add a functional test before closing the ticket.  This should have been caught by one
of the shell tests, and if it wasn't, let's add to the test.

                
> Connecting To Shell With Incorrect Password Should Fail
> -------------------------------------------------------
>
>                 Key: ACCUMULO-691
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-691
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.5.0-SNAPSHOT
>            Reporter: David Medinets
>            Assignee: John Vines
>             Fix For: 1.5.0
>
>
> I ran this command:
>   accumulo shell -u root -p bad_password
> And was connected to the shell. I did not expect this to work. I could
> run the "tables" command. I could even choose a table to work with.
> However the scan and insert failed as shown below.
> root@development> table david
> root@development david> scan
> 14 00:18:11,063 [shell.Shell] ERROR:
> org.apache.accumulo.core.client.AccumuloSecurityException: Error
> BAD_CREDENTIALS - Username or Password is Invalid
> root@development david> insert row1 cf1 cq1 value
> 14 00:18:25,952 [impl.ThriftScanner] WARN : Security Violation in scan
> request to 66.175.213.65:9997: ThriftSecurityException(user:root,
> code:BAD_CREDENTIALS)
> 14 00:18:26,046 [shell.Shell] ERROR:
> org.apache.accumulo.core.client.MutationsRejectedException: #
> constraint violations : 0  # authorization failures : 1  # server
> errors 0 # exceptions 0
> The config -T command did work which is probably not good.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message