参数

参数名字 描述
id
必填

Validations:

  • Must be a String

auth_source_ldap
必填

Validations:

  • Must be a Hash

auth_source_ldap[name]
选填

Validations:

  • Must be a String

auth_source_ldap[host]
选填

Validations:

  • Must be a String

auth_source_ldap[port]
选填 , 允许空值

默认为 389

Validations:

  • Must be a number.

auth_source_ldap[account]
选填 , 允许空值

Validations:

  • Must be a String

auth_source_ldap[base_dn]
选填 , 允许空值

Validations:

  • Must be a String

auth_source_ldap[account_password]
选填 , 允许空值

如果 onthefly_register 为 true,则需要填写

Validations:

  • Must be a String

auth_source_ldap[attr_login]
选填 , 允许空值

如果 onthefly_register 为 true,则需要填写

Validations:

  • Must be a String

auth_source_ldap[attr_firstname]
选填 , 允许空值

如果 onthefly_register 为 true,则需要填写

Validations:

  • Must be a String

auth_source_ldap[attr_lastname]
选填 , 允许空值

如果 onthefly_register 为 true,则需要填写

Validations:

  • Must be a String

auth_source_ldap[attr_mail]
选填 , 允许空值

如果 onthefly_register 为 true,则需要填写

Validations:

  • Must be a String

auth_source_ldap[attr_photo]
选填 , 允许空值

Validations:

  • Must be a String

auth_source_ldap[onthefly_register]
选填 , 允许空值

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[usergroup_sync]
选填 , 允许空值

登录时同步外部用户组

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[tls]
选填 , 允许空值

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[groups_base]
选填 , 允许空值

组基础 DN

Validations:

  • Must be a String

auth_source_ldap[use_netgroups]
选填 , 允许空值

use NIS netgroups instead of posix groups, applicable only when server_type is posix or free_ipa

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[server_type]
选填 , 允许空值

LDAP 服务器类型

Validations:

  • Must be one of: free_ipa, active_directory, posix.

auth_source_ldap[ldap_filter]
选填 , 允许空值

LDAP 过滤器

Validations:

  • Must be a String

auth_source_ldap[location_ids]
选填 , 允许空值

使用给定 id 替换位置

Validations:

  • Must be an array of any type

auth_source_ldap[organization_ids]
选填 , 允许空值

使用给定 id 替换机构

Validations:

  • Must be an array of any type