12. Solve Windows authentication issue on failover
When you start the Milestone XProtect Management Client, you have to authenticate using one of the following methods. Depending on your choice, specific steps are required to ensure the login works after a SafeKit failover. Reference: View Login Screenshot.
Windows authentication with Active Directory (AD)
Configuration: No special configuration is required.
If Milestone "Windows authentication" is configured with an Active Directory, the user and password information is retrieved from the external AD. After a failover, the secondary node connects to the same AD, so authentication works automatically.
Windows authentication in Workgroup
Configuration: You must add the BUILTIN\Administrators group in "Security / Roles".
Warning: In a Workgroup, local users have different Security Identifiers (SIDs) on each node, even if the names are identical. Only the BUILTIN\Administrators group has the same SID on both nodes.
- By adding this group, you can authenticate on the secondary node with any local administrator account after a failover.
- Without this, local Windows authentication will fail on the secondary node because the SIDs will not match.
Basic authentication with SQL database
Configuration: Create a user with "Basic authentication" (e.g., "Admin").
For "Basic authentication", the user credentials are stored directly in the SQL database. Because SafeKit replicates the SQL database to the secondary node in real-time, these users are always available immediately after a failover.