Change a Windows credential password over Kerberos when Segura® Platform reaches the Active Directory domain only through the Network Connector. This procedure configures the password-change template, the device, and the credential, then runs and verifies the change.
Requirements
- Segura® Platform 4.2.0 or later.
- The kerberos-connect container is deployed on the Network Connector. See Deploy the kerberos-connect container on the Network Connector.
- Administrative permission to create templates and to edit devices and credentials.
- The target Windows device is reachable from the Network Connector agent over WinRM: port 5985 for HTTP, or 5986 for HTTPS.
Steps
Step 1: Create the password-change template
- On Segura® Platform, open the Grid Menu and select Executions.
- Go to Settings > Template.
- Click View actions, represented by the three vertical dots, and select + New.
- In the Execution template window, complete the following fields:
- Name: a name that identifies the template.
- Enabled: select Yes.
- Executor: select Ansible.
- Execution type: select Change password.
- Playbook: select SNC Windows Kerberos change password.
- Click Save.
Step 2: Configure the device
- Open the Grid Menu and select Devices.
- Select the target device, or create a new one. See How to configure devices on Network Connector.
- On the Information tab:
- Device name and IP, Hostname or management URL: enter the device FQDN, for example
WS2019-KERBEROS.winrm.example.com. - Domain: enter the Active Directory domain in uppercase, for example
WINRM.EXAMPLE.COM.
AttentionKerberos requires the device addressed by FQDN and the domain in uppercase, matching the case that the Active Directory domain accepts.
- Device name and IP, Hostname or management URL: enter the device FQDN, for example
- On the Connectivity tab:
- In the Network Connector field, select the agent that reaches the device.
- Add a Windows RM connectivity entry with the WinRM port:
5985for HTTP, or5986for HTTPS.
- Click Save.
Step 3: Configure the credential
- Open the Grid Menu and select PAM Core.
- Go to Credentials > All, then select the credential or create a new one. See How to set up a credential in Segura®.
- On the Information tab:
- Username: the domain account.
- Password type: select Domain user.
- Device: select the device from Step 2.
- Domain: enter the realm in uppercase, matching the device domain.
- On the Additional settings tab, add an extra field:
- Name:
USE_KERBEROS - Value:
true
- Name:
- On the Execution settings tab, under Credential password change settings:
- Select Enable automatic change.
- Change plugin: select Ansible.
- Change template: select the template from Step 1.
- Click Save.
Step 4: Request and verify the password change
- In PAM Core, go to Credentials > Password change requests.
- Click Request password change, then confirm the request.
- In Executions, go to All operations. Click Filter to refresh the list until the status changes from Executing to Successfully completed.
Info
Open the operation details to review the Ansible execution logs for the run.
- In PAM Core, go to Credentials > All credentials, then click the key icon to confirm the password was updated.
Related topics
- Deploy the kerberos-connect container on the Network Connector: the prerequisite setup.
- For the direct WinRM path without the Network Connector, see How to change a password with Kerberos authentication for Windows RM.
Do you still have questions? Reach out to the Segura® Community.