fortios_user_ldap
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_user_ldap
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| user_ldap | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_user_ldap:
access_token: '{{ fortios_access_token }}'
state: present
user_ldap:
account_key_cert_field: othername
account_key_processing: same
account_key_upn_san: othername
antiphish: enable
client_cert_auth: enable
group_member_check: user-attr
interface_select_method: auto
name: default_name_20
obtain_user_info: enable
password_expiry_warning: enable
password_renewal: enable
port: "389"
search_type: recursive
secure: disable
server: 192.168.100.40
server_identity_check: enable
source_ip: 84.230.14.43
source_port: "0"
ssl_min_proto_version: default
status_ttl: "300"
two_factor: disable
two_factor_authentication: fortitoken
two_factor_notification: email
type: simple
vrf_select: "0"
vdom: root
name: Configure LDAP server entries.