]>
git.sur5r.net Git - openldap/log
Luke Howard [Sun, 4 May 2003 16:59:10 +0000 (16:59 +0000)]
Don't crash if no attributes in slapi_attr_value_find()
Pierangelo Masarati [Sat, 3 May 2003 11:30:38 +0000 (11:30 +0000)]
add network timeout (ITS#2413 reworked)
Luke Howard [Sat, 3 May 2003 04:16:02 +0000 (04:16 +0000)]
Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Have proposed API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
Luke Howard [Sat, 3 May 2003 04:15:35 +0000 (04:15 +0000)]
Fix slapi_filter_join() behavioural bug.
Fix slapi_filter_dup() crasher.
Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Will propose API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
Kurt Zeilenga [Fri, 2 May 2003 22:14:09 +0000 (22:14 +0000)]
Junk
Kurt Zeilenga [Fri, 2 May 2003 22:12:07 +0000 (22:12 +0000)]
Remove junk
Jong Hyuk Choi [Fri, 2 May 2003 18:00:33 +0000 (18:00 +0000)]
strdup cleanup
Howard Chu [Fri, 2 May 2003 13:38:16 +0000 (13:38 +0000)]
ITS#2480 uninit'd vars
Hallvard Furuseth [Fri, 2 May 2003 13:29:28 +0000 (13:29 +0000)]
Fix assignment of <char/int>* to unsigned <char/int>* and vice versa.
Hallvard Furuseth [Fri, 2 May 2003 13:26:25 +0000 (13:26 +0000)]
ctrls[] was initialized with which non-constants.
Hallvard Furuseth [Fri, 2 May 2003 13:24:44 +0000 (13:24 +0000)]
Entry *e could be freed uninitialized after goto return_results;
Hallvard Furuseth [Fri, 2 May 2003 13:13:30 +0000 (13:13 +0000)]
Insert missing %s in printf format to print ldap_err2string().
Hallvard Furuseth [Fri, 2 May 2003 13:08:47 +0000 (13:08 +0000)]
Fix printf/Debug format arguments.
Howard Chu [Fri, 2 May 2003 12:23:31 +0000 (12:23 +0000)]
Use pthread_equal to compare thread IDs
Jong Hyuk Choi [Thu, 1 May 2003 23:39:29 +0000 (23:39 +0000)]
- LDAP_SYNCREPL defined in include/ldap.h
- add "updatedn" to the replication specification
- return referral to update to the slave server
Howard Chu [Thu, 1 May 2003 11:59:08 +0000 (11:59 +0000)]
Fix HDB search_aliases crash, cleanup search scope processing: call dn2idl
directly instead of going thru filter_candidates. Use hdb_ function prefix
in dn2id.c to avoid ambiguities...
Luke Howard [Thu, 1 May 2003 10:13:46 +0000 (10:13 +0000)]
Fix build breakage
Howard Chu [Thu, 1 May 2003 09:50:40 +0000 (09:50 +0000)]
Fix prev commit
Howard Chu [Thu, 1 May 2003 04:11:57 +0000 (04:11 +0000)]
ITS#2424 use two SASL contexts per session to conform to RFC 2222
Jong Hyuk Choi [Thu, 1 May 2003 02:14:47 +0000 (02:14 +0000)]
syncrepl REFRESH : a master entry modify case fix
Jong Hyuk Choi [Wed, 30 Apr 2003 22:41:37 +0000 (22:41 +0000)]
cleanup
Jong Hyuk Choi [Wed, 30 Apr 2003 16:39:40 +0000 (16:39 +0000)]
comment cleanup
Jong Hyuk Choi [Wed, 30 Apr 2003 16:38:15 +0000 (16:38 +0000)]
list of nonpresent entries in syncinfo_t
Jong Hyuk Choi [Wed, 30 Apr 2003 16:35:23 +0000 (16:35 +0000)]
syncrepl refresh mode : both scope-in & scope-out working fine
Howard Chu [Wed, 30 Apr 2003 16:00:36 +0000 (16:00 +0000)]
Fix prev commit
Howard Chu [Wed, 30 Apr 2003 15:38:32 +0000 (15:38 +0000)]
ITS#2424 reset SASL on an existing connection
Howard Chu [Wed, 30 Apr 2003 14:13:58 +0000 (14:13 +0000)]
For ITS#2424, move all SASL session management to ldap_int_sasl_bind.
Luke Howard [Wed, 30 Apr 2003 13:37:14 +0000 (13:37 +0000)]
A pre-operation plugin is not required to set SLAPI_RESULT_CODE in
order to prevent the operation from being passed to the backend. It
need only return a non-zero error code.
Howard Chu [Wed, 30 Apr 2003 08:08:08 +0000 (08:08 +0000)]
ITS#2475 delete bogus SASL2 call
Howard Chu [Wed, 30 Apr 2003 07:52:05 +0000 (07:52 +0000)]
Added errmsg arg to lutil_passwd_{check,hash} functions
Howard Chu [Wed, 30 Apr 2003 07:47:24 +0000 (07:47 +0000)]
Log errors from dn2id failures
Howard Chu [Wed, 30 Apr 2003 07:46:58 +0000 (07:46 +0000)]
Use DB_RMW when deleting dn2id elements
Howard Chu [Wed, 30 Apr 2003 07:46:01 +0000 (07:46 +0000)]
Use computed filters to pass in search scope.
Jong Hyuk Choi [Wed, 30 Apr 2003 04:01:25 +0000 (04:01 +0000)]
- mods memory allocation fix
- persistent syncreplCookie (in syncConsumerSubentry) access becomes reliable
Howard Chu [Wed, 30 Apr 2003 03:04:18 +0000 (03:04 +0000)]
ITS#2401 support tests for dynamically loaded backends
Jong Hyuk Choi [Wed, 30 Apr 2003 02:04:23 +0000 (02:04 +0000)]
- manageDSAit is implicitly assumed for LCUP / SYNC
- LCUP / SYNC search both entries and subentries at the same time
Jong Hyuk Choi [Wed, 30 Apr 2003 02:01:03 +0000 (02:01 +0000)]
LCUP / SYNC overrides manageDSAit upon calling select_backend()
Jong Hyuk Choi [Tue, 29 Apr 2003 23:32:58 +0000 (23:32 +0000)]
cleanup
Howard Chu [Tue, 29 Apr 2003 22:02:24 +0000 (22:02 +0000)]
Revert prev commit. It's a symptom that BDB was built incorrectly.
Howard Chu [Tue, 29 Apr 2003 21:51:23 +0000 (21:51 +0000)]
Better handling of computed filters
Kurt Zeilenga [Tue, 29 Apr 2003 21:14:12 +0000 (21:14 +0000)]
cleanup
Howard Chu [Tue, 29 Apr 2003 21:09:02 +0000 (21:09 +0000)]
Free ber mem arrays in reverse order. (better for sl_free)
Hallvard Furuseth [Tue, 29 Apr 2003 20:47:21 +0000 (20:47 +0000)]
Implement slapcat -s <dn>: Only dump a subtree of the database.
Howard Chu [Tue, 29 Apr 2003 20:40:26 +0000 (20:40 +0000)]
Fix computed filter inversion
Howard Chu [Tue, 29 Apr 2003 20:21:48 +0000 (20:21 +0000)]
Check HAVE_CYRUS_SASL for sasl_done().
Hallvard Furuseth [Tue, 29 Apr 2003 20:12:00 +0000 (20:12 +0000)]
Must have ';' between default: and '}'
Howard Chu [Tue, 29 Apr 2003 20:01:51 +0000 (20:01 +0000)]
ITS#2474 default return value
Kurt Zeilenga [Tue, 29 Apr 2003 18:28:14 +0000 (18:28 +0000)]
remove dnNormalize2
replace calls to dnNormalize2 with calls to dnNormalize
Kurt Zeilenga [Tue, 29 Apr 2003 18:13:10 +0000 (18:13 +0000)]
remove dnPretty
rename dnPretty2 to dnPretty
Jong Hyuk Choi [Tue, 29 Apr 2003 17:55:26 +0000 (17:55 +0000)]
tab cleanup
Hallvard Furuseth [Tue, 29 Apr 2003 16:36:19 +0000 (16:36 +0000)]
Reduce warnings: Add missing 0 or NULL initializers for struct members.
Hallvard Furuseth [Tue, 29 Apr 2003 16:34:37 +0000 (16:34 +0000)]
Make string parameter to ldap_charray_add() and ldap_charray_inlist() const.
Hallvard Furuseth [Tue, 29 Apr 2003 15:14:35 +0000 (15:14 +0000)]
Minor nroff tweaks.
Hallvard Furuseth [Tue, 29 Apr 2003 15:05:19 +0000 (15:05 +0000)]
#include <ac/string.h>.
Print unsigned long with %lu, not %d.
Hallvard Furuseth [Tue, 29 Apr 2003 15:02:01 +0000 (15:02 +0000)]
#include <ac/string.h>, to get memset() and strlen().
Hallvard Furuseth [Tue, 29 Apr 2003 14:55:36 +0000 (14:55 +0000)]
Print long with %ld, not %d.
Hallvard Furuseth [Tue, 29 Apr 2003 14:54:22 +0000 (14:54 +0000)]
Don't do arithmetic on void pointers.
Hallvard Furuseth [Tue, 29 Apr 2003 14:53:05 +0000 (14:53 +0000)]
Declare lap_free_ctrls() and sl_mem_init().
Hallvard Furuseth [Tue, 29 Apr 2003 14:46:54 +0000 (14:46 +0000)]
#include "ldap_pvt.h", to get ldap_charray_free() and ldap_charray_add().
Hallvard Furuseth [Tue, 29 Apr 2003 14:45:33 +0000 (14:45 +0000)]
#include <lber.h>, to get ber_memalloc_x() and ber_memrealloc_x().
Hallvard Furuseth [Tue, 29 Apr 2003 14:43:54 +0000 (14:43 +0000)]
Cast away const.
Hallvard Furuseth [Tue, 29 Apr 2003 14:42:58 +0000 (14:42 +0000)]
#include "ldap_pvt.h", to get ldap_pvt_tls_destroy().
Cast argument to isspace() to unsigned char.
Howard Chu [Tue, 29 Apr 2003 05:58:28 +0000 (05:58 +0000)]
Fix computed TRUE/FALSE filters
Howard Chu [Tue, 29 Apr 2003 02:55:43 +0000 (02:55 +0000)]
ITS#2453 - Handle computed filters, ignore Undefined filters.
Howard Chu [Tue, 29 Apr 2003 00:42:54 +0000 (00:42 +0000)]
Handle SLAPD_FILTER_COMPUTED cases
Kurt Zeilenga [Mon, 28 Apr 2003 04:41:47 +0000 (04:41 +0000)]
generic first component matching routines
Need to add specific routines for schema attribute types
Kurt Zeilenga [Sat, 26 Apr 2003 23:52:28 +0000 (23:52 +0000)]
axe suffixAlias
Luke Howard [Sat, 26 Apr 2003 03:28:48 +0000 (03:28 +0000)]
Remove unused variables in slapi_filter_test()
Luke Howard [Sat, 26 Apr 2003 03:28:12 +0000 (03:28 +0000)]
Don't crash in slapi_send_ldap_search_entry if no attributes specified
Howard Chu [Fri, 25 Apr 2003 13:14:33 +0000 (13:14 +0000)]
Undo BDB const mucking
Howard Chu [Fri, 25 Apr 2003 12:44:19 +0000 (12:44 +0000)]
ITS#2464 don't strdup NULL DN
Howard Chu [Fri, 25 Apr 2003 12:32:15 +0000 (12:32 +0000)]
EBCDIC fix - ber_pvt_strcopy is now lutil_strcopy
Howard Chu [Fri, 25 Apr 2003 10:27:55 +0000 (10:27 +0000)]
ITS#2467 NULL pointer check
Kurt Zeilenga [Fri, 25 Apr 2003 02:28:06 +0000 (02:28 +0000)]
fix up nvalues code so that pretty routines work properly
re-add objectClass pretty routines
Kurt Zeilenga [Fri, 25 Apr 2003 01:01:53 +0000 (01:01 +0000)]
Need to pretty assertion values
Kurt Zeilenga [Fri, 25 Apr 2003 00:14:54 +0000 (00:14 +0000)]
cleanup
Kurt Zeilenga [Thu, 24 Apr 2003 23:46:12 +0000 (23:46 +0000)]
Backout last commit... needs more work
Kurt Zeilenga [Thu, 24 Apr 2003 23:40:55 +0000 (23:40 +0000)]
rework objectClass mucking to use syntax "pretty" routine
(be liberal in what you accept, strict in what you generate)
Kurt Zeilenga [Thu, 24 Apr 2003 23:15:59 +0000 (23:15 +0000)]
remove lint
Kurt Zeilenga [Thu, 24 Apr 2003 16:22:46 +0000 (16:22 +0000)]
Add some comments about DB_CONFIG
Kurt Zeilenga [Thu, 24 Apr 2003 12:43:30 +0000 (12:43 +0000)]
Fix typo
Luke Howard [Thu, 24 Apr 2003 11:14:57 +0000 (11:14 +0000)]
Fix potential attr_merge_normalize() crasher
Luke Howard [Thu, 24 Apr 2003 11:10:31 +0000 (11:10 +0000)]
More careful checking of AVA flags
Luke Howard [Thu, 24 Apr 2003 11:09:22 +0000 (11:09 +0000)]
Fix Active Directory canonical name breakage
Luke Howard [Thu, 24 Apr 2003 10:51:42 +0000 (10:51 +0000)]
Fix another crasher in attr_merge_normalize_one()
Luke Howard [Thu, 24 Apr 2003 10:40:45 +0000 (10:40 +0000)]
Fix crasher in attr_merge_normalize_one()
Luke Howard [Thu, 24 Apr 2003 10:18:05 +0000 (10:18 +0000)]
When a validate function fails from within a tool, report the offending
attribute
Howard Chu [Thu, 24 Apr 2003 05:20:53 +0000 (05:20 +0000)]
Fix prev commit
Kurt Zeilenga [Thu, 24 Apr 2003 05:16:06 +0000 (05:16 +0000)]
New integer syntax / matching routines
A pretty function likely should be added "to be liberal in what we accept"
Howard Chu [Thu, 24 Apr 2003 04:20:17 +0000 (04:20 +0000)]
Clean up prev commit
Howard Chu [Thu, 24 Apr 2003 03:59:45 +0000 (03:59 +0000)]
Fix multi-byte tag parsing
Howard Chu [Thu, 24 Apr 2003 02:10:18 +0000 (02:10 +0000)]
ITS#2465 fix? ber_get_next must read at least sizeof(tag)+sizeof(len)
which should be at most 8 bytes. However if we read more than the minimum
message length, we have a problem because we steal bytes from any following
message, and there is no buffer mechanism to push back excess data.
The shortest legitimate message is Unbind at 7 bytes, but there shouldn't
be anything following it. Abandon at 8 bytes is next, so always requesting
at least 8 bytes should be safe. Always requesting 9 was a problem.
Please double-check these assumptions...
Howard Chu [Thu, 24 Apr 2003 01:37:01 +0000 (01:37 +0000)]
ITS#2458 fix array decoding
Kurt Zeilenga [Wed, 23 Apr 2003 16:50:56 +0000 (16:50 +0000)]
Rebuild configure scripts with --enable-hdb support
Add HDB to test suite
Jong Hyuk Choi [Wed, 23 Apr 2003 16:29:31 +0000 (16:29 +0000)]
ber, bv memory cleanup
Howard Chu [Wed, 23 Apr 2003 11:52:22 +0000 (11:52 +0000)]
Fix byte-ordering in bdb_dup_compare
Luke Howard [Wed, 23 Apr 2003 11:29:11 +0000 (11:29 +0000)]
slapi_dn_normalize() should pretty DN; slapi_dn_normalize_case() should normalize it
(appears to be correct based on iPlanet documentation)
Howard Chu [Wed, 23 Apr 2003 10:26:06 +0000 (10:26 +0000)]
Change RDN compare funcs, we don't need lexical ordering
Luke Howard [Wed, 23 Apr 2003 09:50:41 +0000 (09:50 +0000)]
Use attr_merge_normalize() instead of attr_mergeit()
(Seems to me that attr_mergeit() can be deprecated in favour of the
former -- Howard?)
Howard Chu [Wed, 23 Apr 2003 09:13:24 +0000 (09:13 +0000)]
Added back-hdb