]> git.sur5r.net Git - openldap/log
openldap
21 years agoFix typo in last commit
Kurt Zeilenga [Tue, 6 May 2003 15:00:58 +0000 (15:00 +0000)]
Fix typo in last commit

21 years agoITS#2486: plug leak
Kurt Zeilenga [Mon, 5 May 2003 17:35:59 +0000 (17:35 +0000)]
ITS#2486: plug leak

21 years agoBlind fix for NGROUPS Tru64 5.1 bug (ITS#2485)
Kurt Zeilenga [Mon, 5 May 2003 17:29:26 +0000 (17:29 +0000)]
Blind fix for NGROUPS Tru64 5.1 bug (ITS#2485)

21 years agotemporarily disable LDAP_CACHING (till API update)
Jong Hyuk Choi [Mon, 5 May 2003 16:03:59 +0000 (16:03 +0000)]
temporarily disable LDAP_CACHING (till API update)

21 years agoDon't crash slapi_filter_get_subfilt() if no "any" filter
Luke Howard [Mon, 5 May 2003 10:23:33 +0000 (10:23 +0000)]
Don't crash slapi_filter_get_subfilt() if no "any" filter

21 years agoContent rule logic fix
Luke Howard [Mon, 5 May 2003 09:17:10 +0000 (09:17 +0000)]
Content rule logic fix

21 years agoDon't crash if no attributes in slapi_attr_value_find()
Luke Howard [Sun, 4 May 2003 16:59:10 +0000 (16:59 +0000)]
Don't crash if no attributes in slapi_attr_value_find()

21 years agoadd network timeout (ITS#2413 reworked)
Pierangelo Masarati [Sat, 3 May 2003 11:30:38 +0000 (11:30 +0000)]
add network timeout (ITS#2413 reworked)

21 years agoAdd slapi_x_filter_append(), as a replacement for slapi_filter_join() that
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).

21 years agoFix slapi_filter_join() behavioural bug.
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).

21 years agoJunk
Kurt Zeilenga [Fri, 2 May 2003 22:14:09 +0000 (22:14 +0000)]
Junk

21 years agoRemove junk
Kurt Zeilenga [Fri, 2 May 2003 22:12:07 +0000 (22:12 +0000)]
Remove junk

21 years agostrdup cleanup
Jong Hyuk Choi [Fri, 2 May 2003 18:00:33 +0000 (18:00 +0000)]
strdup cleanup

21 years agoITS#2480 uninit'd vars
Howard Chu [Fri, 2 May 2003 13:38:16 +0000 (13:38 +0000)]
ITS#2480 uninit'd vars

21 years agoFix assignment of <char/int>* to unsigned <char/int>* and vice versa.
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.

21 years agoctrls[] was initialized with which non-constants.
Hallvard Furuseth [Fri, 2 May 2003 13:26:25 +0000 (13:26 +0000)]
ctrls[] was initialized with which non-constants.

21 years agoEntry *e could be freed uninitialized after goto return_results;
Hallvard Furuseth [Fri, 2 May 2003 13:24:44 +0000 (13:24 +0000)]
Entry *e could be freed uninitialized after goto return_results;

21 years agoInsert missing %s in printf format to print ldap_err2string().
Hallvard Furuseth [Fri, 2 May 2003 13:13:30 +0000 (13:13 +0000)]
Insert missing %s in printf format to print ldap_err2string().

21 years agoFix printf/Debug format arguments.
Hallvard Furuseth [Fri, 2 May 2003 13:08:47 +0000 (13:08 +0000)]
Fix printf/Debug format arguments.

21 years agoUse pthread_equal to compare thread IDs
Howard Chu [Fri, 2 May 2003 12:23:31 +0000 (12:23 +0000)]
Use pthread_equal to compare thread IDs

21 years ago- LDAP_SYNCREPL defined in include/ldap.h
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

21 years agoFix HDB search_aliases crash, cleanup search scope processing: call dn2idl
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...

21 years agoFix build breakage
Luke Howard [Thu, 1 May 2003 10:13:46 +0000 (10:13 +0000)]
Fix build breakage

21 years agoFix prev commit
Howard Chu [Thu, 1 May 2003 09:50:40 +0000 (09:50 +0000)]
Fix prev commit

21 years agoITS#2424 use two SASL contexts per session to conform to RFC 2222
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

21 years agosyncrepl REFRESH : a master entry modify case fix
Jong Hyuk Choi [Thu, 1 May 2003 02:14:47 +0000 (02:14 +0000)]
syncrepl REFRESH : a master entry modify case fix

21 years agocleanup
Jong Hyuk Choi [Wed, 30 Apr 2003 22:41:37 +0000 (22:41 +0000)]
cleanup

21 years agocomment cleanup
Jong Hyuk Choi [Wed, 30 Apr 2003 16:39:40 +0000 (16:39 +0000)]
comment cleanup

21 years agolist of nonpresent entries in syncinfo_t
Jong Hyuk Choi [Wed, 30 Apr 2003 16:38:15 +0000 (16:38 +0000)]
list of nonpresent entries in syncinfo_t

21 years agosyncrepl refresh mode : both scope-in & scope-out working fine
Jong Hyuk Choi [Wed, 30 Apr 2003 16:35:23 +0000 (16:35 +0000)]
syncrepl refresh mode : both scope-in & scope-out working fine

21 years agoFix prev commit
Howard Chu [Wed, 30 Apr 2003 16:00:36 +0000 (16:00 +0000)]
Fix prev commit

21 years agoITS#2424 reset SASL on an existing connection
Howard Chu [Wed, 30 Apr 2003 15:38:32 +0000 (15:38 +0000)]
ITS#2424 reset SASL on an existing connection

21 years agoFor ITS#2424, move all SASL session management to ldap_int_sasl_bind.
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.

21 years agoA pre-operation plugin is not required to set SLAPI_RESULT_CODE in
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.

21 years agoITS#2475 delete bogus SASL2 call
Howard Chu [Wed, 30 Apr 2003 08:08:08 +0000 (08:08 +0000)]
ITS#2475 delete bogus SASL2 call

21 years agoAdded errmsg arg to lutil_passwd_{check,hash} functions
Howard Chu [Wed, 30 Apr 2003 07:52:05 +0000 (07:52 +0000)]
Added errmsg arg to lutil_passwd_{check,hash} functions

21 years agoLog errors from dn2id failures
Howard Chu [Wed, 30 Apr 2003 07:47:24 +0000 (07:47 +0000)]
Log errors from dn2id failures

21 years agoUse DB_RMW when deleting dn2id elements
Howard Chu [Wed, 30 Apr 2003 07:46:58 +0000 (07:46 +0000)]
Use DB_RMW when deleting dn2id elements

21 years agoUse computed filters to pass in search scope.
Howard Chu [Wed, 30 Apr 2003 07:46:01 +0000 (07:46 +0000)]
Use computed filters to pass in search scope.

21 years ago- mods memory allocation fix
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

21 years agoITS#2401 support tests for dynamically loaded backends
Howard Chu [Wed, 30 Apr 2003 03:04:18 +0000 (03:04 +0000)]
ITS#2401 support tests for dynamically loaded backends

21 years ago- manageDSAit is implicitly assumed for LCUP / SYNC
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

21 years agoLCUP / SYNC overrides manageDSAit upon calling select_backend()
Jong Hyuk Choi [Wed, 30 Apr 2003 02:01:03 +0000 (02:01 +0000)]
LCUP / SYNC overrides manageDSAit upon calling select_backend()

21 years agocleanup
Jong Hyuk Choi [Tue, 29 Apr 2003 23:32:58 +0000 (23:32 +0000)]
cleanup

21 years agoRevert prev commit. It's a symptom that BDB was built incorrectly.
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.

21 years agoBetter handling of computed filters
Howard Chu [Tue, 29 Apr 2003 21:51:23 +0000 (21:51 +0000)]
Better handling of computed filters

21 years agocleanup
Kurt Zeilenga [Tue, 29 Apr 2003 21:14:12 +0000 (21:14 +0000)]
cleanup

21 years agoFree ber mem arrays in reverse order. (better for sl_free)
Howard Chu [Tue, 29 Apr 2003 21:09:02 +0000 (21:09 +0000)]
Free ber mem arrays in reverse order. (better for sl_free)

21 years agoImplement slapcat -s <dn>: Only dump a subtree of the database.
Hallvard Furuseth [Tue, 29 Apr 2003 20:47:21 +0000 (20:47 +0000)]
Implement slapcat -s <dn>: Only dump a subtree of the database.

21 years agoFix computed filter inversion
Howard Chu [Tue, 29 Apr 2003 20:40:26 +0000 (20:40 +0000)]
Fix computed filter inversion

21 years agoCheck HAVE_CYRUS_SASL for sasl_done().
Howard Chu [Tue, 29 Apr 2003 20:21:48 +0000 (20:21 +0000)]
Check HAVE_CYRUS_SASL for sasl_done().

21 years agoMust have ';' between default: and '}'
Hallvard Furuseth [Tue, 29 Apr 2003 20:12:00 +0000 (20:12 +0000)]
Must have ';' between default: and '}'

21 years agoITS#2474 default return value
Howard Chu [Tue, 29 Apr 2003 20:01:51 +0000 (20:01 +0000)]
ITS#2474 default return value

21 years agoremove dnNormalize2
Kurt Zeilenga [Tue, 29 Apr 2003 18:28:14 +0000 (18:28 +0000)]
remove dnNormalize2
replace calls to dnNormalize2 with calls to dnNormalize

21 years agoremove dnPretty
Kurt Zeilenga [Tue, 29 Apr 2003 18:13:10 +0000 (18:13 +0000)]
remove dnPretty
rename dnPretty2 to dnPretty

21 years agotab cleanup
Jong Hyuk Choi [Tue, 29 Apr 2003 17:55:26 +0000 (17:55 +0000)]
tab cleanup

21 years agoReduce warnings: Add missing 0 or NULL initializers for struct members.
Hallvard Furuseth [Tue, 29 Apr 2003 16:36:19 +0000 (16:36 +0000)]
Reduce warnings: Add missing 0 or NULL initializers for struct members.

21 years agoMake string parameter to ldap_charray_add() and ldap_charray_inlist() const.
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.

21 years agoMinor nroff tweaks.
Hallvard Furuseth [Tue, 29 Apr 2003 15:14:35 +0000 (15:14 +0000)]
Minor nroff tweaks.

21 years ago#include <ac/string.h>.
Hallvard Furuseth [Tue, 29 Apr 2003 15:05:19 +0000 (15:05 +0000)]
#include <ac/string.h>.
Print unsigned long with %lu, not %d.

21 years ago#include <ac/string.h>, to get memset() and strlen().
Hallvard Furuseth [Tue, 29 Apr 2003 15:02:01 +0000 (15:02 +0000)]
#include <ac/string.h>, to get memset() and strlen().

21 years agoPrint long with %ld, not %d.
Hallvard Furuseth [Tue, 29 Apr 2003 14:55:36 +0000 (14:55 +0000)]
Print long with %ld, not %d.

21 years agoDon't do arithmetic on void pointers.
Hallvard Furuseth [Tue, 29 Apr 2003 14:54:22 +0000 (14:54 +0000)]
Don't do arithmetic on void pointers.

21 years agoDeclare lap_free_ctrls() and sl_mem_init().
Hallvard Furuseth [Tue, 29 Apr 2003 14:53:05 +0000 (14:53 +0000)]
Declare lap_free_ctrls() and sl_mem_init().

21 years ago#include "ldap_pvt.h", to get ldap_charray_free() and ldap_charray_add().
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().

21 years ago#include <lber.h>, to get ber_memalloc_x() and ber_memrealloc_x().
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().

21 years agoCast away const.
Hallvard Furuseth [Tue, 29 Apr 2003 14:43:54 +0000 (14:43 +0000)]
Cast away const.

21 years ago#include "ldap_pvt.h", to get ldap_pvt_tls_destroy().
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.

21 years agoFix computed TRUE/FALSE filters
Howard Chu [Tue, 29 Apr 2003 05:58:28 +0000 (05:58 +0000)]
Fix computed TRUE/FALSE filters

21 years agoITS#2453 - Handle computed filters, ignore Undefined filters.
Howard Chu [Tue, 29 Apr 2003 02:55:43 +0000 (02:55 +0000)]
ITS#2453 - Handle computed filters, ignore Undefined filters.

21 years agoHandle SLAPD_FILTER_COMPUTED cases
Howard Chu [Tue, 29 Apr 2003 00:42:54 +0000 (00:42 +0000)]
Handle SLAPD_FILTER_COMPUTED cases

21 years agogeneric first component matching routines
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

21 years agoaxe suffixAlias
Kurt Zeilenga [Sat, 26 Apr 2003 23:52:28 +0000 (23:52 +0000)]
axe suffixAlias

21 years agoRemove unused variables in slapi_filter_test()
Luke Howard [Sat, 26 Apr 2003 03:28:48 +0000 (03:28 +0000)]
Remove unused variables in slapi_filter_test()

21 years agoDon't crash in slapi_send_ldap_search_entry if no attributes specified
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

21 years agoUndo BDB const mucking
Howard Chu [Fri, 25 Apr 2003 13:14:33 +0000 (13:14 +0000)]
Undo BDB const mucking

21 years agoITS#2464 don't strdup NULL DN
Howard Chu [Fri, 25 Apr 2003 12:44:19 +0000 (12:44 +0000)]
ITS#2464 don't strdup NULL DN

21 years agoEBCDIC fix - ber_pvt_strcopy is now lutil_strcopy
Howard Chu [Fri, 25 Apr 2003 12:32:15 +0000 (12:32 +0000)]
EBCDIC fix - ber_pvt_strcopy is now lutil_strcopy

21 years agoITS#2467 NULL pointer check
Howard Chu [Fri, 25 Apr 2003 10:27:55 +0000 (10:27 +0000)]
ITS#2467 NULL pointer check

21 years agofix up nvalues code so that pretty routines work properly
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

21 years agoNeed to pretty assertion values
Kurt Zeilenga [Fri, 25 Apr 2003 01:01:53 +0000 (01:01 +0000)]
Need to pretty assertion values

21 years agocleanup
Kurt Zeilenga [Fri, 25 Apr 2003 00:14:54 +0000 (00:14 +0000)]
cleanup

21 years agoBackout last commit... needs more work
Kurt Zeilenga [Thu, 24 Apr 2003 23:46:12 +0000 (23:46 +0000)]
Backout last commit... needs more work

21 years agorework objectClass mucking to use syntax "pretty" routine
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)

21 years agoremove lint
Kurt Zeilenga [Thu, 24 Apr 2003 23:15:59 +0000 (23:15 +0000)]
remove lint

21 years agoAdd some comments about DB_CONFIG
Kurt Zeilenga [Thu, 24 Apr 2003 16:22:46 +0000 (16:22 +0000)]
Add some comments about DB_CONFIG

21 years agoFix typo
Kurt Zeilenga [Thu, 24 Apr 2003 12:43:30 +0000 (12:43 +0000)]
Fix typo

21 years agoFix potential attr_merge_normalize() crasher
Luke Howard [Thu, 24 Apr 2003 11:14:57 +0000 (11:14 +0000)]
Fix potential attr_merge_normalize() crasher

21 years agoMore careful checking of AVA flags
Luke Howard [Thu, 24 Apr 2003 11:10:31 +0000 (11:10 +0000)]
More careful checking of AVA flags

21 years agoFix Active Directory canonical name breakage
Luke Howard [Thu, 24 Apr 2003 11:09:22 +0000 (11:09 +0000)]
Fix Active Directory canonical name breakage

21 years agoFix another crasher in attr_merge_normalize_one()
Luke Howard [Thu, 24 Apr 2003 10:51:42 +0000 (10:51 +0000)]
Fix another crasher in attr_merge_normalize_one()

21 years agoFix 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()

21 years agoWhen a validate function fails from within a tool, report the offending
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

21 years agoFix prev commit
Howard Chu [Thu, 24 Apr 2003 05:20:53 +0000 (05:20 +0000)]
Fix prev commit

21 years agoNew integer syntax / matching routines
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"

21 years agoClean up prev commit
Howard Chu [Thu, 24 Apr 2003 04:20:17 +0000 (04:20 +0000)]
Clean up prev commit

21 years agoFix multi-byte tag parsing
Howard Chu [Thu, 24 Apr 2003 03:59:45 +0000 (03:59 +0000)]
Fix multi-byte tag parsing

21 years agoITS#2465 fix? ber_get_next must read at least sizeof(tag)+sizeof(len)
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...

21 years agoITS#2458 fix array decoding
Howard Chu [Thu, 24 Apr 2003 01:37:01 +0000 (01:37 +0000)]
ITS#2458 fix array decoding

21 years agoRebuild configure scripts with --enable-hdb support
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