Commit Graph

228 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
d3210693d2 minor cleanup 2004-12-09 23:11:08 +00:00
Pierangelo Masarati
cad0d2b705 make sure global overlays don't use ora_e after the lock is released 2004-12-08 19:08:06 +00:00
Howard Chu
916e931065 Always exclude subordinates from top-level ops so glue overlay can
intercept. Now a single syncprov works over the entire glued context.
2004-12-04 19:26:22 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Pierangelo Masarati
d026e2c9f7 preformat "conn=%lu op=%lu" 2004-09-26 23:00:00 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Jong Hyuk Choi
dda85fafe9 rework of slap_mods2entry dup 2004-09-24 08:19:50 +00:00
Jong Hyuk Choi
c7d4f2841e back out prev commit 2004-09-24 07:26:44 +00:00
Jong Hyuk Choi
a116c2fb5e a memory fix for slap_mods2entry(): don't trim mods array - trim it outside 2004-09-21 03:08:07 +00:00
Jong Hyuk Choi
98dc97bcb9 memory leak fixes 2004-09-11 02:02:09 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Pierangelo Masarati
bfb6465533 cleanup 2004-08-06 16:40:15 +00:00
Pierangelo Masarati
cd9a9c628d frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
Kurt Zeilenga
ee7dfb2ab9 cleanup 2004-06-23 03:09:13 +00:00
Kurt Zeilenga
e5a37f2125 SLAPD_DISCONNECT v -1 cleanup
misc other cleanup
2004-06-23 01:04:52 +00:00
Howard Chu
464866d57b Fix normalized mods in slap_entry2mods (ITS#3144, ITS#3152) 2004-05-19 23:20:04 +00:00
Kurt Zeilenga
cd84c58d4a Fix: ldapadd with undefined objectclass causes assertion failure (ITS#3097) 2004-04-19 19:27:51 +00:00
Kurt Zeilenga
c7f0438044 bvalue cleanup 2004-04-08 06:49:17 +00:00
Jong Hyuk Choi
1c1b2bb6ee updatedn fix for syncrepl 2004-04-07 17:32:37 +00:00
Kurt Zeilenga
44725e7303 use BER_BVNULL 2004-04-07 04:11:43 +00:00
Pierangelo Masarati
a11dc61e05 rework be_isupdate accordingly to be_isroot 2004-04-06 09:42:40 +00:00
Kurt Zeilenga
37ef5350bd Rework return of update referrals 2004-04-06 00:47:21 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Luke Howard
0549d46adf Don't require slapi to be in the path - always include slapi/slapi.h 2003-12-28 04:17:48 +00:00
Luke Howard
b0416d1140 Cleanup SLAPI namespace 2003-12-28 04:14:19 +00:00
Howard Chu
e933f076cc Better fix for ITS#2512. Use callback to invoke replog before sending
result to client.
2003-12-25 15:01:53 +00:00
Howard Chu
d31230f859 Fix replog sequencing - assign sequence numbers at beginning of operation,
instead of getting a timestamp at the end. This makes it possible for
slurpd to sort the log later.
2003-12-23 18:48:36 +00:00
Luke Howard
516fd0ff50 First round of SLAPI cleanups - use slapi_int_XXX for internal functions
(slapi_x_XXX is still reserved for exported functions that are not part
of the SLAPI specification)
2003-12-16 15:49:31 +00:00
Kurt Zeilenga
4bedf015f0 cleanup 2003-12-13 18:57:00 +00:00