Commit Graph

10112 Commits

Author SHA1 Message Date
Pierangelo Masarati
b03ac2c2a5 fix typo 2008-09-20 18:43:30 +00:00
Pierangelo Masarati
8a900b8784 add support for local RFC 3062 password modification extended operation (ITS#5656) 2008-09-20 15:01:12 +00:00
Hallvard Furuseth
f3e85d44da Drop "if ( slap_known_controls )". That became an array in controls.c 1.117. 2008-09-19 20:37:11 +00:00
Pierangelo Masarati
68561435cc add support for back-config delete; fix minor issues 2008-09-19 00:50:17 +00:00
Pierangelo Masarati
3d876e0fcc add back-config support to slapo-retcode(5) 2008-09-19 00:09:56 +00:00
Pierangelo Masarati
d2c6714ebf honor relax by not applying constraints (ITS#5705) 2008-09-18 21:12:13 +00:00
Pierangelo Masarati
d02c861ada add support for constraining rename (ITS#5703) 2008-09-18 20:30:59 +00:00
Hallvard Furuseth
880a2888d8 Message waiting for N threads to terminate -> for N operations/tasks to finish 2008-09-18 19:50:32 +00:00
Pierangelo Masarati
a3176f5453 optional parameter that allows to restrict constraints to entries matching a LDAP URI (ITS#5704) 2008-09-17 20:59:58 +00:00
Pierangelo Masarati
151d5aec66 add "set" constraint type (ITS#5702) 2008-09-17 00:40:18 +00:00
Pierangelo Masarati
dc414747a7 silence warnings 2008-09-16 14:44:24 +00:00
Pierangelo Masarati
88055e8d54 don't hide standard track matching rules (more for ITS#5700) 2008-09-15 09:16:13 +00:00
Pierangelo Masarati
ff5b4d6c21 add support for certificateListExactMatch (RFC4523; ITS#5700) 2008-09-15 00:34:56 +00:00
Pierangelo Masarati
14bd1744b7 certificate handling cleanup 2008-09-15 00:24:40 +00:00
Ralf Haferkamp
7bec8b6b8b stop and remove checkpoint task in _db_destroy (ITS#5698) 2008-09-12 09:53:40 +00:00
Howard Chu
e2722b0c94 ITS#5659 "collect" overlay enhancements 2008-09-11 00:29:56 +00:00
Howard Chu
92d39f7376 Fix prev commit 2008-09-10 03:35:26 +00:00
Howard Chu
2547212e43 ITS#5694 update context's entryCSN during log purges 2008-09-10 02:29:26 +00:00
Pierangelo Masarati
4aa9edf03e cleanup round of memory handling (either check results or use ch_* calls; ITS#5691) 2008-09-09 19:58:47 +00:00
Pierangelo Masarati
661398337a allow trying local bind when remote fails (ITS#5656) 2008-09-09 10:50:51 +00:00
Hallvard Furuseth
ff90e2f8d0 unique_search(): Print key->bv_val rather than key. Broke in r1.32 (ITS#5526). 2008-09-08 16:33:40 +00:00
Pierangelo Masarati
3d68853de5 fix one-time leak 2008-09-08 15:21:51 +00:00
Pierangelo Masarati
45e980391c fix olcTranslucentLocal/Remote handling (ITS#5689) 2008-09-08 12:56:27 +00:00
Pierangelo Masarati
f7679377f9 always re-test filter after merging local and remote entries (ITS#5679) 2008-09-08 12:16:05 +00:00
Pierangelo Masarati
0009def716 implement X-SUBST substitute syntax extension (ITS#5663) 2008-09-08 00:10:18 +00:00
Pierangelo Masarati
1447d7fe17 don't risk using uninitialized vars 2008-09-08 00:05:15 +00:00
Pierangelo Masarati
7be50e74ec if objectClass is not present (e.g. schema check is off, like for partial replicas, slapo-translucent and so), consider ocflags computed (and 0) 2008-09-06 18:06:41 +00:00
Pierangelo Masarati
b904d08f56 cleanup in case of failure during search rewriting (partial fulfilment of ITS#5687) 2008-09-06 16:25:03 +00:00
Pierangelo Masarati
57f9c8c8e9 be careful when restoring rewritten DN (partial fulfilment of ITS#5687) 2008-09-06 16:24:27 +00:00
Howard Chu
fe6f3683fa ITS#5687 more cleanup fixes 2008-09-06 02:11:26 +00:00
Pierangelo Masarati
55cb219adc NULL out spurious text (ITS#5688) 2008-09-06 00:00:37 +00:00
Ralf Haferkamp
db4c89db00 allow databases to be deleted (hidden behind LDAP_DEVEL) 2008-09-04 17:12:07 +00:00
Ralf Haferkamp
fcedf5bf83 don't dereference NULL pointer 2008-09-04 16:05:55 +00:00
Ralf Haferkamp
86005f581e A new entry's index should not be larger than the number of its siblings (ITS#5684) 2008-09-04 13:56:31 +00:00
Pierangelo Masarati
1355e605d5 Don't leak syntax oid macro in case of duplicate attribute (ITS#5683) 2008-09-04 12:19:05 +00:00
Pierangelo Masarati
dae38c56cd let undefined objectClasses be used in proxy filters 2008-09-04 10:13:30 +00:00
Pierangelo Masarati
374d8f85ae NUL-terminate undefined objectClass soc_cname (ITS#5682) 2008-09-04 10:12:01 +00:00
Pierangelo Masarati
969a0aef0e canonicalize undef objectClass names (much like attributes; ITS#5681) 2008-09-04 08:05:17 +00:00
Pierangelo Masarati
8141cd4db7 make additional checking optional (more on ITS#5860) 2008-09-04 07:43:19 +00:00
Pierangelo Masarati
f01e184377 don't cache queries that would not be answered correctly because of schema issues (ITS#5680) 2008-09-04 00:05:26 +00:00
Pierangelo Masarati
549134d514 don't dereference NULL pointers (ITS#5676) 2008-09-02 20:58:34 +00:00
Pierangelo Masarati
f4b98b256c use the most recent contextCSN (ITS#5675) 2008-09-02 20:35:51 +00:00
Howard Chu
bfdb93f80b ITS#5578 signed/unsigned comparison 2008-08-31 00:38:07 +00:00
Pierangelo Masarati
605fa77265 no need to unescape/re-escape each line (more on ITS#5608) 2008-08-30 15:00:05 +00:00
Pierangelo Masarati
03793fd9f4 implement caseIgnoreListMatch (ITS#5608) 2008-08-30 14:30:31 +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
Howard Chu
8385813a5a Fix dynamic module init 2008-08-26 22:25:35 +00:00
Howard Chu
f6edefa25d Add back-ndb 2008-08-26 21:48:17 +00:00
Pierangelo Masarati
c32cbed9ae fix attribute list swapping when NULL (ITS#5665) 2008-08-23 11:08:41 +00:00
Pierangelo Masarati
0e6054d861 [blind commit] better logging; check schema data before manipulation (related to ITS#5653) 2008-08-21 22:07:29 +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
03b105339a handle anonymous before doing mallocs 2008-08-09 15:41:55 +00:00
Pierangelo Masarati
46983312c3 fix log message 2008-08-09 15:41:22 +00:00
Howard Chu
d4216935d7 ITS#5618 log Search result errors, force Deref to Never 2008-08-09 13:15:54 +00:00
Pierangelo Masarati
a8dcb36efb don't strip set string (ITS#5627) 2008-08-09 12:50:18 +00:00
Pierangelo Masarati
ddb43b83d4 don't copy strings if not necessary 2008-08-09 12:49:44 +00:00
Pierangelo Masarati
c74a92fe50 fix continuation checking in dynacl (ITS#5637) 2008-08-09 12:27:57 +00:00
Pierangelo Masarati
7bef2ffdf6 optimize ACI check (ITS#5636) 2008-08-09 12:26:17 +00:00
Pierangelo Masarati
4d71b2f9c0 make sure objectClass is not filtered out by 'map attribute *' (ITS#5647) 2008-08-09 10:54:31 +00:00
Pierangelo Masarati
bb4268a646 make sure objectClass is not filtered out by 'rwm-map attribute *' (ITS#5647) 2008-08-09 10:49:20 +00:00
Pierangelo Masarati
69d8588ab4 suffix must be defined before overlay configuration (ITS#5641) 2008-08-09 10:29:31 +00:00
Pierangelo Masarati
191d8204a3 really check if filter is valid...(more on ITS#5581) 2008-08-09 10:20:46 +00:00
Howard Chu
f73ce85027 ITS#5649 fix overlay_register_control 2008-08-09 10:11:41 +00:00
Howard Chu
01686daa4d ITS#5642 don't inherit custom attributes 2008-08-06 01:11:13 +00:00
Pierangelo Masarati
80df2a2906 fix normalizable/non-normalizable attr mapping \& merging (ITS#5624) 2008-08-04 21:20:06 +00:00
Pierangelo Masarati
785fafa36e defer relayed database lookup (ITS#5643) 2008-08-04 21:17:25 +00:00
Pierangelo Masarati
afbef0b035 fix check for single-field firstComponentMatch normalization (ITS#5634) 2008-08-04 21:06:37 +00:00
Quanah Gibson-Mount
5d3e5ecbd9 Fix missing space 2008-07-24 22:41:22 +00:00
Pierangelo Masarati
d50ba575fe s/o_dn/o_ndn/ (ITS#5622) 2008-07-19 11:27:10 +00:00
Pierangelo Masarati
adc358f664 free filter before overlays' cleanup callback 2008-07-15 12:31:08 +00:00
Pierangelo Masarati
d0dd945882 fix potential leak in previous commit 2008-07-15 08:54:41 +00:00
Pierangelo Masarati
5c53e3ad72 improve previous commit (ITS#5614) 2008-07-14 22:44:01 +00:00
Pierangelo Masarati
30ffa33d7e do not propagate undefined or otherwise broken search filters (ITS#5614) 2008-07-14 22:14:49 +00:00
Pierangelo Masarati
ab3388aa93 improve diagnostics 2008-07-12 17:58:11 +00:00
Pierangelo Masarati
65cfb058cb don't close invalid sockets (blind fix to ITS#5606) 2008-07-12 16:31:34 +00:00
Pierangelo Masarati
9c5b22ceda remove data when freed (blind fix to ITS#5607) 2008-07-12 16:26:27 +00:00
Pierangelo Masarati
18a333bfcf trim extra brackets (ITS#5609); NULL-terminate string 2008-07-12 16:03:31 +00:00
Pierangelo Masarati
f48d99cb77 fix quarantine (ITS#5592) 2008-07-12 15:22:39 +00:00
Pierangelo Masarati
e6446d3113 make sure rwm_op_cleanup() is called also in case of bind (in partial fulfillment of ITS#5601) 2008-07-12 11:53:49 +00:00
Howard Chu
f911e0f5d1 ITS#5569 ignore internal ops when validating pwd modify 2008-07-08 19:02:38 +00:00
Rein Tollevik
a42c7f96f5 ITS#5600 Replace objectClass, delete/add can fail if superior is added. 2008-07-08 13:55:09 +00:00
Howard Chu
4af6e9c4c6 Fix 1.40, release entry with same backend that obtained it 2008-07-08 06:00:32 +00:00
Pierangelo Masarati
c6f12694fc allow proxies to filter out search references (ITS#5593) 2008-07-07 21:25:59 +00:00
Rein Tollevik
f94cd4b518 ITS#5597 fix CSN compare when provider has CSNs with other sids. 2008-07-06 14:15:42 +00:00
Howard Chu
9b25fa4c38 ITS#5578 fix binary search 2008-07-05 23:26:41 +00:00
Rein Tollevik
99d004189a ITS#5596 contextCSN updates are internal operations. 2008-07-04 23:44:39 +00:00
Pierangelo Masarati
103c7b48e2 allow olcSpReloadHint in olcSyncProvConfig (ITS#5591) 2008-07-02 22:37:34 +00:00
Howard Chu
731aad4c4d ITS#5589 delcsn / NULL cookie 2008-07-02 16:27:17 +00:00
Pierangelo Masarati
be9d79d2a7 fix serialNumber and issuer parsing (ITS#5588) 2008-07-01 23:06:01 +00:00
Howard Chu
34d074930c ITS#5584 - treat empty Replace like Delete 2008-07-01 11:48:10 +00:00
Howard Chu
4e21f65ec0 Fix prev commit 2008-06-30 23:16:02 +00:00
Pierangelo Masarati
292b96c4e1 extra needed by config (ITS#5355) 2008-06-30 10:01:41 +00:00
Howard Chu
a5d0e36798 ITS#5571 prevent Adds from displacing {0}config 2008-06-29 22:48:40 +00:00
Howard Chu
f25436af80 Fix entry insert order 2008-06-29 22:26:59 +00:00
Pierangelo Masarati
48855fcdef make sure the strfilter is in normal form (ITS#5581) 2008-06-29 22:19:14 +00:00
Howard Chu
17af50abf3 syntax oid macros added 2008-06-29 21:53:29 +00:00
Pierangelo Masarati
b4894ccd81 don't lookup dg* attrs more than needed (ITS#5583) 2008-06-29 21:50:05 +00:00
Howard Chu
010295e9e7 More symbols for ITS#5355 2008-06-29 21:13:03 +00:00
Howard Chu
27867de8ad ITS#5383 - forgot to change configContext OID 2008-06-29 03:56:15 +00:00
Howard Chu
b86714cfb2 ITS#5440 add eq rules for olcRootDN / olcSchemaDN 2008-06-29 03:42:46 +00:00
Howard Chu
417ab52d45 ITS#5540 check for structural_class() failures 2008-06-29 03:35:54 +00:00
Rein Tollevik
e5dfb18abc ITS#5564 ignore clients contextCSN when doing full reload. 2008-06-18 19:38:39 +00:00
Rein Tollevik
82cb2a1f05 ITS#5563 don't die if there are no listeners when matching serverID URL. 2008-06-16 14:45:30 +00:00
Pierangelo Masarati
a64b74b014 handle negative caching (ITS#5546) 2008-06-14 15:05:00 +00:00
Pierangelo Masarati
fa612acf41 if there is only one member_ad, and it's not mapped, consider it as old-style member listing 2008-06-14 12:39:47 +00:00
Howard Chu
04c841209d ITS#5558 fix buffer count 2008-06-14 02:50:59 +00:00
Howard Chu
cd5e10250a ITS#5557 plug leak from skipping over rset value 2008-06-13 23:06:50 +00:00
Rein Tollevik
06379f9cf9 ITS#5548 use syncrepl Connection when evaluating filter and acl. 2008-06-13 15:55:01 +00:00
Ralf Haferkamp
2688180f95 Allow unquoted DNs with whitespaces (ITS#5552) 2008-06-12 21:12:35 +00:00
Ralf Haferkamp
b3b2aa70f3 enable back-config delete support with LDAP_DEVEL 2008-06-12 11:51:05 +00:00
Ralf Haferkamp
3a0037cc53 Experimental code for delete support in back-config. Only overlays
supported currently.
2008-06-12 11:46:57 +00:00
Howard Chu
b13d108686 Config should presrve OID macros in attr syntax field as well 2008-06-05 18:41:14 +00:00
Pierangelo Masarati
f615fa44cf pass ConfigReply to slapi overlay initialization 2008-05-31 18:44:40 +00:00
Ralf Haferkamp
9d72509d05 pass ConfigReply into overlay_config() to allow progating error messages
back through back-config
2008-05-30 14:49:24 +00:00
Howard Chu
83c16b8fc7 ITS#5337 fix maxcsn search at startup 2008-05-29 23:48:35 +00:00
Howard Chu
4b2c003907 More for ITS#5536 2008-05-29 23:31:05 +00:00
Howard Chu
a709d8b69a Fix rev 1.220 - remove extra free_syncop() 2008-05-29 16:58:32 +00:00
Howard Chu
5a97371ef3 ITS#5536 send SID for glued DBs as well as multimaster 2008-05-29 01:46:19 +00:00
Howard Chu
684a213f0b ITS#5488 from Rein Tollevik: propagate syncrepl contextCSN to providers 2008-05-28 02:46:35 +00:00
Howard Chu
b92472c3e4 ITS#5487 from Rein Tollevik: syncprov_findbase searched wrong backend 2008-05-28 02:45:18 +00:00
Howard Chu
d14ebfc070 ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too 2008-05-28 01:48:41 +00:00
Howard Chu
61a70b4f96 ITS#5403 fix sasl_ssf retrieval on 64 bit Solaris 2008-05-28 01:43:05 +00:00
Howard Chu
3c24f1f884 More for #5511 2008-05-27 22:39:12 +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
Pierangelo Masarati
62904cf50d allow to customize the modifiersName of internal modifications (partially addresses ITS#5505) 2008-05-24 11:57:18 +00:00
Howard Chu
61198ee41c Fix prev commit 2008-05-23 16:48:46 +00:00
Howard Chu
cd7227b4c6 ITS#5511 make room for filter's terminating NUL character 2008-05-23 15:40:15 +00:00
Howard Chu
9d787d8d42 ITS#5489 move assert 2008-05-23 15:29:12 +00:00
Howard Chu
a572267f60 ITS#5526 cleanup config structs 2008-05-23 11:47:37 +00:00
Pierangelo Masarati
ffffa52470 revert test logic 2008-05-22 17:43:12 +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
b6b3461cf9 Do connections_init() sooner 2008-05-18 15:58:10 +00:00
Pierangelo Masarati
7db4c6dabc fix comment 2008-05-17 11:56:10 +00:00
Pierangelo Masarati
91d337fb29 fix handling of multiple attrs in URI (ITS#5516) 2008-05-17 11:55:50 +00:00
Pierangelo Masarati
20e8da9ba7 lookup entries as LDAP_REQ_SEARCH (ITS#5513) 2008-05-17 11:36:44 +00:00
Hallvard Furuseth
08e2ce2d1d parenthesize some macro args 2008-05-17 00:05:54 +00:00
Howard Chu
96d5ed5bc5 ITS#5465 ignore ops without queued CSNs 2008-05-13 21:57:19 +00:00
Howard Chu
c7a49fcfc5 ITS#5506 reset op2.o_extra 2008-05-12 18:33:05 +00:00
Howard Chu
8921793615 ITS#5503 integerFilter keys were not terminated 2008-05-10 00:28:03 +00:00
Emmanuel Dreyfus
a837855068 Fix an error in debug message, and correctly keep track of attribute count
after a mod_replace
2008-05-09 21:49:47 +00:00
Emmanuel Dreyfus
8768d99013 Add attribute size and count constraints to slapo-constaint
Approved by Ando

Usage example:
  overlay constraint
  constraint_attribute jpegPhoto size 131072
  constraint_attribute userPassword count 3
2008-05-09 12:59:16 +00:00
Howard Chu
9ce205818e ITS#5493 always send cookie with delta-sync entries 2008-05-09 01:51:26 +00:00
Howard Chu
db693093a1 Use network-timeout instead 2008-05-09 00:08:19 +00:00
Howard Chu
f488fa060a Use underscore in network_timeout 2008-05-08 13:15:40 +00:00
Howard Chu
198b14be90 ITS#5486, fix rev 1.219. Must never use s_op directly, must always use
a copy.
2008-05-06 03:03:47 +00:00
Howard Chu
b2a0eb7075 Fix prev commit 2008-05-01 23:56:01 +00:00
Howard Chu
26172674b5 Cleanup extra debug in prev commit 2008-05-01 23:02:52 +00:00
Howard Chu
f37962d042 Propagate o_extra too 2008-05-01 22:55:29 +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
b0ffd08504 ITS#5490 callback stack may be NULL 2008-04-30 23:50:08 +00:00
Howard Chu
b94eac4778 Fix prev commit (again) - set in wrong order 2008-04-30 18:35:02 +00:00
Howard Chu
bdd493380d Fix prev commit 2008-04-30 12:52:45 +00:00
Howard Chu
b16478a5ca Avoid queueing response on abandoned psearches 2008-04-29 22:09:12 +00:00
Howard Chu
9b516293b9 Fix prev cache.c commit 2008-04-29 21:44:47 +00:00
Howard Chu
4673c99e96 More for ITS#5470, add csns to presence search filter in MMR 2008-04-29 01:05:09 +00:00
Pierangelo Masarati
2fe411e337 avoid potential deadlock? 2008-04-28 23:26:45 +00:00
Howard Chu
64315e3087 ITS#5451 glue deadlock fix 2008-04-28 12:53:04 +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
Pierangelo Masarati
74ad5210c0 cleanup 2008-04-26 15:47:06 +00:00
Pierangelo Masarati
c965d2c86d add mapping to dynamic attribute generation (patch by Emmanuel Dreyfus, with some rework; ITS#5466) 2008-04-26 15:42:01 +00:00
Howard Chu
90a45655c2 ITS#5484 remove syncop from runq before freeing it 2008-04-24 18:35:35 +00:00
Howard Chu
fd0699edf4 Fix typo in 1.389 2008-04-24 10:19:20 +00:00
Howard Chu
75eecdc539 ITS#5346 overlay_db_open needs to preserve the original *be. 2008-04-23 10:31:22 +00:00
Howard Chu
c0f5fad0f8 For ITS#5346 - reintroduce bd_self pointer (from 2008-03-13) 2008-04-23 10:23:00 +00:00
Pierangelo Masarati
a4d14fb2ef missing numvals (ITS#5481) 2008-04-21 16:43:50 +00:00
Howard Chu
1af2849f7c ITS#5470 also ignore presentlist if number of CSNs don't match 2008-04-19 23:27:49 +00:00
Pierangelo Masarati
49bb4d5633 fix typo in error message 2008-04-17 20:57:22 +00:00
Pierangelo Masarati
d198435c51 fix abstract class inheritance check (ITS#5474) 2008-04-17 20:49:59 +00:00
Howard Chu
26c3fd67b8 ITS#5470 ignore presentlist on partial multimaster refreshes 2008-04-17 01:42:40 +00:00
Howard Chu
f8a012cc83 Revert prev commit 2008-04-17 00:03:06 +00:00
Howard Chu
2abce97228 ITS#5470 don't return any data at all until we have a ctxcsn 2008-04-16 10:37:44 +00:00
Hallvard Furuseth
04a7b8bf70 For ITS#5408: Handle special chars in filenames, in particular on Windows.
When upgrading, may need to slapcat/slapadd the database if back-ldif
is used as a general backend with chars like ':' or Windows' special
chars in DNs.
2008-04-16 00:09:25 +00:00
Hallvard Furuseth
66bedd2962 For ITS#5408: Cleanup: No functionality change.
Change dn2path(), get_entry() and move_entry() prototypes/usage.
Remove unused statements/initializations.  get_entry() now returns
a result code, reducing result code handling a bit.
2008-04-15 22:30:40 +00:00
Hallvard Furuseth
e67144ca7c For ITS#5408: back-ldif cannot currently handle multiple database suffixes.
So make olcDbDirectory SINGLE-VALUE and set SLAP_DBFLAG_ONE_SUFFIX.
Take advantage of that in ldif_back_referrals().
2008-04-15 22:22:38 +00:00
Howard Chu
cfb478679f ITS#5469 check earlier for write waiters 2008-04-15 22:17:50 +00:00
Pierangelo Masarati
66b581643f make pseudoroot-bind-defer TRUE by default (part of ITS#5440 fix) 2008-04-12 11:33:48 +00:00
Howard Chu
19ad1e2a74 Cleanup prev commit 2008-04-11 12:20:01 +00:00
Howard Chu
61b5f6d652 ITS#5454 regular mutex lock is safe 2008-04-11 12:12:06 +00:00
Hallvard Furuseth
0669adf635 ITS#5340 fixes:
slap_send_ldap_result() when rs->sr_flags & REP_REF_MUSTBEFREED:
- Do not return with rs->sr_ref == <freed data>, set it to NULL instead.
- Plug memory leak when op->o_domain_scope || op->o_protocol<LDAP_VERSION3.
send_ldap_response():
- Paranoia: Reset REP_MATCHED_MUSTBEFREED and REP_REF_MUSTBEFREED,
  in case the caller reuses the SlapReply without resetting the flags.
2008-04-10 12:54:11 +00:00
Hallvard Furuseth
eaec3a56e4 code cleanup: remove fake loop - vestige from 1.136, obsolete since 1.174 2008-04-09 18:24:22 +00:00
Howard Chu
204b035a9c ITS#5383 use public OID for config schema, no more hiding 2008-04-09 15:22:23 +00:00
Howard Chu
d9dac0c8bc ITS#5376, #5378 delta-sync should fallback in other cases too 2008-04-09 12:01:11 +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
Hallvard Furuseth
9cdcd58afc constify 1st arg to register_at()/register_at(), needed for config.h rev 1.50 2008-04-06 20:04:10 +00:00
Howard Chu
8027d8afb0 ITS#5454 proposed fix. May still need to change initial trylock to a
regular mutex_lock.
2008-04-05 00:45:59 +00:00
Howard Chu
d989f19668 ITS#5450 fully terminate value lists 2008-04-04 00:01:02 +00:00
Howard Chu
e1f518ef1c ITS#5419 only Hidden DBs get special treatment 2008-04-03 10:04:56 +00:00
Howard Chu
626608f5f2 ITS#5437, #5444 if numcsns don't match, set changed flag 2008-04-03 08:43:48 +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
Pierangelo Masarati
8cb162ef44 fix bitwise test (ITS#5445) 2008-03-31 16:58:03 +00:00
Pierangelo Masarati
f3eeb81458 a connection cannot be privileged and be in the avl tree at the same time (related to ITS#5440?) 2008-03-29 18:17:21 +00:00
Pierangelo Masarati
71cabe40c3 print targets' status 2008-03-29 18:16:34 +00:00
Pierangelo Masarati
f32f99211e make stamp a long no matter what time_t is, to print it accordingly (ITS#5441) 2008-03-29 16:22:50 +00:00
Pierangelo Masarati
f049fbb206 avoid system call when not needed (ITS#5441) 2008-03-29 12:11:44 +00:00