---
schema_version: "1"
id: 0fe1b478e9a550164232e6096539851e68be66220e289999534a39e714e9ca04
title: kerberosSettings 实体
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server-linux/entity_kerberos.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-cn/entity_kerberos.htm
source_site: help.tableau.com
content_type: documentation
content_hash: a6cc5c479d0cea84f58f74cd952b2f899bd2e09a87b08d07ac8a4ffd1bb82474
description: Reference for the kerberosSettings entity to configure Kerberos authentication via JSON.
---
[跳转到主要内容](#main-content)

# kerberosSettings 实体

在配置 Kerberos 身份验证之前，请查看[Kerberos 要求](https://help.tableau.com/v0.0/server-linux/zh-cn/kerberos_requ.htm)。

使用下面的配置文件模板创建一个 json 文件。使用适当的值填充各个选项之后，使用以下命令传递 json 文件并应用设置：

`tsm settings import -f /path/to/file.json`

`tsm pending-changes apply`

如果待定更改需要重新启动服务器，`pending-changes apply` 命令将显示一个提示，告知您将进行重新启动。即使服务器已停止，此提示也会显示，但在这种情况下不会重新启动。您可以使用 `--ignore-prompt` 选项隐藏提示，但这样做不会改变重新启动行为。如果更改不需要重新启动，则会在不提示的情况下应用更改。有关详细信息，请参见[tsm pending-changes apply](https://help.tableau.com/v0.0/server-linux/zh-cn/cli_pending-changes.htm#pending-changes-apply)。

## 配置模板

使用此模板来配置 Kerberos 设置。

**重要信息：**所有实体选项均区分大小写。

有关配置文件、实体和密钥的更多说明，请参见[配置文件示例](https://help.tableau.com/v0.0/server-linux/zh-cn/config_file_example.htm)。

完成 Kerberos 身份验证的初始配置后，使用[tsm authentication kerberos <commands>](https://help.tableau.com/v0.0/server-linux/zh-cn/cli_authentication_tsm.htm#TSMKerb)子类别来设置其他值。

{
  "configEntities": {
	"kerberosSettings": {
		"\_type": "kerberosSettingsType",
		"enabled": "true",
		"keytabFile": "/path/to/keytab\_file"
        }
     }			
 }

## 配置文件参考

以下列表包括可随 `"kerberosSettings"` 实体集一起包括的所有选项。

选项

值

enabled

选项：`true` 或 `false`。

启用 Kerberos 身份验证

keytabFile

必需。

有效 Kerberos keytab 文件的路径。

dBClasses

全局凭据的数据库类的逗号分隔列表。连接到 Cloudera 数据源时可能必需。