Commit Graph

648 Commits

Author SHA1 Message Date
Howard Chu
8e928dbb0b Use register_at / register_oc 2006-09-13 13:38:24 +00:00
Howard Chu
e04275ca04 Use register_at / register_oc 2006-09-13 13:26:56 +00:00
Pierangelo Masarati
e1b83c881c better handling of randomness 2006-09-04 08:40:40 +00:00
Pierangelo Masarati
3b3070d223 cleanup handling of sleeps 2006-09-04 08:36:16 +00:00
Pierangelo Masarati
d95b88da21 plug slapo-ppolicy related leaks (ITS#4665) 2006-09-03 10:53:38 +00:00
Pierangelo Masarati
7c64c28ad5 plug leaks in search filter (and cleanup code; ITS#4664) 2006-09-03 10:45:07 +00:00
Pierangelo Masarati
f797bc49a7 minor cleanup 2006-08-31 17:34:01 +00:00
Pierangelo Masarati
c57782ad66 fix pre-allocated entry/attribute handling 2006-08-29 16:07:39 +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
Pierangelo Masarati
5d3121902f Add single-password constraint; NOTE from ppolicy.c:
/* FIXME: there's no easy way to ensure
 * that add does not cause multiple
 * userPassword values; one way (that
 * would be consistent with the single
 * password constraint) would be to turn
 * add into replace); another would be
 * to disallow add.
 *
 * Let's check at least that a single value
 * is being added
 */
2006-08-28 12:44:39 +00:00
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Howard Chu
ae5c3db555 More config leaks 2006-08-21 04:25:54 +00:00
Howard Chu
282c00c349 Plug config leak 2006-08-21 04:11:29 +00:00
Howard Chu
ad1f0a3239 Fix null pointer reference (coverity scan) and freed pointer reference 2006-08-18 01:37:21 +00:00
Howard Chu
ccd1273cfe TS#4622 deletes in psearch didn't always propagate 2006-08-15 21:41:14 +00:00
Kurt Zeilenga
d9720d50dd Some LDAP_DEVEL cleanup 2006-08-15 19:36:54 +00:00
Howard Chu
44d3972dd7 ITS#4622 if any present list was sent, must send refreshPresent 2006-08-15 12:37:59 +00:00
Howard Chu
55aa8af4be ITS#4622 make sure queued psearch responses get played after refresh
phase completes. Ignore empty sessionlog
2006-08-15 09:28:25 +00:00
Howard Chu
789c76b4ce Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn 2006-08-15 09:25:42 +00:00
Howard Chu
4629002ec4 Additional shutdown check 2006-08-15 00:04:29 +00:00
Howard Chu
651bc9e40e Don't purge log entries if a shutdown was requested 2006-08-15 00:02:57 +00:00
Howard Chu
11a0ea514a Tone down default ppolicy msg 2006-08-07 23:33:03 +00:00
Howard Chu
9f75c6a43d ITS#4634 always init pp->ad 2006-08-07 22:40:51 +00:00
Howard Chu
b915969d29 ITS#4589 slap_get_commit_csn occasionally returns a curcsn that points
to already-freed memory. That bug still needs to be tracked down. This
patch deletes curcsn and just uses op->o_csn, which did not exist when
this code was originally written.
2006-07-28 02:40:38 +00:00
Howard Chu
5757065736 ITS#4622
syncrepl: don't save contextCSN on incoming context entry
  syncprov: delete contextCSN on checkpoint if ctxcsn is empty
2006-07-27 10:44:22 +00:00
Howard Chu
00addd5d68 ITS#4613 - fail to start if lastmod is off 2006-07-24 00:32:27 +00:00
Howard Chu
6d601637c7 Resurrect special refint modifiersName 2006-07-14 22:19:00 +00:00
Howard Chu
89697d3a93 Each refint op needs a unique timestamp, must perform searches as rootdn 2006-07-14 01:55:57 +00:00
Howard Chu
d145f84e9f s/HPcfgOv/OLcfgOv/ 2006-07-12 07:05:09 +00:00
Howard Chu
2e241a457c ITS#4609, dynamic config support from Neil Dunbar 2006-07-12 02:14:22 +00:00
Howard Chu
23a6aa373b ITS#4596 control can be critical 2006-07-02 02:50:13 +00:00
Howard Chu
a2dd092291 Fix rootDN check 2006-06-26 13:00:29 +00:00
Howard Chu
87d9353b12 Dynamic config 2006-06-24 01:35:35 +00:00
Howard Chu
a9b0a78248 ITS#4595 additional fix - don't allow age/cycle times of zero. 2006-06-17 13:09:14 +00:00
Howard Chu
77dce50110 Omit logpurge attr if no purge time was configured 2006-06-17 01:28:50 +00:00
Howard Chu
4976b9436d Require rootDN to be present on logDB 2006-06-15 00:02:35 +00:00
Pierangelo Masarati
103392b9a3 fix scheme recognition (ITS#4575) 2006-06-13 19:45:11 +00:00
Pierangelo Masarati
439cd9be74 clean orm_modlist before each mod 2006-06-12 22:56:30 +00:00
Pierangelo Masarati
7e275fdc2c address ITS#4586 2006-06-12 15:52:23 +00:00
Howard Chu
1a86d4f663 Use separate task for refint operations - avoids re-entrancy issue,
prevents delay of client, removes dependency on slap_replog knowledge
2006-06-12 14:06:00 +00:00
Howard Chu
0657ee85f5 Fix db_init 2006-06-05 22:31:17 +00:00
Howard Chu
16448bf347 Fix prev commit 2006-06-05 21:26:23 +00:00
Howard Chu
e1b17653d6 Fix ITS#4576 reset restrict after successful pw mod 2006-06-05 20:13:40 +00:00
Howard Chu
54231dd13f Only log realdn if it's non-empty 2006-05-31 01:45:39 +00:00
Howard Chu
f4a188bf38 Cleanup config cruft 2006-05-30 12:16:34 +00:00
Howard Chu
bec0b4ef89 Add dynamic config support for auditlog and ppolicy 2006-05-30 11:49:16 +00:00
Howard Chu
e3bea86205 ITS#4562 - don't assume syncprov_op_response only runs in overlay context;
under a glue setup it may be get a real DB, don't corrupt the DB struct.
2006-05-26 12:08:15 +00:00
Hallvard Furuseth
8c1210cb78 Format fixes: %p takes void*, not struct* whose representation may differ.
Warning cleanup.
2006-05-25 16:14:41 +00:00
Hallvard Furuseth
453d3c0710 Format fixes: Debug() arg#2 must be format.
Warning cleanup: Move format strings, let gcc recognize them. Unused var.
2006-05-25 16:11:24 +00:00
Howard Chu
6f08468e2f Fix concurrency issues 2006-05-25 05:08:04 +00:00