Windows Server 2016: "Operating system call CryptAcquireContext failed. Error code 127" ---------------------------------------------------------------------------------------
Key: CORE-5437 URL: http://tracker.firebirdsql.org/browse/CORE-5437 Project: Firebird Core Issue Type: Bug Components: Security Affects Versions: 3.0.1 Environment: Windows Server 2016 Standard Reporter: F.D.Castel Priority: Blocker Firebird 3.0.1 SuperServer installs and runs fine in Windows Server 2016 (service starts ok). However, when trying to CONNECT the server returns the following error message: ----- Error occurred during login, please check server firebird.log for details. ----- The client application and the server are in the same computer. Looking at firebird.log (oddly found at... \SysWOW64 folder? is this right?) shows me: ----- APP11 Fri Jan 06 02:12:28 2017 Operating system call CryptAcquireContext failed. Error code 127 APP11 Fri Jan 06 02:12:28 2017 Authentication, client plugin: operating system directive CryptAcquireContext failed The specified procedure could not be found. ----- Firebird was installed with CopyFbClientToSysTask,CopyFbClientAsGds32Task,EnableLegacyClientAuth installer tasks. This same installation process *WORKS* in Windows 10. This problem occurs *ONLY* in Windows Server 2016. Also, I can attest the 'advapi32.dll' is the same in both operating systems. System32\advapi32.dll v10.0.14393.0 (637KB) SysWOW64\advapi32.dll v10.0.14393.0 (471KB) I did even check the .DLL with Dependency Walker to ensure that the function exists. It *IS* there!! (CryptAcquireContextW and CryptAcquireContextA) I'm completely at a loss here. Anyone did test Firebird 3.0.1 in Windows Server 2016? More info: https://msdn.microsoft.com/en-us/library/windows/desktop/aa379886(v=vs.85).aspx https://github.com/FirebirdSQL/firebird/blob/c6d9135586fde54b52e5c26f74d5dfd20c188f3f/src/common/os/win32/guid.cpp#L61-L66 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel