7 Replies Latest reply on Dec 13, 2016 12:31 PM by Joseph Savard

    Can I get a list of trusted authentication hosts?

    Tim Uckun

      The question is in the subject. How can I get a list of trusted hosts.

       

      Thanks.

        • 1. Re: Can I get a list of trusted authentication hosts?
          Eric Wilson

          Yeah... It's been a year, would be nice to see this answered.

          • 2. Re: Can I get a list of trusted authentication hosts?
            Harvey Nelson

            Many of the trusted host settings can be found in the workgroup.yml file.

             

            C:\ProgramData\Tableau\Tableau Server\data\tabsvc\config\workgroup.yml

            • 3. Re: Can I get a list of trusted authentication hosts?
              Thai Pham

              You can find it in C:\ProgramData\Tableau\Tableau Server\config\tabsvc.yml

              • 4. Re: Can I get a list of trusted authentication hosts?
                Joseph Savard

                There is no directory structure that this matches...

                 

                However, this directory matches C:\ProgramData\Tableau\Tableau Server\config\tabsvc.yml

                and there is not such file..

                 

                When you issue the following commands:

                 

                tabadmin stop

                tabadmin set wgserver.trusted_hosts "172.1.1.19"

                tabadmin config

                tabadmin start

                 

                Is there an additional step for saving the config between the config and start command?

                Ive also seen a reference to not tabsvc.yml that holds this data but workgroups.yml which also is not found in the installation.

                 

                Is there another file perhaps?

                • 5. Re: Can I get a list of trusted authentication hosts?
                  Joseph Savard

                  A little further Digging and this list can be generated quite easily.

                   

                   

                  tabadmin configure -o "c:\SomeFileName.yml"

                   

                  This wgserver.trusted_hosts parameter is in this file for reference.

                   

                  wgserver.trusted_hosts: 172.1.1.10, 172.1.1.11

                  • 6. Re: Can I get a list of trusted authentication hosts?
                    Toby Erkson

                    Some additional help...

                    - From the help for tabadmin configure:

                    C:\Windows\system32>tabadmin configure -h
                    Usage: <script> configure [options]
                    
                    Update the configuration of Tableau Server.  By default this creates
                    the entire data/<config_name>/config directory, with the master
                    service configuration (workgroup.yml) and other configurable files.
                    Command options:
                        -o, --output FILE                Write the main configuration to FILE and exit.
                        -d, --write-defaults FILE        Write the default configuration to FILE.
                        -v, --verify FILE                Verify the configuration.
                            --upgrade                    Upgrade the service configuration to the current version.
                        -w, --suppress-warnings          Use with the --verify option to suppress warnings about invalid values that are ignored in favor of the defaults.
                    Global options:
                        -h, --help                      Display <script> help.
                        -c, --config CONFIG_NAME        Use the specified service configuration.
                    

                     

                     

                    - You can also use the following:

                    tabadmin get wgserver.trusted_hosts
                    

                     

                    Here's the help for the tabadmin get command:

                    C:\Windows\system32>tabadmin get -h
                    Usage: <script> get <parameter>
                    
                    Get the value of a configuration parameter.
                    
                    If the value of the parameter is encrypted, the command will decrypt the value and return plain text. If not, the command just return that value.
                    
                    Command options:
                    
                    Global options:
                        -h, --help                       Display <script> help.
                        -c, --config CONFIG_NAME         Use the specified service configuration.
                    

                     

                     

                    - Using Agent Ransack here's my list of .yml files...seriously, how hard is it to search for a filename???:

                    • 7. Re: Can I get a list of trusted authentication hosts?
                      Joseph Savard

                      That is a bit more specific and a better use of tabadmin.

                       

                      Once I entered tabadmin command for trusted auth hosts I still did not see the workgroup.yml file or the tabsvc.yml.  Simple cause was I was looking in the  C:\Program Files\Tableau\Tableau Server\9.2\ and gave no consideration to the C:\ProgramData\Tableau\Tableau Server\ or finally the  C:\Users\All Users\Tableau\Tableau Server\config directories. This I see is where I found the tabsvc.yml and the  workgroup.yml. Further, the files did not seem to be created at the point I searched but I dont know that to be completely accurate.

                       

                      Your installation is on D: and that was the push that made me aware, thank you.

                       

                      You being an administrator can empathize with new users in the environment and I appreciate the time you took to be explicit in your response..

                       

                      Thank you for the lesson and the help Toby.

                      Joseph