Commit Graph

8103 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
bdf02dde71 clarify "by anonymous auth" semantics 2003-03-12 16:25:20 +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
Howard Chu
8a8ae8bf85 Add comment to previous 2003-03-12 03:23:09 +00:00
Howard Chu
066e3310a9 ITS#2365 - preserve internal ber_tag as well as ber_ptr for rewinding. 2003-03-12 02:33:53 +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
Kurt Zeilenga
63041611c5 Add comment about LDAPv2 2003-03-10 15:41:55 +00:00
Kurt Zeilenga
472a79f211 LDAPv2 is Historic 2003-03-10 15:34:14 +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
Howard Chu
7088d5c4bd Add copyright notice 2003-03-09 01:03:41 +00:00
Howard Chu
c20d1840ba Blind fix, delete obsolete files cache.c, authpasswd.c 2003-03-07 21:10:02 +00:00
Kurt Zeilenga
6fb4582d5c suffixalias is no longer supported 2003-03-07 18:57:30 +00:00
Howard Chu
f881657c08 Don't call strlen ourselves, SASL getopt returns the lengths 2003-03-07 12:40:37 +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
0b96b6b6ad Chasing a referral needs both the request and response mutexes.
Unlock and relock... (yuck)
2003-03-06 14:53:01 +00:00
Howard Chu
ec63a1f87f Pass correct msgid to ldap_result 2003-03-06 14:50:39 +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
Kurt Zeilenga
1b4180faa8 rebuild 2003-03-06 00:38:42 +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
8fc4f55d3a Silence warnings in prev commit 2003-03-05 01:53:03 +00:00
Howard Chu
873e498829 Silence warning in prev commit 2003-03-05 01:37:56 +00:00
Howard Chu
7e7db2578d Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
all you want is the hostname. Supports IPv6 addresses.
2003-03-05 01:35:39 +00:00