3 Replies Latest reply on Dec 4, 2017 11:13 PM by devpriyo.bhattacharya

    tabcmd.jar - not connecting to tableau server using stored password

    devpriyo.bhattacharya

      In my linux machine, I am using tabcmd.jar for signing in to tableau server (another windows machine).

       

      This jar file is placed at following location: /home/tools/tabcmd/tabcmd.jar

       

      In the same above location, I have also placed a text file – storePswd.txt which has the password for tableau server user publisher1.

       

      When I try to sign into tableau server using tabcmd login I am getting the following error:

      Command: java -jar tabcmd.jar login --server http://11.11.111.111 -u "publisher1" --password-file storePswd.txt

      Output:

      ===== Creating new session

      ===== Server:   http://11.11.111.111

      ===== Username: publisher1

      ===== Connecting to the server...

      ===== Signing in...

        *** Not authorized

      Invalid username or password. (errorCode=16)

       

      However, if I just use the actual password, then it works:

      Command: java -jar tabcmd.jar login --server http://11.11.111.111 -u "publisher1" -p "publisher1"

      Output:

      ===== Creating new session

      ===== Server:   http://11.11.111.111

      =====     Username: publisher1

      ===== Connecting to the server...

      ===== Signing in...

      ===== Succeeded

      ===== Succeeded