This document provides instructions on how to configure and perform local user password changes on Windows devices using Kerberos authentication via Ansible in the Segura® Platform. This implementation removes NTLM dependency, aligning with Microsoft's security recommendations.
Attention
For the playbook to work correctly, you must follow the domain and hostname naming standards described in steps 2 and 3.
Requirements
- Be an administrative user with permission to create/edit templates.
- Have the credential and the device registered on the platform.
Step 1: Configure the execution template
- On Segura® Platform, in the navigation bar, hover over the Products menu and select Executions.
- In the side menu, select Templates control > Templates.
- Configure the Ansible template for the password change.
- If you already have an Ansible template for changing local Windows user passwords using NTLM, locate it and click Edit in the actions menu on the right.
- If you don’t have a template for this action, click Add in the upper-right corner.
- In the Execution template screen, complete the following fields:
- Name*: enter the template name.
- Status: enable to activate the template.
- Executor*: select Ansible.
- Execution type*: select Change password.
- Playbook: select Windows Kerberos change local user password.
- Inventory: select Windows-PSRP-Kerberos.
- Click Save.
A success message will be displayed and the created template will be listed in the report.
Step 2: Modify the device connectivity
Info
More information in How to configure a device.
- On Segura® Platform, in the navigation bar, hover over the Products menu and select PAM Core.
- In the side menu, select Devices > All devices.
- Find the desired device and click Edit in the actions menu on the right.
- In the Device screen, access the Information tab and complete or adjust the following fields:
- Device name*: enter the FQDN.
- IP, Hostname or management URL*: enter the FQDN.
- On the Connectivity tab, click Add to include a new connectivity.
- Connectivity type: select Windows RM.
- Port: enter
5985.
- Click Continue through all tabs, or access the Review tab and click Save at the bottom of the page.
A success message will be displayed and the device list will be presented.
Step 3: Configure the credential
Info
More information in How to configure a credential.
- On Segura® Platform, in the navigation bar, hover over the Products menu and select PAM Core.
- In the side menu, select Credentials > All credentials.
- Find the desired credential and click Edit in the actions menu on the right.
- In the Credential screen, complete or adjust the following fields:
- Domain: enter the domain entirely in uppercase.
- Additional information: enter the KDC hostname in the format
{"KDC": "hostname"}.
- Click Continue through all tabs, or access the Review tab and click Save at the bottom of the page.
A success message will be displayed and the credentials list will be presented.
Step 4: Request the password change
- On Segura® Platform, in the navigation bar, hover over the Products menu and select Executions.
- In the side menu, select Password operations > All operations.
- In the upper-right corner, click Request password change.
- In the screen displayed, complete:
- Credential*: select a credential available for password change.
- Schedule date*: select the date and time for the schedule.
- Click Save.