Skip to content
Snippets Groups Projects
  1. Aug 09, 1999
  2. Aug 04, 1999
  3. Jul 16, 1999
    • Kurt Zeilenga's avatar
      Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS. · 73276e84
      Kurt Zeilenga authored
      Includes support for update referral for each replicated backend.
      	Reworked replication test to use update referral.
      Includes major rewrite of response encoding codes (result.c).
      Includes reworked alias support and eliminates old suffix alias codes
      (can be emulated using named alias).
      Includes (untested) support for the Manage DSA IT control.
      Works in LDAPv2 world.  Still testing in LDAPv3 world.
      Added default referral (test009) test.
      73276e84
  4. Jul 01, 1999
  5. Jun 29, 1999
  6. Jun 22, 1999
  7. Jun 03, 1999
  8. May 29, 1999
    • Kurt Zeilenga's avatar
      Add warnings if ldap_set_option() fails. · 16366cff
      Kurt Zeilenga authored
      Check for ldap_set_option() error using LDAP_OPT_ERROR, not -1.
      (probably should check != LDAP_OPT_SUCCESS instead).
      Added additional usage errors.
      Used return(EXIT_FAILURE) instead of exit(1).
      Used DIRSEP instead of '/' && '\\'
      Moved verbose output to stderr.
      16366cff
    • Kurt Zeilenga's avatar
      Add LBER_ and LDAP_ memory allocators/deallocators for internal · 1bcec8bf
      Kurt Zeilenga authored
      library use:
        LBER_ macros expand to system routines.
        LDAP_ macros expand to new ber_ allocators.
      
      Add ber_ and ldap_ memory allocators/deallocator:
        ber_ routines are wrappers of LBER_ macros.
        ldap_ routines are wrappers of ber_ routines.
      
      Removed safe_realloc() macro from various files.  This issue
      (if an issue) should be resolved across whole package.
      
      ldapmodify.c now uses ber_ allocators to resolve ber_bvfree()
      vs. WIN32 multiple heaps issue.
      
      These changes should facilate implementation of
        ber_set_option( NULL, LBER_OPT_MEMORY_FN, ...)
      and
        ldap_set_option( NULL, LDAP_OPT_MEMORY_FN, ...).
      1bcec8bf
  9. May 19, 1999
    • Kurt Zeilenga's avatar
      Vienna Bulk Commit · dc07e765
      Kurt Zeilenga authored
      This commit includes many changes.  All changes compile under NT but
      have not been tested under UNIX.
      
      A Summary of changes (likely incomplete):
      
      NT changes:
      	Removed lint.
      	Clean up configuration support for "Debug", "Release", "SDebug",
      		and "SRelease" configurations.
      	Share output directories for clients, libraries,
      		and slapd.  (maybe they should be combined further
      		and moved to build/{,S}{Debug,Release}).
      	Enable threading when _MT is defined.
      	Enable debuging when _DEBUG is defined.
      	Disable setting of NDEBUG under Release/SRelease.  Asserts
      		are disabled in <ac/assert.h> when LDAP_DEBUG is not
      		defined.
      	Added 'build/main.dsp' Master project.
      	Removed non-slapd projects from slapd.dsp (see main.dsp).
      	Removed replaced many uses of _WIN32 macro with feature based
      		macros.
      
      ldap_cdefs.h changes
      	#define LDAP_CONST const
      		(see below)
      	#define LDAP_F(type) LDAP_F_PRE type LDAP_F_POST
      		To allow specifiers to be added before and after
      		the type declaration.  (For DLL handling)
      
      LBER/LDAP changes
      	Namespace changes:
      		s/lber_/ber_/ for here and there.
      		s/NAME_ERROR/LDAP_NAME_ERROR/g
      	Deleted NULLMSG and other NULL* macros for namespace reasons.
      	"const" libraries.  Installed headers (ie: lber.h, ldap.h)
      		use LDAP_CONST macro.  Normally set to 'const' when
      		__STDC__.  Can be set externally to enable/disable
      		'constification' of external interface.  Internal
      		interface always uses 'const'.  Did not fix warnings
      		in -lldif (in lieu of new LDIF parser).
      
      	Added _ext API implementations (excepting search and bind).
      		Need to implement ldap_int_get_controls() for reponses
      		with controls.
      
      	Added numberous assert() checks.
      
      LDAP_R
      	_MT defines HAVE_NT_THREADS
      	Added numberous assert() checks.
      	Changed ldap_pthread_t back to unsigned long.  Used cast
      	to HANDLE in _join().
      
      LDBM
      	Replaced _WIN32 with HAVE_SYSLOG
      
      ud
      	Added version string if MKVERSION is not defined.  (MKVERSION
      		needs to be set under UNIX).
      
      slapd
      	Made connection sockbuf field a pointer to a sockbuf.  This
      		removed slap.h dependency on lber-int.h.  lber-int.h now only
      		included by those files needing to mess with the sockbuf.
      	Used ber_* functions/macros to access sockbuf internals whenever
      		possible.
      	Added version string if MKVERSION is not defined.  (MKVERSION
      		needs to be set under UNIX).
      	Removed FD_SET unsigned lint
      
      slapd/tools
      	Used EXEEXT to added ".exe" to routines.  Need to define EXEEXT
      		under UNIX.
      
      ldappasswd
      	Added ldappasswd.dsp.  Ported to NT.  Used getpid() to seed rand().
      
      nt_debug
      	Minor cleanup.  Added "portable.h" include and used <ac/*.h> where
      	appropriate.  Added const to char* format argument.
      dc07e765
  10. Apr 30, 1999
  11. Apr 03, 1999
  12. Mar 04, 1999
  13. Jan 31, 1999
  14. Jan 20, 1999
  15. Dec 29, 1998
  16. Dec 27, 1998
  17. Dec 22, 1998
  18. Dec 15, 1998
  19. Dec 14, 1998
  20. Dec 12, 1998
  21. Nov 16, 1998
    • Kurt Zeilenga's avatar
      Remove extern declarations of library functions from source.c. · b5494457
      Kurt Zeilenga authored
        This could cause problems on odd systems.  The generic
        headers should be extended as needed to include necessary
        system headers or, if necessary, make explicit declarations.
      Extended ac/string.h header to look for string.h/strings.h if
        STDC_HEADERS is not defined.  Also provide basic declarations for
        str*() functions.  This could cause problems on odd systems.
      Extended ac/unistd.h header to define basic declaration for misc
        functions that might be missing from headers.   This includes
        externs for getenv(), getopt(), mktemp(), tempname().
      Protect fax500.h from multiple inclusion.  Moved includes of
        system/generic headers back to source files.
      Made mail500 helper functions static.
      Fixed includes of ctype.h, signal.h, etc. to use generics.
      lutil/tempname.c: was including stdlib.h twice, one should stdio.h.
      Wrapped <sys/resource.h> with HAVE_SYS_RESOURCE_H.
      lber/io.c/ber_get_next(): Changed noctets back to signed.
        Used with BerRead which expects signed int as second arg and
        returns signed int.
      b5494457
  22. Nov 15, 1998
    • Hallvard Furuseth's avatar
      Protoized, moved extern definitions to .h files, fixed related bugs. · 7e6ad510
      Hallvard Furuseth authored
      Most function and variable definitions are now preceded by its extern
      definition, for error checking.  Retyped a number of functions, usually
      to return void.  Fixed a number of printf format errors.
      
      API changes (in ldap/include):
        Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
        for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.
      
      A number of `extern' declarations are left (some added by protoize), to
      be cleaned away later.  Mostly strdup(), strcasecmp(), mktemp(), optind,
      optarg, errno.
      7e6ad510
    • Kurt Zeilenga's avatar
      Use "generic" ac headers. · a8f7f0b3
      Kurt Zeilenga authored
      a8f7f0b3
  23. Nov 10, 1998
  24. Nov 06, 1998
  25. Nov 04, 1998
  26. Oct 26, 1998
  27. Oct 25, 1998
  28. Oct 20, 1998
  29. Sep 28, 1998
  30. Aug 20, 1998
  31. Aug 09, 1998
Loading