update_auth_server
Modify LDAP or RADIUS authentication server settings on pfSense by specifying the server ID and updating host, port, credentials, or protocol parameters.
Instructions
Update an existing authentication server by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP address of the auth server | |
| name | No | Descriptive name for this auth server | |
| port | No | Port number | |
| type | No | Server type - "ldap" or "radius" | |
| scope | No | LDAP search scope ("one" or "subtree") | |
| authcn | No | LDAP authentication container(s) | |
| basedn | No | LDAP base DN for searches | |
| transport | No | Transport protocol for LDAP ("tcp", "ssl", "starttls") | |
| ldap_binddn | No | LDAP bind DN | |
| ldap_bindpw | No | LDAP bind password | |
| radius_secret | No | RADIUS shared secret | |
| auth_server_id | Yes | Auth server ID (array index from search_auth_servers) | |
| ldap_attr_user | No | LDAP username attribute | |
| radius_timeout | No | RADIUS timeout in seconds | |
| ldap_attr_group | No | LDAP group attribute | |
| radius_protocol | No | RADIUS protocol ("MSCHAPv2", "MSCHAPv1", "CHAP_MD5", "PAP") | |
| ldap_attr_member | No | LDAP group member attribute | |
| radius_acct_port | No | RADIUS accounting port | |
| radius_auth_port | No | RADIUS authentication port |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||