]> git.sur5r.net Git - openldap/log
openldap
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

21 years agober, bv memory cleanup
Jong Hyuk Choi [Wed, 23 Apr 2003 16:29:31 +0000 (16:29 +0000)]
ber, bv memory cleanup

21 years agoFix byte-ordering in bdb_dup_compare
Howard Chu [Wed, 23 Apr 2003 11:52:22 +0000 (11:52 +0000)]
Fix byte-ordering in bdb_dup_compare

21 years agoslapi_dn_normalize() should pretty DN; slapi_dn_normalize_case() should normalize it
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)

21 years agoChange RDN compare funcs, we don't need lexical ordering
Howard Chu [Wed, 23 Apr 2003 10:26:06 +0000 (10:26 +0000)]
Change RDN compare funcs, we don't need lexical ordering

21 years agoUse attr_merge_normalize() instead of attr_mergeit()
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?)

21 years agoAdded back-hdb
Howard Chu [Wed, 23 Apr 2003 09:13:24 +0000 (09:13 +0000)]
Added back-hdb

21 years agoSubtree rename support for the cache
Howard Chu [Wed, 23 Apr 2003 08:46:23 +0000 (08:46 +0000)]
Subtree rename support for the cache

21 years agoAllow search rewriter plugins to also set the search base, scope, and alias
Luke Howard [Wed, 23 Apr 2003 08:16:05 +0000 (08:16 +0000)]
Allow search rewriter plugins to also set the search base, scope, and alias
dereference policy

21 years agoFix multiple inclusion
Howard Chu [Wed, 23 Apr 2003 07:25:44 +0000 (07:25 +0000)]
Fix multiple inclusion

21 years agoFix incorrect usage of slapi_ch_free()
Luke Howard [Wed, 23 Apr 2003 07:01:56 +0000 (07:01 +0000)]
Fix incorrect usage of slapi_ch_free()

21 years agoAdded back-hdb. Contributed by Howard Chu @ Symas Corp.
Howard Chu [Wed, 23 Apr 2003 06:54:36 +0000 (06:54 +0000)]
Added back-hdb. Contributed by Howard Chu @ Symas Corp.

21 years agoFunction renaming, make internal funcs static, etc.
Howard Chu [Wed, 23 Apr 2003 06:34:55 +0000 (06:34 +0000)]
Function renaming, make internal funcs static, etc.

21 years agoFix SLAPI debug message typo
Luke Howard [Wed, 23 Apr 2003 05:00:00 +0000 (05:00 +0000)]
Fix SLAPI debug message typo

21 years agoFix file: URL examples
Howard Chu [Wed, 23 Apr 2003 03:35:37 +0000 (03:35 +0000)]
Fix file: URL examples

21 years agoFix missing slash in file: URL
Howard Chu [Wed, 23 Apr 2003 03:32:05 +0000 (03:32 +0000)]
Fix missing slash in file: URL

21 years agoAdd CONTRIBUTING section to HEAD's README
Kurt Zeilenga [Wed, 23 Apr 2003 02:25:39 +0000 (02:25 +0000)]
Add CONTRIBUTING section to HEAD's README

21 years agomove ldap_get_message_ber() from ldap.h to ldap_pvt.h
Jong Hyuk Choi [Tue, 22 Apr 2003 23:02:11 +0000 (23:02 +0000)]
move ldap_get_message_ber() from ldap.h to ldap_pvt.h

21 years agoget_ldapmsg_ber() -> ldap_get_message_ber()
Jong Hyuk Choi [Tue, 22 Apr 2003 22:09:25 +0000 (22:09 +0000)]
get_ldapmsg_ber() -> ldap_get_message_ber()

21 years agoMisc cleanup - more to come.
Jong Hyuk Choi [Tue, 22 Apr 2003 21:42:14 +0000 (21:42 +0000)]
Misc cleanup - more to come.

21 years agoget_ldapmsg_ber() added.
Jong Hyuk Choi [Tue, 22 Apr 2003 21:38:59 +0000 (21:38 +0000)]
get_ldapmsg_ber() added.

21 years agoFix typo in last commit
Kurt Zeilenga [Tue, 22 Apr 2003 20:35:41 +0000 (20:35 +0000)]
Fix typo in last commit

21 years agoMissed a bei_rdn in prev commit
Howard Chu [Tue, 22 Apr 2003 20:35:29 +0000 (20:35 +0000)]
Missed a bei_rdn in prev commit

21 years agoFix up subtreeSpecification to allow new GSER-based string format
Kurt Zeilenga [Tue, 22 Apr 2003 20:33:08 +0000 (20:33 +0000)]
Fix up subtreeSpecification to allow new GSER-based string format
(real validatator needed).

21 years agosubtreeSpecification syntax change : -binary +validator
Jong Hyuk Choi [Tue, 22 Apr 2003 20:08:37 +0000 (20:08 +0000)]
subtreeSpecification syntax change : -binary +validator

21 years agoOmit bei_rdn field from EntryInfo
Howard Chu [Tue, 22 Apr 2003 18:59:37 +0000 (18:59 +0000)]
Omit bei_rdn field from EntryInfo

21 years agofilter_candidate tweaks, search_stack tweaks
Howard Chu [Tue, 22 Apr 2003 18:22:51 +0000 (18:22 +0000)]
filter_candidate tweaks, search_stack tweaks

21 years agomore cleanup for the backend API change
Jong Hyuk Choi [Tue, 22 Apr 2003 17:59:54 +0000 (17:59 +0000)]
more cleanup for the backend API change

21 years agoTrim dead BDB_HIER stuff
Howard Chu [Tue, 22 Apr 2003 17:06:35 +0000 (17:06 +0000)]
Trim dead BDB_HIER stuff

