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
Howard Chu
599d83c7cd
ITS#5728 release entries before send_ldap_ber()
2008-10-07 00:29:54 +00:00
Pierangelo Masarati
549134d514
don't dereference NULL pointers (ITS#5676)
2008-09-02 20:58:34 +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
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
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Howard Chu
4068c51739
Remove unnneded boi_locker field
2007-12-28 07:44:41 +00:00
Howard Chu
4c7d288eb7
More for BDB 4.6 compatibility
2007-08-17 20:33:46 +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
Hallvard Furuseth
4586ede1ab
ITS#5007: Rename label "leave"; OSF1 pthread.h makes it as an exception keyword
2007-06-09 23:45:23 +00:00
Howard Chu
183a0f3719
ITS#4810 bi_entry_get_rw() must return the entry regardless of whether
...
it's an alias or referral or not
2007-01-25 04:31:23 +00:00
Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Howard Chu
b8309b4cf8
Cleanup db_lock/unlock parameters
2006-12-31 23:37:06 +00:00
Ralf Haferkamp
e1f068f712
Check for the correct return code of cursor->c_get() (DB_BUFFER_SMALL)
2006-09-27 10:51:06 +00:00
Howard Chu
f63f46f0b1
Use a single malloc for entry_decode instead of two - partially decode
...
the entry to get nvals first, so the size can be computed.
2006-09-20 02:43:47 +00:00
Howard Chu
78172aa0cf
Entry/Attribute struct caching, to minimize malloc fragmentation
...
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Howard Chu
c41a151d1e
Cleanup
2006-03-31 12:53:32 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Howard Chu
ed5e8db572
Eliminate long-lived read transaction, we can just set a cursor's locker
...
ID explicitly to our long-lived locker. Should have thought of this before...
2005-10-18 21:35:07 +00:00
Howard Chu
c44210a8bf
ITS#4088 proposed fix
2005-10-16 07:37:36 +00:00
Hallvard Furuseth
40c91251e6
Debug output: printed soc_cname, should be soc_cname.bv_val
2005-07-04 06:05:04 +00:00
Kurt Zeilenga
b425b15fc8
Improved log message when cannot find entry of desired class
2005-04-07 00:54:06 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
273052b573
adaptive caching implementation
2004-12-14 17:22:22 +00:00
Sang Seok Lim
3492452a5b
1) <select> and <content> type component reference support
...
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +00:00
Howard Chu
89912db91e
Store entryIDs in big-endian order, no more custom sort function.
...
back-hdb still needs work.
2004-12-06 07:28:47 +00:00
Howard Chu
30a6f4d24d
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
...
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Pierangelo Masarati
be32dce97f
rework static backend initialization
2004-11-11 00:38:11 +00:00
Kurt Zeilenga
b29e311ae7
unifdef -DBDB_ALIASES
...
delete dead code
2004-11-05 07:48:15 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Luke Howard
739dcf2193
boi_bdb must be set
2004-08-26 05:27:59 +00:00
Howard Chu
d9927adf88
Fix ITS#3255, boi_bdb comparisons
2004-07-25 21:10:41 +00:00
Pierangelo Masarati
854863f0b6
normalize authcDN (ITS#3246); don't touch databases when running slapadd in dryryn mode (ITS#3244); release lock when acquiring entry in tool mode (ITS#3245)
2004-07-17 14:45:07 +00:00
Howard Chu
c3984d9f59
Plug memleak from ITS#2895
2004-07-04 04:56:36 +00:00
Howard Chu
113870c194
Revert to original code
2004-03-06 19:15:39 +00:00
Howard Chu
ea0d619dae
Store IDs in BeigEndian format on disk
2004-03-06 12:41:29 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Howard Chu
20902a2be3
Fix segfault if entry_get is called with NULL attribute
2003-09-20 07:48:57 +00:00
Howard Chu
4a3748b6cf
Restructured to avoid direct use of sl_malloc functions. Minimizes impact
...
of #ifdef USE_SL_MALLOC...
2003-05-25 00:53:08 +00:00
Howard Chu
c40115c12e
Don't use single malloc for BDB_HIER e->e_name + e->e_nname
2003-05-24 01:54:03 +00:00
Howard Chu
236321ce9c
Plug leak in hdb
2003-05-11 08:42:58 +00:00
Howard Chu
2d5d4ecffa
ITS#2480 uninit'd vars
2003-05-02 13:38:16 +00:00
Howard Chu
e0f0a40497
ITS#2467 NULL pointer check
2003-04-25 10:27:55 +00:00
Howard Chu
6f461690c1
Function renaming, make internal funcs static, etc.
2003-04-23 06:34:55 +00:00
Howard Chu
0afba16b9b
Fix id2entry, let bdb_cache_release_all clean up EntryInfos
...
Fix idl_cache_put
2003-04-22 13:14:06 +00:00