Commit Graph

258 Commits

Author SHA1 Message Date
Howard Chu
4097d261bb Use <ldap_queue.h> macros for prev commit 2008-03-14 16:49:53 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +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
63b6bfd1a4 don't Statslog before getting controls 2007-08-22 14:41:42 +00:00
Howard Chu
d918bc9983 ITS#4375 rework statslog, debug log info 2007-07-23 03:51:42 +00:00
Howard Chu
88cbe052e0 Fallout from ITS#4986 - remove unused param of select_backend() 2007-07-13 03:18:20 +00:00
Howard Chu
a2405e0a7e Axe slurpd / replog support 2007-04-06 00:21:02 +00:00
Howard Chu
4b1bb81452 Add lutil_gettime() returning structured time with microseconds. Use
microseconds in CSNs. Omit microseconds from modifyTImestamp...
2007-02-02 23:10:30 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
45fbb173b7 Pass op to slap_mods_check() 2006-12-24 06:55:02 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
574769395a ITS#4600 #if out redundant checks. will delete them later. 2006-11-23 11:07:03 +00:00
Kurt Zeilenga
2c4b2b5566 return structuralObjectClass errors
(likely need to be applied to other backends)
2006-09-16 11:48:52 +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
Kurt Zeilenga
5487575086 Add link to FAQ entry on BDB tuning 2006-03-30 17:56:56 +00:00
Howard Chu
83c259a207 Cleanup prev commit 2006-02-06 20:39:25 +00:00
Howard Chu
0e6aa53cd1 Unifdef SLAPD_MULTIMASTER, use config setting instead 2006-02-06 04:45:12 +00:00
Howard Chu
fe3b6d0071 ITS#4384 rework entryCSN handling, retrieve from incoming request
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Pierangelo Masarati
7f826af5fd also restore original o_bd 2006-01-14 17:47:54 +00:00
Pierangelo Masarati
2c21dbd56f cleanup 2006-01-06 16:23:17 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
266c6ad1ea plug one-time leaks; misc cleanup 2005-12-16 01:58:36 +00:00
Howard Chu
1340530e41 Fix missing error text 2005-11-17 08:40:46 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
d170fae411 improve previous commit 2005-11-04 01:44:44 +00:00
Pierangelo Masarati
a9067fc056 free values in case of error 2005-11-04 01:29:48 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Pierangelo Masarati
e066ec210e merge sml_managing into sml_flags (SLAP_MOD_MANAGING) 2005-08-18 08:48:10 +00:00
Pierangelo Masarati
ef7421b87d more on manage access level 2005-08-18 02:25:10 +00:00
Hallvard Furuseth
ad0be35f47 Remove unused variable. 2005-08-02 08:50:02 +00:00
Hallvard Furuseth
486bfe7e17 slap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals 2005-08-01 03:56:36 +00:00
Luke Howard
71d76fbeba slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Luke Howard
d0ad4b3f3e Allow overlays to override operational attributes on add (needed
to preserve 2.2 SLAPI behaviour; see comments for further info)
2005-07-31 05:19:37 +00:00
Luke Howard
30610c6f70 Fix logic error in slap_mods2entry() 2005-07-31 05:12:20 +00:00
Luke Howard
6f0edd6c22 Call slap_mods2entry() in do_add(), so that global overlays (including
global SLAPI plugins) have access to op->ora_e.

Note that slap_mods2entry() is still called in fe_op_add() in order to
add any operational attributes.
2005-07-31 04:56:27 +00:00
Luke Howard
ffe20229dc Move most of SLAPI frontend into overlay 2005-07-21 16:35:20 +00:00
Howard Chu
8f58409749 Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Kurt Zeilenga
872b0a09fd ITS#3725 fix 2005-05-14 18:52:15 +00:00
Kurt Zeilenga
18c3f9e093 Add manage obsolete attributes capability. 2005-05-13 23:51:43 +00:00
Howard Chu
d882ce511d Generic ordered value support 2005-04-14 10:31:51 +00:00
Pierangelo Masarati
239f8fe2b2 fix the fix to previous commit 2005-04-12 17:11:30 +00:00
Pierangelo Masarati
6f1ebb180e fix previous commit (ITS#3654) 2005-04-12 16:35:52 +00:00
Pierangelo Masarati
50bb034d97 in case of success, release the entry only after global overlays have seen it on the way back 2005-04-12 00:20:16 +00:00
Kurt Zeilenga
7677c00d80 cleanup 2005-03-23 01:50:49 +00:00
Howard Chu
f955f17076 ITS#3576 use actual backend (not glue instance) for restriction and
update/referral checks
2005-03-17 04:29:31 +00:00
Pierangelo Masarati
b70abdcbce global overlays need to set o_bd = frontendDB to return the error in case no database can be selected 2005-01-23 21:44:23 +00:00
Pierangelo Masarati
143937320b remove dangling text pointer in case of success 2005-01-17 21:06:49 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
2f5e17d056 improve usability of global ovrlays for write operations; may need to anticipate SLAPI accordingly. More work needed for add (overlays need to understand they're global and call slap_mods2entry() explicitly) 2004-12-11 17:48:15 +00:00