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
Pierangelo Masarati
9bd043277b
fix memory free
2003-03-01 12:28:45 +00:00
Pierangelo Masarati
46a841870f
add 'next[/prev]' initializer
2003-03-01 12:28:07 +00:00
Pierangelo Masarati
14d64852e8
trim unnecessary varaible
2003-03-01 12:12:12 +00:00
Pierangelo Masarati
bf35f8e37f
improved filter mapping/rewrite; improved result rewriting; improved attribute/objectclass mapping configuration
2003-03-01 11:08:53 +00:00
Kurt Zeilenga
009a9640d4
enable indexing
2003-03-01 05:21:51 +00:00
Kurt Zeilenga
47b18c9a51
SLAP_NVALUES: index normalized values
2003-03-01 05:17:44 +00:00
Kurt Zeilenga
2bd7c30d5f
SLAP_NVALUES: test005-modrdn works...
2003-03-01 04:51:31 +00:00
Kurt Zeilenga
c24ebfe014
SLAP_NVALUE: misc updates
2003-03-01 04:14:17 +00:00
Kurt Zeilenga
603543ca26
SLAP_NVALUES: test004 works
2003-03-01 03:37:16 +00:00
Kurt Zeilenga
208971a65f
SLAP_NVALUES: A couple of more normalizers...
2003-03-01 01:27:09 +00:00
Kurt Zeilenga
16c9e81c80
SLAP_NVALUES: test003 now passes (with help of a substr mr hack)
2003-03-01 00:14:32 +00:00
Kurt Zeilenga
eb6ccefabf
Remove deadwood
2003-02-28 22:32:12 +00:00
Kurt Zeilenga
806c9bfe84
SLAP_NVALUES: Use a_nvals
2003-02-28 21:05:19 +00:00
Kurt Zeilenga
cd6657fdf0
SLAP_NVALUES: fix UTF8StringNormalize
...
tests 0-2 now run correctly
2003-02-28 20:00:54 +00:00
Kurt Zeilenga
64b621620b
ITS#2324: Allow extended operation plugin to override default
...
from jenarusa@us.ibm.com
2003-02-28 19:21:38 +00:00
Howard Chu
0423ec0bd6
Fix ITS#2335, RFC1798 sequence layout was wrong.
2003-02-28 13:04:16 +00:00
Luke Howard
2c98342192
Fix typo
2003-02-28 12:55:01 +00:00
Luke Howard
cc39f75261
Support for dynamic registration of controls, both through native and
...
SLAPI plugins.
2003-02-28 12:34:35 +00:00
Pierangelo Masarati
e0a70010d9
missing OpenLDAPaciMatch definition
2003-02-28 12:05:48 +00:00
Howard Chu
507781eeb3
Partial fix of ITS#2335, restore proper CLDAP msg format for LDAPv2
2003-02-28 08:34:31 +00:00
Kurt Zeilenga
7735c44167
Use add_merge_one to add schema elements to subschema
2003-02-28 07:06:06 +00:00
Kurt Zeilenga
3600aac0fb
SLAP_NVALUES: fix a FIX ME
2003-02-28 05:44:03 +00:00
Howard Chu
22e88ffb75
Fix LDAP_LOG arg
2003-02-28 05:24:08 +00:00
Howard Chu
4e01c67966
ITS#2336 - Don't allow rename on subtrees.
2003-02-28 05:18:29 +00:00
Kurt Zeilenga
840f3644f4
SLAP_NVALUES: a couple of basic normalizers... but not working yet.
2003-02-28 05:13:29 +00:00
Kurt Zeilenga
70f5bd5d9d
SLAP_NVALUES: More preparation for new normalization routines
2003-02-27 17:35:23 +00:00
Luke Howard
9eb008ab16
Implemented slapi_dup_control().
2003-02-27 13:00:25 +00:00
Pierangelo Masarati
df57840626
more hacks/comments for SLAP_NVALUES
2003-02-27 09:52:47 +00:00
Kurt Zeilenga
7a7f482623
SLAP_NVALUES: prepare for new schema routines
...
(hopefully I didn't break -USLAP_NVALUES)
2003-02-27 06:51:53 +00:00
Kurt Zeilenga
511a94d98c
SLAP_NVALUES: disable indexing for now
2003-02-27 06:37:10 +00:00
Kurt Zeilenga
32399d9bd9
axe mr_ptr in favor or schema_prep
2003-02-27 03:29:07 +00:00
Kurt Zeilenga
82c403cb7f
Fix typo in last commit
2003-02-27 03:03:54 +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
Pierangelo Masarati
dd6870515b
quick fix to allow -DSLAP_NVALUES with -DLDAP_SLAPI
2003-02-27 00:41:46 +00:00
Pierangelo Masarati
216bcd948e
more SLAP_NVALUES cleanup
2003-02-26 22:58:46 +00:00
Pierangelo Masarati
87f48aab93
improve previous commit
2003-02-26 22:12:14 +00:00
Pierangelo Masarati
955d298a25
fix ITS#2330; free rdn after usage
2003-02-26 21:47:47 +00:00
Pierangelo Masarati
937475efbf
blind fix
2003-02-26 21:45:56 +00:00
Pierangelo Masarati
7ab954d516
blind fix (accrding to back-monitor hack)
2003-02-26 19:41:27 +00:00
Kurt Zeilenga
baa5c88d75
whoops (again). Don't define SLAP_NOVALUES yet.
2003-02-26 16:48:31 +00:00
Pierangelo Masarati
f32e8ee7e7
blind fix (accrding to back-monitor hack)
2003-02-26 15:59:36 +00:00
Kurt Zeilenga
f1441afbac
Backout prototype rename
2003-02-26 15:53:31 +00:00
Howard Chu
321780eb66
Complain about holes in database at end of slapadd
2003-02-26 15:33:20 +00:00
Howard Chu
1e718b1815
Delete extraneous log msg
2003-02-26 12:57:15 +00:00
Howard Chu
d7aac0a9d5
Only check opinfo.boi_err when ACL check failed.
2003-02-26 12:49:21 +00:00
Howard Chu
18554e7511
Fix attribute/group to allow TXN to abort on lock failure. Save and
...
restore op->o_do_not_cache on TXN retry, bdb_group will set it if it
fails to get a lock.
2003-02-26 12:09:10 +00:00
Howard Chu
00837465c4
Don't need TXN/opinfo support in read-only operations
2003-02-26 11:45:30 +00:00
Howard Chu
bda79780ce
ITS#2122 - actually use the passed in txn handle!!
2003-02-26 10:48:02 +00:00
Howard Chu
3505c326da
bdb_entry_return must explicitly check for/free attr nvals.
2003-02-26 10:10:13 +00:00
Howard Chu
e13246b965
Fix previous commit
2003-02-26 09:59:08 +00:00
Howard Chu
6d0dadc0bf
Fix modify_delete_values. This stuff should be completely rewritten
...
to take full advantage of SLAP_NVALUES.
2003-02-26 09:55:07 +00:00
Howard Chu
284ef10e6e
In slap_mods_check, must null-terminate sm_nvalues array
2003-02-26 09:24:01 +00:00
Howard Chu
01c56e0044
In entry_decode, must null-terminate a_nvals array
2003-02-26 09:11:56 +00:00
Howard Chu
64be098f28
Sync with MR flags in slap.h
2003-02-26 08:40:33 +00:00
Kurt Zeilenga
dd66e6e929
SLAP_NVALUES, round 3
2003-02-26 07:39:30 +00:00
Kurt Zeilenga
46a2616b83
Fix -USLAP_NVALUES
2003-02-26 03:12:02 +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
a5e883a886
SLAP_NVALUE more add tweaks
2003-02-26 01:57:07 +00:00
Kurt Zeilenga
2cdbd25a60
SLAP_NVALUES mostly populated now
2003-02-26 01:41:22 +00:00
Kurt Zeilenga
793dada79c
Populate nvals via entry_decode
2003-02-26 01:09:20 +00:00
Kurt Zeilenga
88990a5c6a
SLAP_BVALUES fixes
2003-02-26 00:48:37 +00:00
Kurt Zeilenga
51e841c694
Whoops, SLAP_NVALUES should be off for now
2003-02-25 23:46:40 +00:00
Kurt Zeilenga
122f5d4299
*** empty log message ***
2003-02-25 23:16:21 +00:00
Kurt Zeilenga
a65a55d385
SLAP_NVALUES: fix up modify password exop
2003-02-25 22:57:53 +00:00
Kurt Zeilenga
6390e947b0
SLAP_NVALUES, round 2
2003-02-25 22:49:41 +00:00
Kurt Zeilenga
2a8dec95ba
SLAP_NVALUES back-monitor temporary hack
2003-02-25 21:19:42 +00:00
Jong Hyuk Choi
71ca4d51f1
log message fix
2003-02-25 21:15:26 +00:00
Kurt Zeilenga
8502301b00
Round one of SLAP_NVALUES code
2003-02-25 21:08:48 +00:00
Kurt Zeilenga
5b4e69a564
Fix monitorContext description
2003-02-25 20:41:28 +00:00
Kurt Zeilenga
627de4de15
Additional indexer normalization (need to check all Indexers)
2003-02-25 19:21:18 +00:00
Kurt Zeilenga
ec9db8dec1
Quick (and incomplete) fix to " foo " indexing
2003-02-25 19:01:33 +00:00
Kurt Zeilenga
02b98006f0
Add comment about subschema ACLs
2003-02-25 19:00:59 +00:00
Howard Chu
4c760dfc18
Fix? For bdb_cache_find_entry*, COMMITTED entries are usable, not just
...
READY entries. This change eliminates a retry bottleneck, and looks safe
to me, but please review.
2003-02-22 12:39:49 +00:00
Howard Chu
d3fafb16b2
Fix ITS#2319, use "," comma to delimit port number in rej filename
...
on Windows instead of ":" colon.
2003-02-22 01:14:24 +00:00
Howard Chu
c756bf0590
Change - bdb_tool_entry_put always "sorts" entries:
...
instead of just calling bdb_next_id, it calls bdb_dn2id to see if the
current entry already has an ID. If so, it uses it.
if not, it recurses to see if its parent exists, and does dn2id_add from
the database suffix back to the current entry.
2003-02-21 10:13:20 +00:00
Howard Chu
9c701c8861
Fix ITS#2320, check for NULL re->re_replicas
2003-02-21 02:14:46 +00:00
Kurt Zeilenga
13b63911a4
ITS#2318: unlink pid file (and args file)
2003-02-19 20:47:57 +00:00
Kurt Zeilenga
05619c6ec7
ITS#2236. Add missing connections_shutdown() call.
2003-02-19 20:39:04 +00:00
Kurt Zeilenga
fb73fea612
More understandable error text
2003-02-19 16:19:13 +00:00
Howard Chu
9f0598034e
Fix do/don't send result logic
2003-02-19 00:01:22 +00:00
Kurt Zeilenga
6d6bed3bc0
Fix -ULDAP_CLIENT_UPDATE bug (mine)
2003-02-17 17:57:19 +00:00
Kurt Zeilenga
4d9a4174f5
Lower SLAP_MAX_WORKER_THREAD to 16 (from 32)
2003-02-17 17:36:01 +00:00
Howard Chu
979e5073cf
Revert previous kludge in controls.c, use ldap_pvt_thread_pool_context
...
instead if c_sasl_bindop is NULL.
2003-02-16 19:34:29 +00:00
Howard Chu
09585ad3d0
Kludge - set conn->c_sasl_bindop before calling slap_sasl_getdn, otherwise
...
op->o_threadctx is inaccessible.
2003-02-16 12:23:00 +00:00
Howard Chu
d6dab5dfb4
Suppress warning
2003-02-16 12:22:06 +00:00
Howard Chu
187f1d2ad4
Added proxy-whoami keyword for forwarding whoami requests.
2003-02-16 11:21:15 +00:00
Howard Chu
7e1a566391
Use struct berval * instead of ** for newpasswd
2003-02-16 09:42:04 +00:00
Howard Chu
532eea87c9
Added passwd_exop, added matchedDN rewrite for results.
2003-02-16 09:22:44 +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
Howard Chu
8f88bc1f8f
Free default_passwd_hash on cleanup
2003-02-16 06:13:34 +00:00
Kurt Zeilenga
4ae637a08d
Update comment
2003-02-15 16:38:32 +00:00
Kurt Zeilenga
619f9a72ec
Fix typo in last commit
2003-02-14 23:14:19 +00:00
Howard Chu
1756206598
Use bdb_unlocked_cache_return; lock ended when TXN ended.
2003-02-14 22:30:07 +00:00
Kurt Zeilenga
1a14def903
Use function pointers to get at backend routines.
2003-02-14 20:51:35 +00:00
Howard Chu
c04f3e7706
Fix previous commit
2003-02-14 09:17:42 +00:00
Howard Chu
0b6772492f
Use extended async APIs to allow direct parsing of results. Otherwise
...
they will be interleaved in LDAP*. Avoid setting any options on the handle.
2003-02-14 05:23:45 +00:00
Howard Chu
202cf8af75
Implemented connection pooling. Requires libldap_r to allow multiple threads
...
to access the same LDAP* handle.
2003-02-13 23:29:56 +00:00