这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.
2022 Zabbix中国峰会
2022 Zabbix中国峰会
Table of Contents

> 认证对象

以下对象与 authentication API 直接相关。

认证

认证对象具有以下属性。

属性 类型 描述
authentication_type integer 默认认证。

可用值:
0 - (默认) Internal;
1 - LDAP。
http_auth_enabled integer 启用 HTTP 认证。

可用值:
0 - (默认) 禁用;
1 - 启用。
http_login_form integer 默认登录表单。

可用值:
0 - (默认) Zabbix 登录表单;
1 - HTTP 登录表单。
http_strip_domains string 删除域名。
http_case_sensitive integer HTTP 区分大小写的登录。

可用值:
0 - 关闭;
1 - (默认)开启。
ldap_configured integer 启用 LDAP 认证。

可用值:
0 - 禁用;
1 - (默认) 启用。
ldap_host string LDAP 主机。
ldap_port integer LDAP 端口。
ldap_base_dn string LDAP 基于 DN。
ldap_search_attribute string LDAP 搜索属性。
ldap_bind_dn string LDAP 绑定 DN。
ldap_case_sensitive integer LDAP 区分大小写的登录。

可用值:
0 - 关闭;
1 - (默认)开启。
ldap_bind_password string LDAP 绑定密码。
saml_auth_enabled integer 启用 SAML 认证。

可用值:
0 - (默认)禁用;
1 - 启用。
saml_idp_entityid string SAML IdP 实体 ID。
saml_sso_url string SAML SSO 服务 URL。
saml_slo_url string SAML SLO 服务 URL。
saml_username_attribute string SAML 用户名属性。
saml_sp_entityid string SAML SP 实体 ID。
saml_nameid_format string SAML SP 名称 ID 格式。
saml_sign_messages integer SAML 签名消息。

可用值:
0 - (默认)不签名消息;
1 - 签名消息。
saml_sign_assertions integer SAML 签名断言。

可用值:
0 - (默认)不签名断言;
1 - 签名断言。
saml_sign_authn_requests integer SAML 签名 AuthN 请求。

可用值:
0 - (默认)不签名 AuthN 请求;
1 - 签名 AuthN 请求。
saml_sign_logout_requests integer SAML 签名登出请求。

可用值:
0 - (默认) 不签名登出请求。
1 - 签名登出请求。
saml_sign_logout_responses integer SAML 签名登出响应。

可用值:
0 - (默认)不签名登出响应;
1 - 签名登出响应。
saml_encrypt_nameid integer SAML 加密名称 ID。

可用值:
0 - (默认)不加密名称 ID;
1 - 加密名称 ID。
saml_encrypt_assertions integer SAML 加密断言。

可用值:
0 - (默认)不加密断言;
1 - 加密断言。
saml_case_sensitive integer SAML 区分大小写的登录。

可用值:
0 - 关闭;
1 - (默认)开启。
passwd_min_length integer 密码最小长度要求。

可用值范围: 1-70
8 - 默认
passwd_check_rules integer 密码检查规则。

可用的 bitmap 值:
0 - 检查密码长度;
1 - 检查密码是否使用大写和小写拉丁字母;
2 - 检查密码是否使用数字;
4 - 检查密码是否使用特殊字符;
8 - (默认) 检查密码是否不在常用密码列表中,不包含"Zabbix" 或 用户的名、姓或用户名单词的派生。