Luke Howard
2ffdbf7fef
Fix memory management regressions in pblock modifications handling
...
Fix backwards logic in slapi_attr_types_equivalent()
2005-07-27 16:11:12 +00:00
Hallvard Furuseth
3226cdf2a3
bdb_locker_id, bdb_locker_id_free: BerkeleyDB lock ids are u_int32_t, not int.
2005-07-27 12:19:16 +00:00
Luke Howard
38f10e1f63
PBlock SlapReply needs to be a pointer into that supplied by caller
...
for overlay ops
2005-07-27 10:09:44 +00:00
Hallvard Furuseth
a9aa5050f8
Silence warning
2005-07-27 09:34:05 +00:00
Luke Howard
fe8c0553d3
Zero new superior before calling pblock_set_dn()
2005-07-27 09:26:42 +00:00
Hallvard Furuseth
f6f367fda6
pb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op
2005-07-27 09:13:30 +00:00
Hallvard Furuseth
5a6eabb69d
Silence unused variable warnings
2005-07-27 08:52:32 +00:00
Hallvard Furuseth
202b309dd1
Silence unused variable warnings with #ifdef LDAP_DYNAMIC_OBJECTS
2005-07-27 08:50:37 +00:00
Hallvard Furuseth
f5dd017738
Silence warnings (rearrange if(dryrun) vs. if(verbose)
2005-07-27 08:48:43 +00:00
Hallvard Furuseth
397d7171c0
Silence unused variable warnings with #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR
2005-07-27 08:44:11 +00:00
Hallvard Furuseth
262f199bb2
Silence warning
2005-07-27 08:33:59 +00:00
Luke Howard
197bc7bba9
s/op_compare/op_delete for LDAP_REQ_DELETE
2005-07-27 08:32:31 +00:00
Luke Howard
f87a07910f
Support object extensions on internal SLAPI operations
2005-07-26 09:56:18 +00:00
Luke Howard
edc575888c
slapi_op_type_to_string/slapi_op_get_type implementation
2005-07-26 04:34:23 +00:00
Hallvard Furuseth
fbce398466
Also declare copy_hostent() if LDAP_R_COMPILE && HAVE_GETHOSTBYADDR_R.
...
Only declare safe_realloc() if LDAP_R_COMPILE.
Indentation cleanup.
2005-07-26 04:21:19 +00:00
Hallvard Furuseth
ac523f2bd4
Rebuild for utime.h from configure.in 1.585
2005-07-26 04:01:27 +00:00
Pierangelo Masarati
111f5fdc5c
more fixes to back-ldap runtime configuration (ITS#3895)
2005-07-26 00:11:11 +00:00
Pierangelo Masarati
e161f50ac0
silence warning
2005-07-25 23:06:12 +00:00
Hallvard Furuseth
f020796f73
Update previous fix: utime() needs <sys/types.h> as well as <utime.h> on Linux
2005-07-25 22:53:21 +00:00
Pierangelo Masarati
a6d9e7d933
use operation slab for column binding
2005-07-25 22:11:09 +00:00
Pierangelo Masarati
f423e65d58
fix operational attributes collection (ITS#3882)
2005-07-25 21:57:20 +00:00
Hallvard Furuseth
6d6a4b7dda
Cast unsigned char*slotbuf passed as char*
2005-07-25 21:05:52 +00:00
Hallvard Furuseth
d9889aebd2
Fix debug format %d -> %lu
2005-07-25 21:03:08 +00:00
Hallvard Furuseth
2340954bd0
lmPasswd_to_key() arg1 was passed char*. Change it to that from unsigned char*.
2005-07-25 21:01:06 +00:00
Pierangelo Masarati
739128a016
silence warning(s)
2005-07-25 20:50:33 +00:00
Pierangelo Masarati
0de20c028f
destroy limits at exit
2005-07-25 20:50:03 +00:00
Pierangelo Masarati
136fe60e0e
improve verbstomask diagnostics
2005-07-25 20:48:24 +00:00
Pierangelo Masarati
a91ebfac79
plug leaks
2005-07-25 20:47:39 +00:00
Pierangelo Masarati
5ecdfd13b4
cleanup
2005-07-25 20:47:01 +00:00
Pierangelo Masarati
4971ea14bb
silence warnings
2005-07-25 20:46:38 +00:00
Pierangelo Masarati
01f81af860
fix translucent overlay test when back-monitor is compiled as module (privately reported by Buchan Milne)
2005-07-25 19:39:08 +00:00
Luke Howard
cdefacccc6
Fix ITS#3882
2005-07-25 13:19:38 +00:00
Luke Howard
88737d900a
more cleanups
2005-07-25 13:17:15 +00:00
Luke Howard
f302b9ee0d
Sync with slapd
2005-07-25 11:25:12 +00:00
Luke Howard
48c951007a
Harmonize Slapi_PBlock field nomenclature with rest of slapd
2005-07-25 11:13:15 +00:00
Luke Howard
ba8acc0c4a
However, SLAPI_PLUGIN_VERSION is treated as an opaque type
2005-07-25 10:55:37 +00:00
Luke Howard
4836f2a5c5
Heads up: fix for SLAPI compliance: when calling slapi_pblock_set() with
...
an integer or long integer parameter, the value argument is a pointer to
the integeral value rather than the value itself.
2005-07-25 10:53:45 +00:00
Luke Howard
93540e339a
Use SLAPI_LOG_OPERATION instead of private flag
2005-07-25 10:24:02 +00:00
Luke Howard
7a69353aac
Even more SLAPI cleanups
2005-07-25 10:10:58 +00:00
Luke Howard
ddbbbe2348
more SLAPI cleanups
2005-07-25 10:06:03 +00:00
Luke Howard
1254419f16
More SLAPI cleanups
2005-07-25 09:54:13 +00:00
Luke Howard
bb04c4eb9d
Fix pblock_delete_param(), this function never worked
2005-07-25 05:38:31 +00:00
Luke Howard
43ec05a45a
use slapi_pblock_delete_param()
2005-07-25 05:03:09 +00:00
Luke Howard
8d48005d83
Careful not to disturb result codes
2005-07-25 04:43:07 +00:00
Luke Howard
4c513d05f7
plug leak
2005-07-25 04:39:58 +00:00
Luke Howard
eec4651913
Don't discard plugin status code
2005-07-25 04:31:16 +00:00
Luke Howard
48d1046a35
Make slapi_pblock directly overlaid on operation/connection/slapreply
...
structures
This removes a lot of copying. It's still a bit tricky where the internal
slapd data types are different to those exposed via SLAPI (eg. modifications)
or the internal values are not allocated on the heap (eg. controls). Some
copying is necessary in these cases.
2005-07-25 04:19:33 +00:00
Pierangelo Masarati
7fade0d585
(yet) another potential concurrency issue
2005-07-23 22:04:04 +00:00
Pierangelo Masarati
3e84f692aa
there might definitely be concurrency issues, but it's not pooled connections' fault
2005-07-23 22:03:35 +00:00
Pierangelo Masarati
e810105f87
(mostly) reverting previous commit (overconservative)
2005-07-23 22:02:12 +00:00