Pierangelo Masarati
f52bb3d2c7
catch double free
2006-12-18 01:29:07 +00:00
Pierangelo Masarati
7bcbd40344
catch invalid read (i == -1)
2006-12-18 01:28:43 +00:00
Howard Chu
23423cd086
Fix callback handling
2006-12-18 00:27:38 +00:00
Howard Chu
ccf7b0fb04
Remove redundant search cleanup
2006-12-18 00:02:00 +00:00
Pierangelo Masarati
4e11af075f
- add support for "use-temporary-conn" much like back-ldap
...
- fix various connection creation/setup concurrency issues
- use shared connection when always idasserting (similar to ITS#4781)
- reduce the impact of schema mapping when not used (tnx to gprof)
- fix temporary/tainted connection leak in abnormal conditions
2006-12-17 23:52:23 +00:00
Howard Chu
28793246e6
ITS#4638 restore params for Compare and Modify
2006-12-17 23:49:42 +00:00
Howard Chu
1e849ec14d
ITS#4638 restore original parameters on op completion
...
(this is preliminary, more work remains)
2006-12-17 22:57:45 +00:00
Pierangelo Masarati
96152e2a3f
fix another typo
2006-12-17 22:48:17 +00:00
Pierangelo Masarati
68fd83f2fd
further fix previous commit
2006-12-17 22:21:41 +00:00
Pierangelo Masarati
ef0261e84c
cleanup and document ITS#4781 commit
2006-12-17 22:20:02 +00:00
Pierangelo Masarati
3e427ad75a
support a separate cached connection for binds when using (liberal) idassert flagged with "override" (ITS#4781)
2006-12-17 22:11:40 +00:00
Pierangelo Masarati
8830e0628e
more portable fix to ITS#4756
2006-12-17 22:03:03 +00:00
Pierangelo Masarati
298d439d59
add support for auditContext (schema differs a bit from <draft-chu-ldap-logschema>, expired)
2006-12-16 14:55:47 +00:00
Quanah Gibson-Mount
0523f0e3a7
cleanup
2006-12-16 03:33:27 +00:00
Pierangelo Masarati
15d601e7bc
refine previous commit
2006-12-15 02:10:22 +00:00
Pierangelo Masarati
917fbf427a
make slap_sasl_open() comply with URL notation for IPv6 addresses
2006-12-15 02:01:58 +00:00
Pierangelo Masarati
5e3d7a55dc
rewrite chased DN according to referral's (ITS#4776)
2006-12-15 02:00:24 +00:00
Pierangelo Masarati
97e6225cc9
implement full IPv6 support in ACLs; use URL notation (as suggested by Howard) to disambiguate parsing (ITS#4756)
2006-12-15 01:11:11 +00:00
Pierangelo Masarati
d29d83a80e
protect assertion behind mutex (test should be atomic anyway...)
2006-12-14 19:22:00 +00:00
Howard Chu
4d9d4e2538
Fix connections_shutdown()
2006-12-14 02:12:39 +00:00
Howard Chu
1f35a953a1
Remainder of fix for ITS#4615 - stop processing overlay stack at glue
...
boundary
2006-12-13 03:03:47 +00:00
Howard Chu
69c4495bc2
ITS#4768 more be_add fallout
2006-12-12 21:00:12 +00:00
Howard Chu
871201e0d6
Fix prev commit
2006-12-12 20:04:44 +00:00
Howard Chu
499c9369e1
ITS#4777 fix modlist delete
2006-12-12 19:39:28 +00:00
Kurt Zeilenga
2761b06c58
ITS#4775: blind fix for buffer overflow condition in dead KrbIV code
...
(KrbIV code likely should be removed)
2006-12-12 14:18:54 +00:00
Kurt Zeilenga
80d74dc2cd
Monitor attributes should have dSAOperation usage,
...
not directoryOperation usage. Update test000 to
request return of only @monitor attributes.
2006-12-08 02:30:11 +00:00
Pierangelo Masarati
9fdb9b6e02
give cleanup another chance to free the temporary callback (ITS#4771)
2006-12-07 19:44:04 +00:00
Pierangelo Masarati
0b29856b16
don't use conditionals in macro arguments (ITS#4769)
2006-12-06 11:39:07 +00:00
Howard Chu
77ed3423b9
ITS#4767 fix bdb_add / translucent interaction
2006-12-04 22:06:58 +00:00
Pierangelo Masarati
c89d0db64f
fix deadlock in case of bind error; propagate error as appropriate
2006-12-02 17:09:20 +00:00
Pierangelo Masarati
41c4afb331
improve error message
2006-12-02 16:17:01 +00:00
Pierangelo Masarati
e73ce756cc
fix DN (and berval'ued items requiring) normalization in bindconf_parse (ITS#4766)
2006-12-02 16:13:25 +00:00
Pierangelo Masarati
19dabd2fa8
complain if instantiated outside of a database definition
2006-12-02 10:42:42 +00:00
Pierangelo Masarati
78af5454d2
use case consistent with RFCs (ITS#4764)
2006-12-02 10:30:29 +00:00
Howard Chu
c8a000cb7b
ITS#4765 init slap_daemon.sd_actives
2006-12-01 15:02:14 +00:00
Howard Chu
43f0177a08
Fix prev commit, attrs_dup left a_desc uninit'd
2006-12-01 15:00:10 +00:00
Howard Chu
eb47d50da7
Tweak bei_state so cache_lru_add doesn't ever try to free just-added
...
entries. This allows us to use the frontend's entry directly instead
of having to entry_dup it before adding to the cache.
2006-12-01 14:48:38 +00:00
Howard Chu
b79d63516d
Rewrite attrs_dup with attrs_alloc.
...
Add new entry_dup_bv that dups an entry in a single malloc. Leave it
unused for now; faster but consumes more heap.
2006-11-30 06:03:56 +00:00
Howard Chu
2a9afa55a7
Avoid unnecessary calls to oc_bvfind
2006-11-27 19:59:59 +00:00
Howard Chu
3711183610
Skip checkpoint call if size was not specified - defer time-based
...
checkpoints to the runq job
2006-11-27 19:54:04 +00:00
Howard Chu
ee9623ad0f
Use quicksort in slap_mods_check for finding duplicates.
...
Currently enabled, preserving original order of input. See ifdefs to
alter the behavior: SLAP_MODS_CHECK_QUICKSORT, PRESERVE_ORDER
2006-11-25 10:58:45 +00:00
Pierangelo Masarati
0981516abf
fix ITS#4760 differently
2006-11-24 13:02:26 +00:00
Pierangelo Masarati
de254abb27
destroy cached groups after identity change (ITS#4760)
2006-11-24 11:43:47 +00:00
Pierangelo Masarati
14ac05436a
fix defaults in "group" in parsing (ITS#4761)
2006-11-24 11:29:05 +00:00
Pierangelo Masarati
09abc9f8ae
fix leak in case of retry
2006-11-24 01:44:11 +00:00
Pierangelo Masarati
8326ac21b1
add "report" to "onerr" modes: continue a search in case one target returns an error, and only propagate the error at the end
2006-11-23 23:50:36 +00:00
Pierangelo Masarati
a06fc9cb02
fix backward compatibility issues in ACI; more debug logging (ITS#4759)
2006-11-23 23:29:45 +00:00
Howard Chu
574769395a
ITS#4600 #if out redundant checks. will delete them later.
2006-11-23 11:07:03 +00:00
Pierangelo Masarati
14e1feed1f
fix leak when 'rebind-as-user' is set (and client searches without prior bind)
2006-11-18 18:02:46 +00:00
Howard Chu
dfafda4128
Better tracking of system schema, refresh cn=schema after moduleloads
2006-11-17 22:52:20 +00:00