参数

参数名字 描述
id
必填

Validations:

  • Must be String

auth_source_ldap
必填

Validations:

  • Must be a Hash

auth_source_ldap[name]
选填

Validations:

  • Must be String

auth_source_ldap[host]
选填

Validations:

  • Must be String

auth_source_ldap[port]
选填

defaults to 389

Validations:

  • Must be a number.

auth_source_ldap[account]
选填

Validations:

  • Must be String

auth_source_ldap[base_dn]
选填

Validations:

  • Must be String

auth_source_ldap[account_password]
选填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_login]
选填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_firstname]
选填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_lastname]
选填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_mail]
选填

required if onthefly_register is true

Validations:

  • Must be String

auth_source_ldap[attr_photo]
选填

Validations:

  • Must be String

auth_source_ldap[onthefly_register]
选填

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[usergroup_sync]
选填

sync external user groups on login

Validations:

  • Must be 'true' or 'false' or '1' or '0'

auth_source_ldap[tls]
选填

Validations:

  • Must be 'true' or 'false' or '1' or '0'