Pierangelo Masarati
e549e4463a
free replica info as appropriate
2005-08-07 15:01:13 +00:00
Pierangelo Masarati
d8a90fd7d5
cleanup resources
2005-08-07 14:13:29 +00:00
Pierangelo Masarati
468e03a655
plug more leaks
2005-08-07 12:55:15 +00:00
Pierangelo Masarati
409bb53f82
improve previous commit
2005-08-07 11:48:45 +00:00
Pierangelo Masarati
a2b8670b92
improve previous commit
2005-08-07 11:44:57 +00:00
Pierangelo Masarati
c3b977b2da
ACL logging was incomplete (and misleading)
2005-08-07 11:36:18 +00:00
Pierangelo Masarati
be355833a0
fix use of uninitialized value; beautify logs
2005-08-07 10:49:40 +00:00
Pierangelo Masarati
e281e08e79
remove cruft
2005-08-07 10:49:01 +00:00
Pierangelo Masarati
f5beb2e0d3
add indices for all backends that support them; clenup
2005-08-07 10:01:53 +00:00
Pierangelo Masarati
e355c9ef86
detect if control is available (ITS#3898)
2005-08-07 09:59:25 +00:00
Luke Howard
bba3f62bdc
Always restore op->o_callback in SLAPI overlay - was spinning indefinitely
2005-08-07 03:13:57 +00:00
Pierangelo Masarati
fa27310d77
use trylock only where necessary
2005-08-07 00:35:11 +00:00
Pierangelo Masarati
cc6b90b452
disallow this test for backends that do not honor ACLs
2005-08-07 00:27:48 +00:00
Pierangelo Masarati
614fd279c7
fix ITS#3811
2005-08-06 22:03:45 +00:00
Pierangelo Masarati
47d39181d6
cleanup
2005-08-06 21:03:26 +00:00
Pierangelo Masarati
8b54d3b7e1
fix potential leak (if URL form is broken); cleanup
2005-08-06 20:56:02 +00:00
Luke Howard
6911e0022b
Plug some leaks in SLAPI modifications handling
2005-08-06 14:58:25 +00:00
Pierangelo Masarati
682a1981a1
use macros instead of literals
2005-08-06 11:29:08 +00:00
Pierangelo Masarati
955253966b
fix ordered indexing check
2005-08-05 00:08:22 +00:00
Pierangelo Masarati
a3a9bb9bfa
little more about potential concurrency issues
2005-08-03 16:54:08 +00:00
Pierangelo Masarati
cc361f7aa0
don't need compare if entry_get is available
2005-08-03 00:33:37 +00:00
Pierangelo Masarati
61f11773ba
address ITS#3914
2005-08-02 23:22:10 +00:00
Pierangelo Masarati
4ed743cc84
remove unrequired member; address ITS#3913
2005-08-02 22:48:30 +00:00
Pierangelo Masarati
9da3dbf3c8
more fixes to parsing of (deprecated) config directives (ITS#3915)
2005-08-02 22:21:44 +00:00
Luke Howard
b620a0e23c
slapi/slapi_utils.c rev 1.172 removed the 'dup' parameter to
...
slapi_int_ldapmods2modifications(), but a 'dup' test remains in the
function body. Should always evaluate to TRUE.
2005-08-02 16:12:09 +00:00
Hallvard Furuseth
d47eaa0ecc
Fix printf formats for LDAP_MEMORY_TRACE
2005-08-02 14:08:30 +00:00
Howard Chu
834f1bd253
ITS#3578 increment parent's referral count
2005-08-02 11:24:52 +00:00
Hallvard Furuseth
b295d66a2c
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-08-02 10:57:42 +00:00
Hallvard Furuseth
cc79022b71
Cleanup (unused variable ad_oldest)
2005-08-02 10:36:48 +00:00
Howard Chu
b98d3b5903
ITS#3912 missed an invocation of entry_schema_check in last round of changes
2005-08-02 09:44:44 +00:00
Hallvard Furuseth
ad0be35f47
Remove unused variable.
2005-08-02 08:50:02 +00:00
Hallvard Furuseth
a3f3143cc5
Fix off-by-one pointer error. Garbage byte between uuid and csn in slog_entry.
2005-08-02 08:43:27 +00:00
Pierangelo Masarati
4148ddc31f
save 1 function call...
2005-08-02 08:13:16 +00:00
Pierangelo Masarati
673ea82eab
fix typo in previous commit
2005-08-01 23:40:40 +00:00
Pierangelo Masarati
01dc0183a3
plug leaks; cleanup
2005-08-01 23:35:44 +00:00
Pierangelo Masarati
c8a5fd2df2
fix various leaks
2005-08-01 23:32:14 +00:00
Pierangelo Masarati
9a64785e4d
plug leaks; fix map initialization
2005-08-01 22:40:18 +00:00
Howard Chu
91ea3a113a
Add static build for accesslog
2005-08-01 22:02:23 +00:00
Luke Howard
12d006d17d
Add o_no_schema_check to operation structure
...
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Luke Howard
381a4d62c5
SLAPI no longer needs to be initialized here
2005-08-01 15:25:17 +00:00
Luke Howard
b1f478f161
Add slapi_dn_isbesuffix()
...
Fix slapi_dn_beparent() logic
Fix slapi_int_ldapmods2modifications() memory management, values
always need to be duplicated because of prettying in slap_mods_check()
2005-08-01 15:24:46 +00:00
Luke Howard
9a45f87ede
Fix crasher in SLAPI_SEARCH_ATTRS handler
...
Add SLAPI_X_OPERATION_NO_SCHEMA_CHECK, SLAPI_X_MANAGEDIT
Fix modlist memory management
2005-08-01 15:24:02 +00:00
Luke Howard
65ac57bcac
Plug leaks
2005-08-01 15:23:12 +00:00
Luke Howard
e70ab8655c
Centralize SLAPI initialization into slapi_over_config()
2005-08-01 15:22:56 +00:00
Luke Howard
c2534a5ced
Add SLAPI_X_MANAGEDIT, SLAPI_X_OPERATION_NO_SCHEMA_CHECK
2005-08-01 15:21:55 +00:00
Hallvard Furuseth
5949d65b57
Plug memory leak
2005-08-01 03:58:43 +00:00
Hallvard Furuseth
486bfe7e17
slap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals
2005-08-01 03:56:36 +00:00
Hallvard Furuseth
f9e505727e
Plug memory leaks - free() controls in LDAP*
2005-08-01 03:51:53 +00:00
Hallvard Furuseth
5c5a834db8
Handle LBER_SB_OPT_[GS]ET_FD arg as ber_socket_t like elsewhere, not as int.
2005-08-01 03:48:53 +00:00
Hallvard Furuseth
a286d07109
Plug memory leaks
2005-08-01 03:44:52 +00:00