21 years agoFix args to bdb_cache_modrdn
Howard Chu [Tue, 22 Apr 2003 17:05:22 +0000 (17:05 +0000)]
Fix args to bdb_cache_modrdn

21 years agosubentry cleanup
Jong Hyuk Choi [Tue, 22 Apr 2003 17:00:04 +0000 (17:00 +0000)]
subentry cleanup

21 years agoFix multi-line string literals. new GCC complains...
Howard Chu [Tue, 22 Apr 2003 16:06:29 +0000 (16:06 +0000)]
Fix multi-line string literals. new GCC complains...

21 years agoFix id2entry, let bdb_cache_release_all clean up EntryInfos
Howard Chu [Tue, 22 Apr 2003 13:14:06 +0000 (13:14 +0000)]
Fix id2entry, let bdb_cache_release_all clean up EntryInfos
Fix idl_cache_put

21 years agoMem context tweaks for bdb_dn2idl
Howard Chu [Tue, 22 Apr 2003 06:29:13 +0000 (06:29 +0000)]
Mem context tweaks for bdb_dn2idl

21 years agoFix typo in prev commit
Howard Chu [Tue, 22 Apr 2003 05:15:50 +0000 (05:15 +0000)]
Fix typo in prev commit

21 years agoMoved IDL cache code to standalone functions.
Howard Chu [Tue, 22 Apr 2003 05:14:27 +0000 (05:14 +0000)]
Moved IDL cache code to standalone functions.
Use IDL cache in bdb_dn2id_children.

21 years agoPass parent EntryInfo instead of parent DN to dn2id_add/delete.
Howard Chu [Tue, 22 Apr 2003 04:06:09 +0000 (04:06 +0000)]
Pass parent EntryInfo instead of parent DN to dn2id_add/delete.
Add bdb_cache_children, remove cache flag manipulation from dn2id_children

21 years agoDon't do (unsafe) DNS reverse lookups.
Kurt Zeilenga [Tue, 22 Apr 2003 01:17:23 +0000 (01:17 +0000)]
Don't do (unsafe) DNS reverse lookups.
HEADS UP: May break some Kerberos deployments.

21 years agocleanup
Kurt Zeilenga [Mon, 21 Apr 2003 19:01:08 +0000 (19:01 +0000)]
cleanup

21 years agoAssign experimental OID to syncReplCookie
Kurt Zeilenga [Mon, 21 Apr 2003 18:57:49 +0000 (18:57 +0000)]
Assign experimental OID to syncReplCookie

21 years agoMore ldap_connect_to_host() tweaks.
Kurt Zeilenga [Mon, 21 Apr 2003 18:45:46 +0000 (18:45 +0000)]
More ldap_connect_to_host() tweaks.

21 years agomemory context tweaks
Howard Chu [Mon, 21 Apr 2003 18:28:38 +0000 (18:28 +0000)]
memory context tweaks

21 years agoFix builds when getaddrinfo is not detected but getnameinfo is.
Kurt Zeilenga [Mon, 21 Apr 2003 18:28:08 +0000 (18:28 +0000)]
Fix builds when getaddrinfo is not detected but getnameinfo is.
This does not happen normally.

21 years agoFix previous commit
Howard Chu [Mon, 21 Apr 2003 18:09:44 +0000 (18:09 +0000)]
Fix previous commit

21 years agoITS#2459 (partial) fix. Eliminate address parameter all together.
Kurt Zeilenga [Mon, 21 Apr 2003 17:06:37 +0000 (17:06 +0000)]
ITS#2459 (partial) fix.  Eliminate address parameter all together.
Need to look closely at the memcpy.  (It likely can be eliminated
as well.)

21 years agoOpenLDAP synchronization based replication engine
Jong Hyuk Choi [Mon, 21 Apr 2003 14:08:13 +0000 (14:08 +0000)]
OpenLDAP synchronization based replication engine

21 years agomemory API change
Jong Hyuk Choi [Mon, 21 Apr 2003 14:01:39 +0000 (14:01 +0000)]
memory API change

21 years agoPerform is_at_subtype check inline
Howard Chu [Mon, 21 Apr 2003 03:55:20 +0000 (03:55 +0000)]
Perform is_at_subtype check inline

21 years agoclarify that updatedn permits replica updating subject to access controls.
Kurt Zeilenga [Mon, 21 Apr 2003 02:29:46 +0000 (02:29 +0000)]
clarify that updatedn permits replica updating subject to access controls.

21 years agoFix glue_sub_init realloc disconnect
Howard Chu [Sun, 20 Apr 2003 09:18:02 +0000 (09:18 +0000)]
Fix glue_sub_init realloc disconnect

21 years agouse a macro for the entry buffer size
Pierangelo Masarati [Fri, 18 Apr 2003 17:17:18 +0000 (17:17 +0000)]
use a macro for the entry buffer size

21 years agouse SLAP_PTRCMP
Pierangelo Masarati [Fri, 18 Apr 2003 17:16:48 +0000 (17:16 +0000)]
use SLAP_PTRCMP

21 years agoreset passwords before freeindg them
Pierangelo Masarati [Fri, 18 Apr 2003 10:02:43 +0000 (10:02 +0000)]
reset passwords before freeindg them

21 years agoensure all metasingleconns are init'ed
Pierangelo Masarati [Fri, 18 Apr 2003 10:02:00 +0000 (10:02 +0000)]
ensure all metasingleconns are init'ed

21 years agoAdd shm_key config keyword to use shared memory for BDB environment
Howard Chu [Fri, 18 Apr 2003 09:43:22 +0000 (09:43 +0000)]
Add shm_key config keyword to use shared memory for BDB environment
Unmeasurable performance difference on my tests, but who knows...