4 Replies Latest reply on Oct 23, 2012 2:26 PM by Dave Ellend

    tabcmd behaviour change in 7.0.5

      Hello Forum,

           We use tabcmd to manipulate the administrator user's password/name via scripting. The reason is that we sync the user details with an external system.

       

      For example, to change the administrator user's password from  'pwd' to 'newpwd',  we would issue the command

      >tabcmd createusers  c:\temp\adminuser.csv  --server http://localhost:10000 --username administrator --password pwd --no-prompt

      where  c:\temp\adminuser.csv  =  

      <Beginfile>

      administrator,newpwd,The Admin,interactor,system,true

      <EndFile>

      Essentially, use the current admin user credentials to change his own name/password.

      It used to work in Tableau 6.1

      In Tableau 7.0.5, which we recently migrated to, the command has no effect.. even though the console output  says success!!

      >>>>>>>>>>>>>>>>>>>>>>

      ===== Continuing previous session

      =====     Server:   http://localhost:10000/

      =====     Username: administrator

      ===== Adding users listed in c:\temp\adminuser.csv to server...

      ===== Your session has expired.  Logging in again...

      ===== Creating new session

      =====     Server:   http://localhost:10000/

      =====     Username: administrator

      ===== Connecting to server...

      ===== Logging in...

      ===== Login Succeeded.

      ===== Succeeded

      ===== 0% complete

      0% complete

      ===== 100% complete

      100% complete

      ===== Finished processing users CSV file.

      Modified 1 user.

       

      Imported:

      administrator

       

      Finished processing users CSV file.

      Modified 1 user.

       

      Imported:

      administrator

      >>>>>>>>>>>>>>>>>>>>>>

       

      Any ideas on how to fix it?

      One workaround is to

           1. create a tempadmin  using administrator

           2. delete  administrator using tempadmin

           3. recreate administrator using tempadmin  ( with new pwd and or  name )

           4. delete tempadmin using administrator

      And it works.. although the whole operation takes close to 15 seconds

      I'm looking for a more holistic solution!

      Thanks!