[cvsnt] bug: cvsservice.exe accesses info.dll as client user instead of service account
b_gs at hotmail.com
Wed Jan 27 18:19:41 GMT 2010
os: win7 x64
accessing the cvs server from the local machine was failing:
Executable file 'C:\Program Files\CVSNT\triggers\info.dll' trust
verification failed - executable image not signed
The problem was that info.dll was being opened impersonating the user that
is running the command rather than the service user account. This should be
Since on my installation, users do not have access to the CVSNT install dir,
all commands fail.
tracing the code, the call to WinVerifyTrust() was returning
the error message is misleading. it can be due to an error opening the
file. cvsnt needs a better error message for this case. see
// The file was not signed or had a signature
// that was not valid.
// Get the reason for no signature.
dwLastError = GetLastError();
if (TRUST_E_NOSIGNATURE == dwLastError ||
TRUST_E_SUBJECT_FORM_UNKNOWN == dwLastError ||
TRUST_E_PROVIDER_UNKNOWN == dwLastError)
// The file was not signed.
wprintf_s(L"The file \"%s\" is not signed.\n",
// The signature was not valid or there was an error
// opening the file.
wprintf_s(L"An unknown error occurred trying to "
L"verify the signature of the \"%s\" file.\n",
More information about the cvsnt