When the Veeam Backup & Replication Configuration Database is using PostgreSQL, direct interaction with the database may fail with the error:
SSPI authentication failed for user
Interactions where this may occur include:
This error occurs when the account being used to perform the interaction is not authorized to access the Veeam Backup & Replication configuration database within the PostgreSQL instance.
When PostgreSQL is deployed by the Veeam Backup & Replication installer, that PostgreSQL database engine is configured to use SSPI Authentication, which allows for access authentication using Windows accounts. The pg_ident.conf file, which maps Windows accounts to the postgres root user account, is updated to add Windows accounts that should have access to the configuration database.
By default, the following Windows accounts are added as authorized to access the database directly:
Identify which accounts are currently authorized to access the Veeam Backup & Replication configuration database, and perform the action as that user.
C:\Program Files\PostgreSQL\15\data\pg_ident.conf
veeam User@Domain postgres*If the PostgreSQL instance was created by the Veeam Backup & Replication installer. If the PGSQL Instance was user-created, the mapname and pg-username may be different.
These steps assume the SSPI error has recently occurred and is still in the latest log folder.
LOG: no match in usermap "veeam" for user "postgres" authenticated as "pgadmin@VBR12" FATAL: SSPI authentication failed for user "postgres"
C:\Program Files\PostgreSQL\15\data\pg_ident.conf
veeam pgadmin@VBR12 postgres
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case