fortios_user_domain_controller
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_domain_controller
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_domain_controller | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_user_domain_controller:
access_token: '{{ fortios_access_token }}'
state: present
user_domain_controller:
ad_mode: none
adlds_port: "389"
change_detection: enable
change_detection_period: "60"
dns_srv_lookup: enable
extra_server:
- id: "13"
port: "445"
source_port: "0"
hostname: myhostname
interface_select_method: auto
ldap_server:
- name: default_name_24 (source user.ldap.name)
name: default_name_25
port: "445"
replication_port: "0"
source_port: "0"
vdom: root
name: Configure domain controller entries.