Kurt Zeilenga
071b9466c4
Fix approx matching when there is an equality index but no approx index.
...
Add better approx test
2004-04-09 21:30:55 +00:00
Kurt Zeilenga
c7f0438044
bvalue cleanup
2004-04-08 06:49:17 +00:00
Howard Chu
8c6fe48806
More dynamic/static cleanup
2004-04-08 05:58:54 +00:00
Howard Chu
f2e1df3ef7
Consolidated static/dynamic backend switches
2004-04-08 05:56:23 +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
Kurt Zeilenga
dd726c5b6f
delete from dn2id database bug in back-ldbm/idl.c (ITS#3046)
...
Suggested fix provided by Wout van Albada
2004-04-06 21:54:07 +00:00
Kurt Zeilenga
0c2c38c02f
ITS#3059: modrdn should delete than add.
2004-04-06 21:06:35 +00:00
Kurt Zeilenga
158e5727b4
ITS#3056 partial fix - from a slurpd perspective, the updatedn
...
should be allowed to the entry at the naming prefix (database suffix).
2004-04-06 19:32:17 +00:00
Pierangelo Masarati
a11dc61e05
rework be_isupdate accordingly to be_isroot
2004-04-06 09:42:40 +00:00
Kurt Zeilenga
c7e89d57be
swap be_isroot and be_isroot_dn symbols
2004-04-06 01:06:20 +00:00
Kurt Zeilenga
2fcaa15b90
First rounds of backend/database flag cleanup
2004-04-05 21:00:16 +00:00
Pierangelo Masarati
e516247068
exploit new isroot_dn helper
2004-04-05 17:31:27 +00:00
Kurt Zeilenga
100facedf3
Don't return subordinate referrals (per RFC 3296)
2004-03-27 22:47:31 +00:00
Kurt Zeilenga
2876b3bb84
Don't disclose information to attacker.
...
Referrals need work (not sure why return referrals for bind requests)
2004-03-27 18:19:52 +00:00
Howard Chu
9f5667c703
Restructure to release locks before sending result
2004-03-20 09:25:00 +00:00
Kurt Zeilenga
e323437c6a
cleanup for release engineering
2004-03-18 01:06:39 +00:00
Pierangelo Masarati
ec6a663820
reset SlapReply flags
2004-03-17 11:50:15 +00:00
Pierangelo Masarati
091246c6fd
move limits evaluation to frontend
2004-03-08 18:12:45 +00:00
Howard Chu
c558bd49bc
ITS#2992 Windows fixes from Alexey Melnikov
2004-03-05 12:24:06 +00:00
Pierangelo Masarati
4e57108991
allow search limits based on groups (ITS#2967)
2004-02-18 16:40:36 +00:00
Howard Chu
4479b4c417
ITS#2962 - EBCDIC db_version string
2004-02-13 00:53:02 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
d3168d0011
cleanup
2003-12-31 04:26:17 +00:00
Kurt Zeilenga
8538184861
LDAP_SCOPE_SUBORDINATES (for chaining)
2003-12-30 01:25:50 +00:00
Howard Chu
0690f79a5a
Cleanup unknown config directive handling.
2003-12-07 07:07:00 +00:00
Howard Chu
864aea13f7
ITS#2864 removed sl_mark/sl_release code
2003-12-07 04:00:47 +00:00
Howard Chu
3152932e96
Moved ldbm into back-ldbm. No more libldbm.
2003-12-04 22:38:54 +00:00
Howard Chu
841e865910
Reorganize, attempt some fault tolerance...
2003-12-03 12:30:28 +00:00
Howard Chu
8ba2296dc8
ITS#2795 fix double-free on failure, reset dn2id database
2003-12-03 11:31:43 +00:00
Howard Chu
e325a3a923
ITS#2795 fix hang. failure still leaves corrupt database though.
2003-12-03 11:06:00 +00:00
Howard Chu
59e129158c
Removed passwd.c
2003-12-01 12:55:05 +00:00
Howard Chu
94f7141dda
Consolidate passwd extop in frontend
2003-12-01 12:38:11 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Jong Hyuk Choi
1fdda703e6
Support multiple sync replication at the consumer :
...
1) simultaneous operation of multiple active sync replication threads
2) cookie management for individual sync replication thread
(include rid=%3d to the slapd cookie command line option (-c))
2003-11-26 19:49:47 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Kurt Zeilenga
ce4b199485
Syncrepl code cleanup (namely prefix struct field names)
2003-10-22 05:19:30 +00:00
Kurt Zeilenga
2d910bf1f8
Fix pdn assert
2003-10-12 22:34:14 +00:00
Kurt Zeilenga
10622b1d0a
Further cleanup last commit.
2003-10-12 07:31:31 +00:00
Kurt Zeilenga
535c221599
Tentative fix for last comment (tests still running)
2003-10-12 07:19:27 +00:00
Kurt Zeilenga
dfcd732813
ITS#2757: fix parent-less add bug
2003-10-12 06:32:44 +00:00
Howard Chu
a875d7df18
plug modrdn memleaks
2003-09-27 07:52:20 +00:00
Howard Chu
1bb48a06fc
ITS#2736 clear result strings
2003-09-27 07:36:20 +00:00
Howard Chu
c58ac9d8f1
Add memctx param to build_new_dn(). cleanup DN leaks.
2003-09-24 04:30:41 +00:00
Howard Chu
20902a2be3
Fix segfault if entry_get is called with NULL attribute
2003-09-20 07:48:57 +00:00
Kurt Zeilenga
8f0bc2d55b
cleanup
2003-09-15 21:53:58 +00:00
Jong Hyuk Choi
c36f32a9e4
slaptool update for LDAP Sync replication
2003-08-30 15:19:35 +00:00
Jong Hyuk Choi
853c03e38d
more patches for ITS#2692 (Thanks Luke!)
2003-08-29 17:02:53 +00:00
Jong Hyuk Choi
ec9e19a573
cleanup
2003-08-27 22:18:52 +00:00
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
3e6f9f4ee5
returning LDAP return code
2003-08-27 20:26:55 +00:00
Jong Hyuk Choi
fcc59c6488
Proxy caching update : op->o_caching_on flag removed
2003-08-14 02:11:46 +00:00
Jong Hyuk Choi
264f690c81
ITS#2681: set rc to LDAP_INVALID_CREDENTIALS or 1
2003-08-13 20:27:10 +00:00
Kurt Zeilenga
b54780f940
Add initial support for modify/increment. No over/under flow detection.
...
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Jong Hyuk Choi
d0868eae95
Various changes
...
- SyncRepl support in back-ldbm
- back-ldbm functions return LDAP return codes for internal operations (callback)
- subentry code copy from back-bdb
- Misc udpates
2003-07-15 00:55:58 +00:00
Howard Chu
aa3b69eb32
ITS#2440 unmunge init_module names
2003-06-12 22:25:20 +00:00
Kurt Zeilenga
7ca24a8591
Another round of minor copyright updates
2003-05-25 03:56:57 +00:00
Howard Chu
fb52e37e06
ITS#2506 - fix prev patch, don't ignore undefined filters. treat as False,
...
test_filter will never match them anyway.
2003-05-13 01:16:26 +00:00
Hallvard Furuseth
3420d12bdc
Fix printf/Debug format arguments.
2003-05-02 13:08:47 +00:00
Howard Chu
7e2273b30e
Added errmsg arg to lutil_passwd_{check,hash} functions
2003-04-30 07:52:05 +00:00
Kurt Zeilenga
5cd994ed21
remove dnNormalize2
...
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00
Howard Chu
169c7afcdf
ITS#2453 - Handle computed filters, ignore Undefined filters.
2003-04-29 02:55:43 +00:00
Pierangelo Masarati
629885a269
use SLAP_PTRCMP
2003-04-18 17:16:48 +00:00
Howard Chu
d7a1eb0ea2
Fix AVL comparisons
2003-04-17 04:36:42 +00:00
Julius Enarusai
5094d6abda
Fixed minor compile errors
2003-04-15 20:40:02 +00:00
Howard Chu
130f6e1b7d
Memory context tweaks for other ops
2003-04-12 10:47:11 +00:00
Howard Chu
aa470b8052
Fix previous commit
2003-04-11 01:53:31 +00:00
Howard Chu
ece7452b05
More memory context tweaks
2003-04-11 01:29:28 +00:00
Howard Chu
6f9901e9ce
Moved get_alias_dn from back-ldbm to frontend
2003-04-05 06:34:20 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Howard Chu
9355dca9af
Consolidated slap_callbacks into one function. Removed send_search_result.
2003-04-01 04:12:18 +00:00
Pierangelo Masarati
8da20c6f81
new API cleanup in proxy cache code
2003-03-31 14:01:34 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Howard Chu
0fc7032748
Fix giant lock conflict in previous commit
2003-03-30 05:33:42 +00:00
Howard Chu
3afc12ed6c
Delete unused source
2003-03-30 04:01:31 +00:00
Howard Chu
c9ec6b0cab
Remove attribute.c, group.c from build
2003-03-26 11:52:59 +00:00
Howard Chu
99950e4fe4
Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
...
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.
2003-03-26 11:50:03 +00:00
Howard Chu
5ad51b6150
SLAP_NVALUES tweaks - after input, a_nvals is always populated. If there is
...
no normalizer, a_nvals = a_vals.
2003-03-24 01:56:56 +00:00
Howard Chu
90332c2de2
ITS#2390 - freeing uninit'd ndn
2003-03-22 16:26:38 +00:00
Kurt Zeilenga
86fdee6de7
SLAP_NVALUES: fix values_find_ex call
2003-03-17 00:30:35 +00:00
Kurt Zeilenga
e0c2e71a7c
SLAP_NVALUES updates
2003-03-17 00:10:43 +00:00
Kurt Zeilenga
338355d30b
SLAP_NVALUES: value_find v value_find_ex
2003-03-16 01:39:39 +00:00
Howard Chu
21a95f4309
ITS#2348 - revert previous patch, use patch from ITS
2003-03-12 13:40:54 +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
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
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
Kurt Zeilenga
152829be87
SLAP_NVALUES:
...
schema engine updated (but not schema routines so things don't run yet)
nvalues mostly populated, enough for tests 0-2 to pass
schema routines needs lots of work
modify/mods codes needs lots of work
2003-02-27 01:54:43 +00:00
Kurt Zeilenga
25886d989a
Change MR flag names and add comments as to what they mean to slap.h
2003-02-26 02:55:28 +00:00
Kurt Zeilenga
a65a55d385
SLAP_NVALUES: fix up modify password exop
2003-02-25 22:57:53 +00:00
Howard Chu
65bf90ff73
Use struct berval for exop reqoid everywhere. Define berval constants
...
for the known exops.
2003-02-16 06:15:28 +00:00
Kurt Zeilenga
c04e9ac993
rename "permit modify" control to "permissive modify"
...
rename "no referrals" controls to "domain scope"
misc cleanup
2003-02-09 05:39:21 +00:00
Pierangelo Masarati
6cf0c94845
some (poor) index cleanup
2003-02-07 15:20:57 +00:00
Hallvard Furuseth
bf8bbc27fe
Fix typo in comment.
2003-01-24 20:12:50 +00:00
Luke Howard
819d4093ae
Honour PermitModify control when adding or deleting values. This code needs
...
review although, with the control disabled, it should not affect existing
code paths.
2003-01-24 01:43:09 +00:00
Kurt Zeilenga
521d8384a1
works without SLAPI
2003-01-20 20:18:53 +00:00
Hallvard Furuseth
265b7e22c6
Insert missing initializers, to silence gcc warnings.
2003-01-19 13:38:44 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Pierangelo Masarati
0baf5af19b
reworking of error handling (should also fix ITS#2235)
2002-12-27 17:53:53 +00:00
Pierangelo Masarati
ddb17d592f
use 'safe' functions
2002-12-27 17:24:47 +00:00