8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 10:43:02 +01:00
Commit Graph

395 Commits

Author SHA1 Message Date
alexpeshkoff
d244ba5e9d Removed unused var - thanks to Adriano 2012-06-29 07:13:34 +00:00
alexpeshkoff
477e14a820 Implemented CORE-2666: Make it possible to use API to do remote backups/restores 2012-06-20 11:47:30 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
hvlad
d78703c9ae Improvement CORE-3539 : TRACE: add ability for logging ERRORs that occur in runtime (lock conflicts, PK/UK/FK violations et al) 2012-05-15 07:56:24 +00:00
alexpeshkoff
71497f62e7 Fixed delay changed for debugging purposes 2012-04-09 12:03:08 +00:00
alexpeshkoff
e0eda0c873 Fixed use of UTF8 strings in services 2012-03-15 15:05:31 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
robocop
e2914070b9 Misc. 2012-01-19 04:54:39 +00:00
alexpeshkoff
dfa99f218a Small correction for CORE-3658 2011-12-30 14:19:47 +00:00
alexpeshkoff
7fb8ebd3a9 Fixed CORE-1898: Increase the password length from 8 characters, CORE-3372: Simplify process of non-default security database creation 2011-12-23 12:43:58 +00:00
dimitr
e7c9ebba12 Re-implemented the disabled code in the remote server. Cleaned up the legacy logic that doesn't look actual these days.
Some code refactoring.
2011-12-22 15:32:06 +00:00
alexpeshkoff
3513087d98 Fixed services to make them work with trusted auth emulator and old client 2011-10-20 12:20:33 +00:00
alexpeshkoff
70ddf7a875 Make services work correctly with multiple security databases 2011-10-04 12:51:57 +00:00
dimitr
b528faa162 Corrections. 2011-09-22 15:14:36 +00:00
alexpeshkoff
b76a2d8c47 Getting ready for support of multiple security databases in services 2011-08-09 12:11:17 +00:00
alexpeshkoff
40348295e1 Used upgradeInterface() in a number of places.
Fixed memory leak when unloading module, related with upgraded interfaces.
Fixed timer on posix to be high resolution.
Better diagnostic in services.
2011-06-10 12:53:51 +00:00
asfernandes
146448b877 Misc 2011-03-06 01:06:36 +00:00
alexpeshkoff
0a7c3fc69d Fixed CORE-3369: first step to make it possible to specify non-default security database for specific database 2011-03-02 13:42:56 +00:00
alexpeshkoff
d6fcde387b New plugin manager. Use it for all types of plugins. 2011-01-14 17:31:40 +00:00
asfernandes
095c9b80d7 Misc 2010-12-29 00:49:21 +00:00
hvlad
f955808a51 Frontport better fix for bug CORE-3266 : Race condition between async service detach request and running user trace service 2010-12-17 22:32:35 +00:00
alexpeshkoff
1183e9c771 Fixed CORE-3220: isc_info_svc_get_users returns error message in the result cluster 2010-11-08 16:16:36 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
83d6a2f88c Restored a lot of changes, rolled back by me unintentionally 2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
robocop
98a2c6822d Warnings. 2010-09-24 09:53:51 +00:00
alexpeshkoff
b02f9aff61 gsec always worked only with SYSDBA - thx to Vlad 2010-07-23 14:01:54 +00:00
asfernandes
2c51032b1e Misc 2010-07-15 00:47:24 +00:00
robocop
5d2e4a1df9 Misc. 2010-07-10 08:33:19 +00:00
alexpeshkoff
88db8b2fbc ODS change: made RDB$USERS system table, added virtual table SEC$USERS 2010-07-09 12:51:05 +00:00
alexpeshkoff
ea1b1843d8 Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build 2010-05-18 13:32:30 +00:00
robocop
46c9571858 Misc. 2010-05-11 08:36:45 +00:00
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
alexpeshkoff
8b4d53703d Cleaned isc_dpb_sys_user_name and related things 2010-04-21 12:55:43 +00:00
robocop
0d99531cf9 I find it more readable this way. 2010-04-21 10:42:45 +00:00
asfernandes
b36b9764ce Misc 2010-04-16 02:31:36 +00:00
alexpeshkoff
88b8a40a04 1. Cleaned up most of SUPERSERVER usage.
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())

2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).

