8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 01:23:03 +01:00
Commit Graph

194 Commits

Author SHA1 Message Date
AlexPeshkoff
b52874f91e Backported CORE-6038: Srp user manager sporadically creates users which can not attach 2019-04-14 21:05:08 +03:00
AlexPeshkoff
a338d7a199 Backported CORE-5948: Make WIN_SSPI plugin produce keys for wirecrypt plugin 2018-10-19 20:10:23 +03:00
AlexPeshkoff
e6f525c47a Backported CORE-5639: Mapping rule using WIN_SSPI plugin: windows user group conversion to firebird role does not work 2018-10-19 17:43:09 +03:00
AlexPeshkoff
cba7fc9f47 Code cleanup - this should fix MacOS build 2018-10-05 17:03:16 +03:00
Alex Peshkoff
406b169d96 Applied CORE-5788: Security Patch: Replacement of use of SHA-1 in the SRP Client Proof with SHA-256 2018-06-21 14:52:49 +03:00
Adriano dos Santos Fernandes
355c6f4f1c Fixed PVS-Studio warnings. 2017-11-28 22:19:52 -02:00
hvlad
8474689760 Make all internal connections to the security database use embedded provider only.
It should fix bug CORE-5540 : Every other execution of embedded isql slow.
2017-05-17 00:04:59 +03:00
hvlad
f23ed3f623 Fixed Windows build. Alex, please check 2017-03-18 09:25:40 +03:00
2fdb281759 Backported fix for CORE-5472: Problems with dbcrypt key transfer 2017-03-16 12:17:17 +03:00
8d95d7c975 Backported fix for CORE-5496: Creating SRP SYSDBA with explicit admin (-admin yes in gsec or grant admin role in create user) creates two SYSDBA accounts 2017-03-06 13:11:47 +03:00
a8fdbdfb6b Backported fix for CORE-5294: Memory leak when use SHOW GRANTS on new empty database (3.0.1 & 4.0; SS & SC) 2016-07-05 15:05:08 +03:00
e560f6e0e8 Backported fix for CORE-5225: Authentication end with first plugin that has the user but auth fails; should continue with next plugin 2016-06-10 17:25:53 +03:00
cee74fc5e0 Backported fix for CORE-5189: Codes of operation of user management plugin are missing in public API 2016-04-07 16:29:18 +03:00
dimitr
881c796e1b Fixed (on behalf of Alex) CORE-4885: Error retrieving current user name when using Windows trusted authentication and OS user name contains non-ASCII characters. 2016-02-01 14:54:14 +00:00
alexpeshkoff
df2fb331cf Fixed CORE-4964: Real errors during connect to security database are hidden by Srp user manager. Errors should be logged no matter what AuthServer is used. (taking into an account Sean's request re. special error for system-related problems) 2015-12-22 17:53:30 +00:00
alexpeshkoff
c32ac809ad Fixed CORE-5026: Firebird authentication gives up after first common plugin 2015-11-23 09:57:34 +00:00
alexpeshkoff
139331c7e3 Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
alexpeshkoff
363541353e Minor optimization - use on-stack allocation instead new/delete 2015-07-26 18:07:37 +00:00
alexpeshkoff
ed1a083aa7 Add more debugging info 2015-07-02 15:35:51 +00:00
alexpeshkoff
1b6632ac8b Fixed CORE-4811: Make user names behave according to SQL identifiers rules 2015-06-03 13:57:18 +00:00
alexpeshkoff
2e3438fd56 Some more postfixes for CORE-4760 2015-05-06 16:25:06 +00:00
alexpeshkoff
0ac40f77be Fixed CORE-4760: Can not create user with non-ascii (multi-byte) characters in the name 2015-04-30 13:44:43 +00:00
robocop
a9dfddf495 Misc. 2015-04-27 04:44:59 +00:00
alexpeshkoff
d284fa3c6a Fixed CORE-4768: CREATE USER ... TAGS ( argument_1 = 'value1', ..., argument_N = 'valueN' ) - wrong results of statement when there are many arguments 2015-04-24 13:07:40 +00:00
alexpeshkoff
4a05fea434 Fixed CORE-4712: Messages "Error in isc_release_request() ... when working with legacy security database" appear in firebird.log for CLASSIC server when connecting with legacy auth 2015-03-30 13:49:30 +00:00
asfernandes
336456d140 Misc. 2015-03-28 00:36:04 +00:00
alexpeshkoff
16768b177d Be more consistent putting IStatus into fast inline wrapper. Also some syntax sugar as suggested by Dmitry 2015-03-27 17:51:19 +00:00
alexpeshkoff
e7663b6bc0 Use status interface instead plain status vector when working with exceptions.
Avoid use of circullar allocation for strings in status vector (except when unavoidable for ISC API backward compatibility).
Use TLS for circullar allocation buffer instead manually working with threads' list.
2015-03-27 14:36:30 +00:00
alexpeshkoff
c4c9daf132 Avoid limits on size of status vector in engine. Ensure that status is always clean on entry to interface methods. 2015-03-20 18:02:30 +00:00
asfernandes
bd1094a671 Misc. 2015-03-17 21:44:55 +00:00
asfernandes
47f64b0da4 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.

(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54 Revert my last change after it broke the Windows build. 2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71 Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
hvlad
d15830d15a Two small memory leaks (CORE-4683) 2015-02-16 13:54:47 +00:00
dimitr
cc8cc680a3 Core (engine-level) support for scrollable DSQL cursors. Fixed the IResultSet API to match the JDBC spec. Renamed FB_EOF to FB_NO_DATA. Refactored some DSQL internals. 2015-01-27 10:29:30 +00:00
alexpeshkoff
c9a6728d41 Avoid use of plain structures, missing in previous FB versions, in public API 2015-01-16 17:53:38 +00:00
asfernandes
2a857cb415 Misc. 2015-01-15 01:17:27 +00:00
asfernandes
b99311dd1e Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException). 2015-01-12 00:21:38 +00:00
alexpeshkoff
ed4b5ac86b Fixed CORE-4652: Legacy user manager ignores explicitly set SQL role 2014-12-26 15:32:49 +00:00
alexpeshkoff
68df9a2310 Fixed CORE-4646: Attach failure when using LegacyAuth on server and default configuration on client 2014-12-22 16:19:44 +00:00
asfernandes
d8a0ff5f4b Generate interfaces with I-prefix. 2014-12-19 15:24:44 +00:00
hvlad
13fb7978aa Patch for mingw by Alexey Pavlov : Don't use hack for mingw-w64 2014-12-18 10:58:59 +00:00
paulbeach
3a1077b117 Fix visibility problem for:
GSEC> add sysdba -pw masterkey
unable to open database
Error loading plugin Srp
Standard plugin entrypoint does not exist in module
/Users/pbeach/firebird30/gen/Release/firebird/plugins/libSrp.dylib
GSEC>
2014-11-10 09:32:08 +00:00
alexpeshkoff
f5645faaa0 Fixed windows build 2014-09-30 14:21:44 +00:00
alexpeshkoff
153de0f271 Language independent API 2014-09-29 11:03:47 +00:00
alexpeshkoff
7c5eae4752 Minor debug enhancement 2014-08-28 09:30:17 +00:00
alexpeshkoff
d513daa574 Divide IStatus information into 3 parts: errors, warnings and completion code.
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.

Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
dimitr
36af3d8cb2 Cleanup and small refactoring to avoid redundancy. 2014-08-15 14:19:02 +00:00
alexpeshkoff
900fb824fe Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check. 2014-07-31 11:43:38 +00:00
skidder
7c743fc291 Fix build warnings 2014-07-17 18:48:46 +00:00