Pierangelo Masarati
|
e0ad0fbd8d
|
honor RFC4528 assertion control for LDAP add operations (ITS#5861)
|
2008-12-20 22:49:53 +00:00 |
|
Ralf Haferkamp
|
760660a4a2
|
Remove unneeded locking. Don't wait for memp_trickle to complete,
loosing an signal doesn't hurt in this case.
|
2008-11-28 16:09:40 +00:00 |
|
Howard Chu
|
f6ae9c9c9f
|
Fix typo in prev commit
|
2008-11-22 22:41:11 +00:00 |
|
Howard Chu
|
1d746e552a
|
Initialize bli_flag
|
2008-11-22 21:08:38 +00:00 |
|
Pierangelo Masarati
|
15236be495
|
fix previous commit
|
2008-11-22 18:35:19 +00:00 |
|
Pierangelo Masarati
|
ce045e153f
|
make messages more esplicative; fix style
|
2008-11-22 17:53:14 +00:00 |
|
Pierangelo Masarati
|
1dd88a8b11
|
exactly one ID can match (ITS#5791; further fix previous commit)
|
2008-11-08 10:39:45 +00:00 |
|
Pierangelo Masarati
|
c41df6ed07
|
lookup entry id when equality on entryDN (ITS#5791; fixes previous commit)
|
2008-11-04 12:16:23 +00:00 |
|
Pierangelo Masarati
|
45aaaddb16
|
lookup entry id when equality on entryDN (proposed fix for ITS#5791; does not work for back-hdb, though)
|
2008-11-04 12:07:47 +00:00 |
|
Pierangelo Masarati
|
d4970fcb6f
|
don't allow indexing of entryDN (ITS#5790)
|
2008-11-04 11:54:19 +00:00 |
|
Howard Chu
|
9d5de25b5b
|
ITS#5745 long-lived TXNs must be closed before DBs
|
2008-11-03 13:00:00 +00:00 |
|
Howard Chu
|
f463be3b95
|
Add DBFLAG_CLEAN for a DB that was cleanly shut down; don't bother
scanning to verify contextCSN for clean shutdowns (ITS#5640)
|
2008-11-02 23:06:10 +00:00 |
|
Hallvard Furuseth
|
6fbd42a90a
|
Warning cleanup: Signed meets unsigned:
Change insertion index bdb_attr_slot(,, unsigned *ins) to int *ins. This
index is signed elsewhere, including the index returned by the same function.
|
2008-10-17 23:35:44 +00:00 |
|
Pierangelo Masarati
|
bbe6e77876
|
fix indentation
|
2008-10-17 00:03:53 +00:00 |
|
Howard Chu
|
72a9d87fec
|
BDB_PAGESIZE not used any more, use BDB/FS default instead
|
2008-10-15 10:45:31 +00:00 |
|
Howard Chu
|
3be39979ea
|
Add checksum keyword to enable DB checksum validation
|
2008-10-15 08:13:56 +00:00 |
|
Howard Chu
|
81ed60c056
|
Add dbpagesize keyword for configuring DB file page sizes
|
2008-10-15 07:41:57 +00:00 |
|
Hallvard Furuseth
|
6f39252bd0
|
Warning cleanup: signed meets unsigned.
|
2008-10-13 08:35:31 +00:00 |
|
Hallvard Furuseth
|
27d6497c33
|
Warning cleanup: Missing braces in initialization.
|
2008-10-13 05:44:55 +00:00 |
|
Howard Chu
|
faadcf3908
|
ITS#5730, patch for #5728 broke referrals
|
2008-10-08 21:33:45 +00:00 |
|
Howard Chu
|
16710f4ed4
|
Fix dn2idl when suffix = ""
|
2008-10-07 22:52:59 +00:00 |
|
Howard Chu
|
95d472aa98
|
ITS#5729 check for NULL bei_parent
|
2008-10-07 22:16:15 +00:00 |
|
Howard Chu
|
599d83c7cd
|
ITS#5728 release entries before send_ldap_ber()
|
2008-10-07 00:29:54 +00:00 |
|
Howard Chu
|
aa2fecc1fc
|
More deadlock propagation fixes
|
2008-10-01 21:28:03 +00:00 |
|
Howard Chu
|
babf624b23
|
Missed a deadlock check
|
2008-10-01 21:07:26 +00:00 |
|
Emmanuel Dreyfus
|
7a5b406cf1
|
Make sur attribute ACL are evaluated on ADD operations (see ITS#4556)
|
2008-09-29 22:08:29 +00:00 |
|
Pierangelo Masarati
|
71373cfdfe
|
change olcDbMode syntax from integer to sirectory string, and allow any commonly accepted form to set its value, including -rwxrwxrwx (ITS#5713)
|
2008-09-27 14:04:57 +00:00 |
|
Howard Chu
|
9f808bd4b6
|
Propagate deadlock results for internal searches on write ops
|
2008-09-25 13:39:53 +00:00 |
|
Howard Chu
|
fda5733477
|
Wait for read locks in read txns
|
2008-09-25 13:17:17 +00:00 |
|
Ralf Haferkamp
|
4788d897d2
|
Use ConfigReply to return error messages to the client
|
2008-09-23 15:30:48 +00:00 |
|
Pierangelo Masarati
|
dc414747a7
|
silence warnings
|
2008-09-16 14:44:24 +00:00 |
|
Ralf Haferkamp
|
7bec8b6b8b
|
stop and remove checkpoint task in _db_destroy (ITS#5698)
|
2008-09-12 09:53:40 +00:00 |
|
Pierangelo Masarati
|
549134d514
|
don't dereference NULL pointers (ITS#5676)
|
2008-09-02 20:58:34 +00:00 |
|
Howard Chu
|
e5b96f2c76
|
Avoid deadlocks on reader txns
|
2008-08-27 22:28:16 +00:00 |
|
Howard Chu
|
ece2a4daa6
|
Use read-only txn's instead of read lockers. Support BDB 4.4-4.7
|
2008-08-27 01:45:35 +00:00 |
|
Pierangelo Masarati
|
c97ef0a708
|
don't return entry if requested attr is not present (ITS#5650)
|
2008-08-09 16:04:55 +00:00 |
|
Pierangelo Masarati
|
88bc524422
|
s/PATH_MAX/MAXPATHLEN/ (ITS#5531)
|
2008-05-26 20:53:16 +00:00 |
|
Ralf Haferkamp
|
c8fcb58fbb
|
Allow updating (ADD/DEL within a single modify operation) the index
configuration of an attribute (ITS#5521)
|
2008-05-26 17:38:32 +00:00 |
|
Howard Chu
|
4c8efee4a6
|
Fix bei_state access
http://www.openldap.org/lists/openldap-devel/200805/msg00073.html
|
2008-05-19 16:19:59 +00:00 |
|
Howard Chu
|
26172674b5
|
Cleanup extra debug in prev commit
|
2008-05-01 23:02:52 +00:00 |
|
Howard Chu
|
aeedb72e91
|
Fix prev commit
|
2008-05-01 13:25:15 +00:00 |
|
Howard Chu
|
c91704d811
|
Use o_extra instead of o_private
|
2008-05-01 12:49:35 +00:00 |
|
Howard Chu
|
9b516293b9
|
Fix prev cache.c commit
|
2008-04-29 21:44:47 +00:00 |
|
Howard Chu
|
a5037b4c5b
|
Fix comment typo
|
2008-04-28 11:20:34 +00:00 |
|
Howard Chu
|
a9d192df2b
|
Fix delete deadlock
|
2008-04-28 11:17:52 +00:00 |
|
Howard Chu
|
f0bb1739a7
|
ITS#5409 must reset pagedresults state if no cookie is provided
|
2008-04-09 03:08:38 +00:00 |
|
Howard Chu
|
91c23cbc4d
|
ITS#5455 be sure to reset bei_finders / bei_state
|
2008-04-09 00:12:08 +00:00 |
|
Howard Chu
|
d989f19668
|
ITS#5450 fully terminate value lists
|
2008-04-04 00:01:02 +00:00 |
|
Howard Chu
|
77e7b92c87
|
ITS#5439 fix ID_NOCACHE handling
|
2008-04-03 08:02:11 +00:00 |
|
Howard Chu
|
f2de258e3d
|
ITS#5442 slapd_rq mutexes must always be used
|
2008-04-02 03:08:06 +00:00 |
|
Howard Chu
|
294da7ed11
|
ITS#5435 ConfigReply arg must be non-NULL
|
2008-03-20 01:24:33 +00:00 |
|
Pierangelo Masarati
|
d22b8532ee
|
s/leave/func_leave/ to avoid OSF1 name clashing (ITS#5411)
|
2008-03-12 22:45:18 +00:00 |
|
Hallvard Furuseth
|
cfc5c7cc68
|
ITS#5339: fix referral rewrite, remove pointless default_referral code
|
2008-03-10 19:28:40 +00:00 |
|
Hallvard Furuseth
|
01ec3c64ea
|
ITS#5328 - do not send errors (other than referral) from be->be_chk_referrals()
|
2008-02-11 20:59:40 +00:00 |
|
Howard Chu
|
90e644a1e9
|
Cleanup bdb_next_id unused arg
|
2008-02-10 00:56:44 +00:00 |
|
Howard Chu
|
a3262ff239
|
ITS#5332 someone else may free the entry as soon as we unlock it
|
2008-02-08 06:32:41 +00:00 |
|
Ralf Haferkamp
|
a1612ae911
|
Fix crash when no-op control is used (ITS#5358)
|
2008-02-07 12:06:24 +00:00 |
|
Hallvard Furuseth
|
cd63a0c43b
|
Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key()
|
2008-01-11 06:07:43 +00:00 |
|
Howard Chu
|
82719d5351
|
ITS#5319 no special treatment for no-effect renames
|
2008-01-11 04:01:37 +00:00 |
|
Howard Chu
|
25ba37cc35
|
ITS#5319 allow rename to same DN
|
2008-01-11 03:17:10 +00:00 |
|
Howard Chu
|
37d65aed6e
|
ITS#5322 don't try to free a NULL locker
|
2008-01-11 00:44:12 +00:00 |
|
Hallvard Furuseth
|
5f068303d3
|
Remove unused variables
|
2008-01-08 16:37:13 +00:00 |
|
Kurt Zeilenga
|
c890c96d13
|
Happy New Year (belated)
|
2008-01-08 00:19:56 +00:00 |
|
Pierangelo Masarati
|
30f401c628
|
rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309)
|
2008-01-07 21:35:03 +00:00 |
|
Howard Chu
|
cdaf0769f7
|
ITS#4112 temporarily disable broken code
|
2008-01-06 07:34:19 +00:00 |
|
Pierangelo Masarati
|
741efa1674
|
don't leave 'round pointers to buffers on the stack
|
2008-01-02 23:08:04 +00:00 |
|
Howard Chu
|
4068c51739
|
Remove unnneded boi_locker field
|
2007-12-28 07:44:41 +00:00 |
|
Howard Chu
|
7bc127aab8
|
ITS#5086 fix Adds in IDL cache
|
2007-12-28 07:40:18 +00:00 |
|
Howard Chu
|
ddd90958a1
|
Support DB encryption
|
2007-12-15 19:07:41 +00:00 |
|
Howard Chu
|
23116be5ae
|
More for -q tool mode
|
2007-12-13 08:02:40 +00:00 |
|
Howard Chu
|
3218f6c110
|
Fix segv with -q
|
2007-12-13 07:51:56 +00:00 |
|
Hallvard Furuseth
|
af50afcbe0
|
Remove unused variable
|
2007-12-06 17:13:01 +00:00 |
|
Hallvard Furuseth
|
e50cb47542
|
Restore pre-C99 preprocessor support (since rev 1.165)
|
2007-12-06 17:08:10 +00:00 |
|
Howard Chu
|
f7ec966aad
|
Cleanup dup_compare
|
2007-12-06 16:54:47 +00:00 |
|
Howard Chu
|
3658226e95
|
Drop unnecessary lock
|
2007-12-06 15:59:28 +00:00 |
|
Howard Chu
|
e237f4cc43
|
Re-introduce hdb dup_compare function, default compares too much
|
2007-12-06 15:58:47 +00:00 |
|
Howard Chu
|
f06fdb2821
|
More cleanup, hdb fixes
|
2007-12-06 14:16:34 +00:00 |
|
Howard Chu
|
7a3f73efd8
|
More cleanup
|
2007-12-06 06:40:13 +00:00 |
|
Howard Chu
|
ebbb6ab216
|
Cleanup prev commits
|
2007-12-06 06:20:42 +00:00 |
|
Howard Chu
|
cb0e31fc65
|
ITS#5262 must protect dn2id between the time it's read from the DB
and it's inserted into EntryInfo cache.
|
2007-12-06 05:48:02 +00:00 |
|
Howard Chu
|
c2a02618bb
|
BDB 4.2 compatibility for log_printf (requires modern C preprocessor)
|
2007-12-06 01:51:32 +00:00 |
|
Howard Chu
|
abff944303
|
Prefix log msgs with "slapd"
|
2007-12-05 22:35:39 +00:00 |
|
Howard Chu
|
cff654bd60
|
Use BDB transaction log for debug messages
|
2007-12-05 22:27:12 +00:00 |
|
Howard Chu
|
460e94c001
|
ITS#5262 additional cleanup
|
2007-12-05 14:56:47 +00:00 |
|
Howard Chu
|
6ac8a0c584
|
ITS#5262 use explicit cursor and locker in dn2id
|
2007-12-05 14:09:34 +00:00 |
|
Howard Chu
|
eda5b4d01f
|
Fix ITS#5257
|
2007-12-05 05:24:15 +00:00 |
|
Howard Chu
|
2953cd459f
|
Revert 1.159, seems to trigger a concurrency bug. ???
|
2007-12-05 02:36:53 +00:00 |
|
Howard Chu
|
89b03a7db7
|
Shrink presence key
|
2007-12-01 19:08:30 +00:00 |
|
Pierangelo Masarati
|
7aeac21440
|
silence warnings
|
2007-11-23 12:47:53 +00:00 |
|
Howard Chu
|
3640a6f7e5
|
Fix typo in prev commit
|
2007-11-22 08:52:39 +00:00 |
|
Howard Chu
|
b8fcecd69b
|
More for #5221, don't muck with kids counters on simple renames
|
2007-11-21 15:11:26 +00:00 |
|
Howard Chu
|
a0fbe9f043
|
Minor cleanup
|
2007-11-21 14:55:40 +00:00 |
|
Howard Chu
|
a6c4cf8578
|
ITS#5221 fix NO_KIDS/NO_GRANDKIDS flags on rename ops
|
2007-11-21 14:51:55 +00:00 |
|
Howard Chu
|
f08b26adbc
|
ITS#5183 - better delete index handling
|
2007-11-20 12:06:28 +00:00 |
|
Howard Chu
|
e6568f61b5
|
ITS#5232 report and fail on internal errors
|
2007-11-18 21:49:04 +00:00 |
|
Howard Chu
|
d84f8d9b71
|
Fix prev commit
|
2007-11-18 21:48:26 +00:00 |
|
Howard Chu
|
02f29d51c6
|
ITS#5183 preliminary fix - this whole approach needs re-design
|
2007-11-18 20:50:20 +00:00 |
|
Howard Chu
|
74f54320cd
|
Fix pagedresults resume
|
2007-11-12 11:45:12 +00:00 |
|
Howard Chu
|
7aeb9bf621
|
Fix unlock in prev commit
|
2007-11-12 11:41:45 +00:00 |
|
Howard Chu
|
b4bcc325ee
|
Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
|
2007-11-12 11:16:30 +00:00 |
|
Howard Chu
|
eea5e60bf0
|
Tweak entry parent check
|
2007-11-12 11:14:55 +00:00 |
|
Howard Chu
|
caac5b76fb
|
Cleanup debug msgs
|
2007-11-12 08:34:55 +00:00 |
|
Howard Chu
|
f8588ff0c3
|
ITS#5225 fix contextCSN updating
|
2007-11-12 03:50:31 +00:00 |
|
Quanah Gibson-Mount
|
9602d401a5
|
cleanup
|
2007-11-11 20:32:18 +00:00 |
|
Howard Chu
|
0f1bad6fb0
|
ITS#5186 check for multiple suffixes at config time, not open time
|
2007-11-07 04:31:06 +00:00 |
|
Howard Chu
|
8bc46e741a
|
ITS#5191 do all pagedresult control parsing in the frontend, don't
re-parse in the backend. Keep track of pagedresult controls and state
in backglue.
|
2007-11-01 15:11:22 +00:00 |
|
Howard Chu
|
d7535d4ddc
|
ITS#5189 revert index.c 1.67, just catch LDAP_OTHER
|
2007-10-23 00:25:51 +00:00 |
|
Howard Chu
|
bb1d8dfcd7
|
Fix prev commit, include errno.h
|
2007-10-23 00:05:03 +00:00 |
|
Howard Chu
|
9965fc5f60
|
ITS#5189 recognize ENOMEM
|
2007-10-23 00:03:56 +00:00 |
|
Howard Chu
|
e63ac9ac9e
|
Fix error message propagation
|
2007-10-15 10:22:51 +00:00 |
|
Howard Chu
|
a8ba9e2131
|
Check DB directory validity at config time
|
2007-10-15 10:17:04 +00:00 |
|
Pierangelo Masarati
|
24db207196
|
check for ee == NULL
|
2007-09-26 22:37:35 +00:00 |
|
Howard Chu
|
d2179d885f
|
Use attr_valfind instead of value_find_ex to optimize lookups
|
2007-09-24 05:02:31 +00:00 |
|
Howard Chu
|
e8c2414831
|
Preliminary sorted value support
|
2007-09-24 01:31:23 +00:00 |
|
Howard Chu
|
c4dbe1a274
|
Attribute/Modification value counters
|
2007-09-21 08:43:56 +00:00 |
|
Pierangelo Masarati
|
d92e8ad1f7
|
add helper for internal searchs for objectClass=*
|
2007-09-15 17:38:53 +00:00 |
|
Pierangelo Masarati
|
06e6e6c053
|
apply Howard's cleanup of database monitoring registration
|
2007-09-15 15:34:49 +00:00 |
|
Pierangelo Masarati
|
202080dfa1
|
enable unindexed searches monitoring ifdef LDAP_DEVEL
|
2007-09-12 21:26:10 +00:00 |
|
Howard Chu
|
40e796c547
|
ITS#5129 fix alock_close with Quick mode
|
2007-09-08 05:26:03 +00:00 |
|
Howard Chu
|
6a6adff86c
|
ITS#5129 disallow Quick mode if DB_CONFIG has changed
|
2007-09-08 04:59:34 +00:00 |
|
Pierangelo Masarati
|
9c437f4411
|
quote suffix (ITS#5128) and use it as much as possible to identify databases
|
2007-09-08 00:41:29 +00:00 |
|
Pierangelo Masarati
|
2da15f1013
|
remove experimental code as per ITS#4962 discussion
|
2007-09-07 12:33:21 +00:00 |
|
Pierangelo Masarati
|
ed12ff8fd3
|
parse unsigned as unsigned (ITS#5122)
|
2007-09-04 19:32:54 +00:00 |
|
Pierangelo Masarati
|
371bf8f803
|
blind fix: I assume we need to restore ors_scope
|
2007-09-04 19:31:47 +00:00 |
|
Pierangelo Masarati
|
c73520ec08
|
fix idl lru deletion of last entry (ITS#5121)
|
2007-09-04 19:01:55 +00:00 |
|
Howard Chu
|
75964a771f
|
Use IA5String for olcDbConfig to allow empty strings
|
2007-09-03 00:41:30 +00:00 |
|
Howard Chu
|
33f311d81f
|
Read DB_CONFIG file in server and tool mode, for config conversions
|
2007-09-02 23:53:29 +00:00 |
|
Pierangelo Masarati
|
c83b8b58a3
|
hide (experimental) schema
|
2007-09-01 16:01:29 +00:00 |
|
Pierangelo Masarati
|
e161e8efb6
|
fix test
|
2007-08-29 00:13:56 +00:00 |
|
Pierangelo Masarati
|
0bedad3b65
|
plug leak
|
2007-08-28 23:56:18 +00:00 |
|
Pierangelo Masarati
|
7c66952714
|
check for shutdown (need to add to other backends?)
|
2007-08-26 15:38:51 +00:00 |
|
Howard Chu
|
8367f0cfe4
|
revert prev commit, no gain
|
2007-08-26 14:37:12 +00:00 |
|
Howard Chu
|
ddc5c9f735
|
Just use read locks on the entry_db_lock
|
2007-08-26 13:49:35 +00:00 |
|
Pierangelo Masarati
|
071b77cf9d
|
better fix
|
2007-08-25 15:01:27 +00:00 |
|
Pierangelo Masarati
|
84143631ee
|
fix potential concurrency issue (not so potential, if we could regularly trigger it :)
|
2007-08-25 14:58:43 +00:00 |
|
Pierangelo Masarati
|
8f95ff260c
|
consistently use "tag=" instead of "op=" in debug messages
|
2007-08-25 00:10:52 +00:00 |
|
Howard Chu
|
4c7d288eb7
|
More for BDB 4.6 compatibility
|
2007-08-17 20:33:46 +00:00 |
|
Pierangelo Masarati
|
553d83c3c1
|
fix previous commit
|
2007-08-17 12:38:50 +00:00 |
|
Pierangelo Masarati
|
36111934a3
|
allow "traditional" behavior (more for ITS#4962; please debate)
|
2007-08-17 09:51:29 +00:00 |
|
Pierangelo Masarati
|
2f5bfba296
|
let req_modify_s and req_modrdn_s have a common portion to interoperate within slap_mods_opattrs() (ITS#5093)
|
2007-08-16 09:48:53 +00:00 |
|
Pierangelo Masarati
|
27428ac00e
|
uniformly exploit rootdn bind; add support for rootdn bind to backends that didn't have it (ITS#4962)
|
2007-08-16 09:38:15 +00:00 |
|
Howard Chu
|
8b27523e4c
|
Add config keyword for DN cache size (aka EntryInfoSize)
default is 2x entry cache size
|
2007-08-11 19:29:14 +00:00 |
|
Howard Chu
|
a87b4592a4
|
Remove tool_id2entry_get
|
2007-08-11 04:19:53 +00:00 |
|
Howard Chu
|
ed4b5d1bd7
|
ITS#5087 fix tool_id2entry_get for hdb
TODO: rip this all out and just use tool_entry_get
|
2007-08-11 02:11:27 +00:00 |
|
Pierangelo Masarati
|
97d2c51980
|
improve previous commit: now each missing index has a specific counter
|
2007-08-08 18:22:19 +00:00 |
|
Pierangelo Masarati
|
b713eb5102
|
add monitor support for unindexed attributes (need to manually #define BDB_MONITOR_IDX)
|
2007-08-07 22:36:04 +00:00 |
|
Pierangelo Masarati
|
dbad13ead2
|
workaround open() being a macro in glibc 2.6 (ITS#5075)
|
2007-08-06 12:57:24 +00:00 |
|
Ralf Haferkamp
|
3a9310431e
|
Reworked recent backend API changes, now using a separate struct,
(ConfigReply) for the error messages.
|
2007-08-03 12:02:07 +00:00 |
|
Ralf Haferkamp
|
5ae46c195e
|
Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
_db_destroy functions.
|
2007-07-25 17:21:05 +00:00 |
|
Howard Chu
|
b514b25795
|
Quick and dirty BDB 4.6.18 support. Expect this to change again soon.
|
2007-07-24 14:02:37 +00:00 |
|