3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
asfernandes
eb9eef9d77 Misc 2010-01-24 15:18:43 +00:00
alexpeshkoff
55e717f810 Moved authentication code from engine to remote listener.
Get ready for authentication plugins.
2010-01-22 14:55:11 +00:00
alexpeshkoff
f2753b7e86 Frontported changes to make -Direct switch of nbackup accept on/off parameter 2009-12-18 14:06:28 +00:00
alexpeshkoff
4f249d5269 Frontported - fixed delivery of status vector from service thread 2009-12-18 12:42:26 +00:00
asfernandes
b525f3b54f Misc 2009-12-16 21:52:01 +00:00
alexpeshkoff
1bb19c721d Added switch to nbackup, controlling direct access to database file 2009-12-16 17:28:52 +00:00
alexpeshkoff
c569345201 Some more changes suggested by Claudio 2009-12-16 13:40:26 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +00:00
asfernandes
7d52a84520 Misc 2009-12-02 00:35:55 +00:00
alexpeshkoff
5a5489ab40 Fixed CORE-2778: SegFault in services when using same handle in different threads 2009-12-01 11:45:32 +00:00
robocop
44c469b51a Misc. 2009-12-01 05:35:54 +00:00
alexpeshkoff
dde6cc6686 CORE-2728 - we anyway do not receive errors from service in svc_status when detaching 2009-11-30 12:43:59 +00:00
alexpeshkoff
34d79c9c3f Fixed CORE-2728: Access Violation when trying to add an user that already exists 2009-11-30 12:10:47 +00:00
asfernandes
a3dd1d0482 Misc 2009-11-26 00:20:59 +00:00
robocop
2ffcc8b2ce Style. 2009-11-25 04:06:48 +00:00
robocop
3abd26ab61 Comments. 2009-11-24 11:44:53 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
asfernandes
cefe295ad9 Misc 2009-11-14 01:20:33 +00:00
alexpeshkoff
4f54fd68e8 Frontported improvement CORE-2748: allow gsec to grant RDB$ADMIN role in the security database 2009-11-13 19:00:09 +00:00
alexpeshkoff
8bfa0a37a2 Feature CORE-1952: deprecate Implementation IDs, easing new ports; ODS change - BOOT build needed 2009-11-13 18:29:06 +00:00
asfernandes
f2cd6b7ec2 Misc 2009-11-12 01:38:48 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
verbguy
8192bf7723 fix a bunch of 64-bit sign extension warnings, reported by Sun Studio option, -xport64=implicit 2009-11-04 15:15:57 +00:00
alexpeshkoff
fbda7f245e Fixed CORE-2439: Add FIX_FSS_DATA and FIX_FSS_METADATA into the server 2009-10-05 10:26:59 +00:00
asfernandes
dbed23fafc Misc 2009-10-03 00:52:23 +00:00
alexpeshkoff
dbbea09f2b Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services 2009-10-02 16:44:00 +00:00
alexpeshkoff
2898df57a1 Fixed assertion in jrd8_service_query=>successful_completion, status was saved in bad place 2009-09-22 13:01:58 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +00:00
dimitr
013dd30e99 Totally misc. 2009-07-13 15:19:26 +00:00
alexpeshkoff
caf50ce2b3 Fixed CORE-2526: Server can be shut down disregarding services' connections 2009-07-13 12:09:37 +00:00
hvlad
e2a24eed4d Correct typo in assertion 2009-06-22 07:11:39 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
6bfacad413 CORE-2509. Took the opportunity to fix several data types. 2009-06-18 12:07:07 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
asfernandes
e707efaa1d Misc 2009-04-16 01:09:12 +00:00
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
asfernandes
f6f364da49 Trim trailling spaces 2009-04-04 16:39:31 +00:00
alexpeshkoff
2c270ab9db Fixed set/drop admins mapping in security2.fdb 2009-03-04 12:44:25 +00:00
asfernandes
b204a1e54f Misc 2009-02-21 17:43:07 +00:00
alexpeshkoff
2ea767b2d1 Ignore exceptions in catch() block - to be reviewed by Vlad 2009-02-19 18:09:01 +00:00
alexpeshkoff
f49f37d700 always uppercase service user name - should make trace happy 2009-02-19 15:41:08 +00:00
alexpeshkoff
0d99a0d6c4 Implemented CORE-2322: added gsec and services support to control SYSDBA-like access of windows domain administrators to security database 2009-02-13 13:05:50 +00:00
robocop
05feaac2d9 Frontport fix for CORE-2313. 2009-02-09 12:22:04 +00:00
asfernandes
628eb5b557 Misc 2009-02-09 01:43:49 +00:00
robocop
a18dc0519f Misc, style, fixing dangerous warnings, constness, etc. 2009-02-08 11:23:46 +00:00
hvlad
a656b92d1d Fixed mistake, noted by Claudio 2009-02-04 13:07:09 +00:00
asfernandes
612c108e3e Misc 2009-02-02 03:35:52 +00:00
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
hvlad
cc26c104f4 Fixed few small glitches 2009-02-01 21:53:58 +00:00
asfernandes
f532f6975e Misc 2009-01-21 15:42:45 +00:00
robocop
3689f15321 Style. 2009-01-20 08:33:59 +00:00
asfernandes
cd010ff939 Misc 2009-01-17 19:07:07 +00:00
robocop
6eba92022d Misc. 2009-01-17 10:33:35 +00:00
alexpeshkoff
f5214489e7 Fixed server shutdown when reading firebird.log 2009-01-16 16:29:12 +00:00
alexpeshkoff
1156d574e0 Optimized services performance when transfering big amounts of data to user 2009-01-16 15:42:33 +00:00
alexpeshkoff
bd680bcb47 Solaris port 2008-12-28 15:26:05 +00:00
asfernandes
5a85277726 Misc 2008-12-25 14:25:01 +00:00
robocop
762d7e1392 Style. 2008-12-25 06:09:37 +00:00
robocop
2fadc0e456 Style. 2008-12-22 09:00:05 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
alexpeshkoff
b3a854629c more checks - thanks to Claudio 2008-11-23 14:04:41 +00:00