Howard Chu
329202e897
Plug ndn leak (re: ITS#2390)
2003-03-22 16:59:41 +00:00
Kurt Zeilenga
8a7114e152
ITS#2390 fix for back-bdb
2003-03-22 16:38:31 +00:00
Howard Chu
90332c2de2
ITS#2390 - freeing uninit'd ndn
2003-03-22 16:26:38 +00:00
Howard Chu
23d69c1d1f
Still need DB_AUTO_COMMIT flag
2003-03-22 16:21:44 +00:00
Kurt Zeilenga
c37a3b37b8
namingCSN
2003-03-22 16:12:59 +00:00
Kurt Zeilenga
61dffba479
ITS#2847: fix cn=#,...
2003-03-22 16:12:39 +00:00
Howard Chu
a63b8908cd
ITS#2389 - stop reading requests on a conn if it has more than
...
connection_pool_max/2 operations already executing. May want to tune
this to a higher value, e.g. connection_pool_max - XX, etc. Fix in
result.c throttles the connection too late, all threads are already
consumed by the time the send buffer blocks.
2003-03-20 12:40:11 +00:00
Howard Chu
546d5cb3a0
ITS#2389 - stop reading requests on a connection when we are blocked
...
writing responses. This may not be the right fix.
2003-03-20 11:54:17 +00:00
Howard Chu
f23c71c03c
ITS#2385 fix typo in comment terminator
2003-03-18 17:52:48 +00:00
Pierangelo Masarati
26e6e44bec
value is parsed in place; minor cleanup
2003-03-18 14:38:40 +00:00
Pierangelo Masarati
c4b925f343
document -u option
2003-03-18 10:38:23 +00:00
Howard Chu
a0c58e5f40
Don't use DB_AUTO_COMMIT when opening a database
2003-03-18 00:04:16 +00:00
Kurt Zeilenga
c79c13d480
replace get_substring_filter with get_ssa()
2003-03-17 06:06:02 +00:00
Kurt Zeilenga
86fdee6de7
SLAP_NVALUES: fix values_find_ex call
2003-03-17 00:30:35 +00:00
Kurt Zeilenga
1a55430c65
SLAP_NVALUES: more fixes
2003-03-17 00:27:33 +00:00
Kurt Zeilenga
e0c2e71a7c
SLAP_NVALUES updates
2003-03-17 00:10:43 +00:00
Kurt Zeilenga
9ac9102b55
Undo last commit
2003-03-16 23:54:40 +00:00
Kurt Zeilenga
8b6e1db2d3
SLAP_NVALUES: remove all the extra frees
2003-03-16 23:54:22 +00:00
Kurt Zeilenga
b1d245d9de
SLAP_NVALUES: fix extraneous free bug.
2003-03-16 23:52:44 +00:00
Kurt Zeilenga
e3b1020e75
Fix typos in last commit
...
Still chasing SLAP_NVALUES trashed filter bug
2003-03-16 21:58:00 +00:00
Kurt Zeilenga
261d127281
Rewrite filter routines to malloc() late.
2003-03-16 21:50:39 +00:00
Kurt Zeilenga
19ddf0d63d
SLAP_NVALUES: still chasing an extranous free... this just saves
...
an unneccessary malloc. (Actually, we should likely use local
filter structure to read things into and then malloc/copy once
we're sure there are no errors.)
2003-03-16 19:09:07 +00:00
Kurt Zeilenga
6c7a1194c3
reorder to statements for debugging purposes
2003-03-16 18:48:44 +00:00
Kurt Zeilenga
8873006105
SLAP_NVALUES changes
...
and misc cleanup
2003-03-16 18:10:16 +00:00
Howard Chu
d18e0989d9
ITS#2382 use ch_calloc
2003-03-16 12:34:40 +00:00
Kurt Zeilenga
e1980876f4
SLAP_NVALUES updates
2003-03-16 06:41:53 +00:00
Kurt Zeilenga
676349481f
SLAP_NVALUES updates
2003-03-16 06:03:23 +00:00
Kurt Zeilenga
338355d30b
SLAP_NVALUES: value_find v value_find_ex
2003-03-16 01:39:39 +00:00
Kurt Zeilenga
52fb5b1342
Not sure why these asserts are failing... too tired to figure it...
...
so #ifdef for now.
2003-03-15 23:59:14 +00:00
Kurt Zeilenga
c0477e1532
Fix test006-acls
2003-03-15 23:02:55 +00:00
Kurt Zeilenga
3972e13fc3
NVALUES: fix a couple of value_find_ex() calls
2003-03-15 22:47:17 +00:00
Kurt Zeilenga
776e3f2248
Add some additional error checking...
...
but haven't yet figured out why NVALUES crashes in test003
2003-03-15 19:45:36 +00:00
Howard Chu
55fea9715e
Plug leaks in controls_destroy()
2003-03-14 09:42:18 +00:00
Howard Chu
9ccecd3907
Plug leaks. (benign. slap_controls and root_dse need a destroy() still,
...
also still need to clear mr's from the ad_map.)
2003-03-14 09:37:27 +00:00
Howard Chu
44be38c0f0
ITS#2371, fix BDB_SUBDIRs
2003-03-13 15:53:19 +00:00
Kurt Zeilenga
e12aec25f4
minor cleanup
2003-03-13 04:16:18 +00:00
Howard Chu
30c5915460
Fix version check in previous
2003-03-13 02:01:14 +00:00
Howard Chu
573349a318
ITS#2356 - support Perl newer than 5.6
2003-03-13 01:58:26 +00:00
Kurt Zeilenga
0bfcfbf5fa
Minor tweaks
2003-03-13 01:29:49 +00:00
Kurt Zeilenga
e88b84d6db
Use BER_BVC
2003-03-13 01:05:40 +00:00
Kurt Zeilenga
c4feadbd4f
Fix typo in last commit
2003-03-13 00:53:40 +00:00
Kurt Zeilenga
12139ae223
Another comment.
2003-03-13 00:51:06 +00:00
Kurt Zeilenga
3bffd98e9d
Add comment that this schema is invalid
2003-03-13 00:50:30 +00:00
Howard Chu
a2a5ef48be
ITS#2368 - fix deleting key from range IDL
2003-03-12 21:18:39 +00:00
Howard Chu
f2223ede5b
Fix error messages
2003-03-12 21:16:43 +00:00
Jong Hyuk Choi
c1da85eba0
Error checking code for ITS#2367
2003-03-12 16:37:04 +00:00
Jong Hyuk Choi
0d0d5ffddf
declaration of bdb_idl_entry_cmp()
2003-03-12 16:36:28 +00:00
Jong Hyuk Choi
2e31af9ca1
AVL delete upon shutdown (ITS#2367)
2003-03-12 16:34:17 +00:00
Howard Chu
009afb4bd7
Fix cache consistency problems on txn retry
2003-03-12 15:20:51 +00:00
Howard Chu
21a95f4309
ITS#2348 - revert previous patch, use patch from ITS
2003-03-12 13:40:54 +00:00
Howard Chu
c2fd1b8a3f
Added lutil_passwd_init(), lutil_passwd_destroy()
2003-03-12 13:10:22 +00:00
Howard Chu
6aab531d66
#ifndef SLAP_NVALUES asserted berval was leaked
2003-03-12 13:05:19 +00:00
Howard Chu
1e5de87e10
Plug memory leaks:
...
retrying a modrdn leaked DNs, rdns, etc.
modifying a cached entry leaked attrs
2003-03-12 13:04:23 +00:00
Howard Chu
97a805415d
ITS#2348, additional check to prevent re-inserting IDs that are
...
already present. Hopefully the final fix...
2003-03-12 10:45:00 +00:00
Howard Chu
6694db8fd4
ITS#2253 - when StartTLS fails, slapd closes the connection so slurpd
...
must unbind and re-initialize the LDAP session.
2003-03-12 04:38:12 +00:00
Pierangelo Masarati
1277616c40
use an "unknown" listener name/url when faking connections
2003-03-11 18:25:51 +00:00
Pierangelo Masarati
fc87692576
fix ITS#2362 and other leaks/unhandled massaged DN memory
2003-03-11 18:09:38 +00:00
Kurt Zeilenga
72b6f82cc4
Tweak SLAP_OP_BLOCKS
2003-03-11 17:26:57 +00:00
Pierangelo Masarati
4a862018eb
#include reordering
2003-03-11 12:26:05 +00:00
Pierangelo Masarati
f6a47ac9ea
silence warning
2003-03-11 12:25:39 +00:00
Pierangelo Masarati
3415b384e2
cleanup cache search
2003-03-11 12:24:38 +00:00
Pierangelo Masarati
5c7e6e872d
cleanup bind
2003-03-11 12:24:14 +00:00
Pierangelo Masarati
bfe6d806d9
(ultimately?) fix ITS#2361
2003-03-11 12:23:20 +00:00
Howard Chu
ed884fe0ee
Added proposed request parameters to Operation. #ifdef'd, not active.
...
Replaces "be, conn, op" triple with just "op" for most functions. Removes
individual arguments from backend op functions. Please review/comment.
2003-03-11 10:39:32 +00:00
Howard Chu
bbad1de8e1
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
...
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
2003-03-11 05:58:53 +00:00
Howard Chu
5c3909f567
ITS#2361, skip sockname, peername, peerdomain, sockurl ACLs if the
...
corresponding conn->field is NULL. (overwrites previous commit.)
2003-03-10 22:28:35 +00:00
Pierangelo Masarati
11c225d40c
check conn->c_listener before use (hack to fix ITS#2361; need to review this part of slapi)
2003-03-10 22:19:32 +00:00
Howard Chu
40454ccec8
Added op->o_is_auth_check; use ACL_AUTH instead of ACL_SEARCH/ACL_READ
...
in access_allowed() if flag is set. Set in sasl/saslauth searches.
2003-03-10 22:07:21 +00:00
Howard Chu
d6bbe2dba5
Blind fix - remove suffixalias.c
2003-03-10 19:13:38 +00:00
Pierangelo Masarati
998ab2f441
fix log message (ITS#2359)
2003-03-10 07:36:42 +00:00
Kurt Zeilenga
0f0122abdd
need to use ch_malloc/realloc
2003-03-09 20:15:30 +00:00
Kurt Zeilenga
e4b507dfe9
Use ch_malloc instead of malloc for unchecked allocations
2003-03-09 20:11:12 +00:00
Kurt Zeilenga
cc96deee75
Redefine queryid
2003-03-06 20:20:13 +00:00
Jong Hyuk Choi
6f81235386
Commit of the Proxy Cache contribution (ITS#2062)
...
from IBM India Research (Apurva Kumar)
Code review by Pierangelo, Kurt, and Jong.
2003-03-06 19:44:41 +00:00
Howard Chu
aa84264fc2
Technically, since the authid is expected to be a normalized DN, uidNumber
...
and gidNumber should be all lower case: uidnumber,gidnumber. Is it too late
to fix this, would it break compatibility for anything major?
2003-03-06 12:08:39 +00:00
Kurt Zeilenga
e906747d51
call LDAPv2 what it is (historical)
2003-03-06 01:00:05 +00:00
Howard Chu
31a4149f02
ITS#2348: fix previous commit
2003-03-06 00:16:32 +00:00
Howard Chu
f2800036fa
ITS#2348: cont_alloc/cont_free cleanup in idl_insert_key
2003-03-05 23:10:32 +00:00
Jong Hyuk Choi
5db7e20cf1
misc : not activating idl cache in tool mode run
2003-03-05 03:34:59 +00:00
Howard Chu
3955eaede2
Fix LDAP_DEBUG/LDAP_SYSLOG test
2003-03-05 02:22:58 +00:00
Howard Chu
b21e69db0e
Use ldap_pvt_get_hname instead of ldap_pvt_gethostbyaddr_a
2003-03-05 01:53:32 +00:00
Howard Chu
a0b1fb1f9c
Multiple-suffix fail msg should be logged at ERR/ANY, not ARGS.
2003-03-04 21:17:31 +00:00
Pierangelo Masarati
4a658ee581
more improvements ...
2003-03-04 09:46:48 +00:00
Pierangelo Masarati
95b115394d
improve last commit
2003-03-04 09:43:12 +00:00
Pierangelo Masarati
118bf1e9f9
apply a different fix for ITS#2342
2003-03-03 23:06:58 +00:00
Pierangelo Masarati
a62d86cbe0
improve checks
2003-03-03 22:56:21 +00:00
Pierangelo Masarati
51849d6ecb
fix ITS#2343
2003-03-03 22:25:28 +00:00
Pierangelo Masarati
498f8a7454
init var
2003-03-03 21:33:29 +00:00
Pierangelo Masarati
cd41bb1a06
set return code
2003-03-03 21:32:58 +00:00
Pierangelo Masarati
40622232f7
silence warning
2003-03-03 21:32:08 +00:00
Pierangelo Masarati
74960cc52f
initialize var
2003-03-03 21:31:47 +00:00
Howard Chu
3cbcf01cfd
Added NT service support
2003-03-03 11:47:16 +00:00
Howard Chu
3b01c9a99e
Cleanup slapd-specific NT service support
2003-03-03 11:46:05 +00:00
Howard Chu
d9dbbeb87f
Add explicit "service" argument, only change cwd if running as a service.
2003-03-03 06:42:16 +00:00
Kurt Zeilenga
2d942d7035
Use renamed initializers
2003-03-02 03:15:16 +00:00
Howard Chu
9beaa08d79
Fix slap_sasl_authorized, c_authz_backend may be NULL
2003-03-02 00:21:24 +00:00
Kurt Zeilenga
f172e06cc0
SLAP_NVALUES: substrings indexing/filterring
2003-03-01 20:21:39 +00:00
Kurt Zeilenga
bafe8044ab
more OPERATIONS v. OTHER error cleanup
2003-03-01 20:20:53 +00:00
Kurt Zeilenga
c981ebcb61
Don't return LDAP_OPERATIONS_ERROR for internal errors
2003-03-01 20:17:52 +00:00
Pierangelo Masarati
9702e837e8
fix attr_merge_one hack
2003-03-01 15:41:54 +00:00