Skip to content
Snippets Groups Projects
  1. Jul 16, 1999
  2. Jul 13, 1999
  3. Jul 07, 1999
  4. Jul 01, 1999
    • Kurt Zeilenga's avatar
      Add macros to support testing of error categories to ldap.h · 97bc1075
      Kurt Zeilenga authored
      Modify ldap_result to assert returned error is not an one reserved
      for API use.
      Modify frontend LDAP operation routines to return an error code.
      The returned value will be used to determine if an unsolicited notification
      should be sent to the client.
      Need to review returned error codes.  Namely some LDAP_PROTOCOL_ERROR
      will like need to be changed (as they will cause unsolicited notifications).
      97bc1075
  5. Jun 29, 1999
  6. Jun 18, 1999
    • Kurt Zeilenga's avatar
      ber_int_t, ber_tag_t, ber_socket_t, ber_len_t · 669b8f40
      Kurt Zeilenga authored
      added lber_types.h.nt, lber_types.h.in
      removal of NULLxxx internal macros (in favor of NULL).
      ch_free added to slapd,slurpd/ch_malloc.c
      #define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
      ch_malloc and friends use ber_memalloc and friends
      669b8f40
  7. May 28, 1999
  8. 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
  9. May 06, 1999
  10. Apr 28, 1999
    • Kurt Zeilenga's avatar
      Winsock changes: · b06c4a55
      Kurt Zeilenga authored
      Centralize #define EWOULDBLOCK WSAEWOULDBLOCK to ac/errno.h
      Move WSAStartup to slapd_daemon(), add WSACleanup() to match.
      b06c4a55
  11. Apr 23, 1999
  12. Apr 16, 1999
  13. Apr 14, 1999
  14. Apr 08, 1999
  15. Apr 02, 1999
  16. Apr 01, 1999
  17. Mar 26, 1999
  18. Mar 23, 1999
  19. Mar 22, 1999
  20. Mar 16, 1999
  21. Mar 06, 1999
  22. Mar 04, 1999
  23. Mar 02, 1999
  24. Jan 28, 1999
    • Kurt Zeilenga's avatar
      Use -lldap_r instead of -lldap -lthread. · 72ba4cfb
      Kurt Zeilenga authored
      	Likely broke things for non-posix threadings....
      
      Update -lldap_r implementation to:
      	remove attribute support
      	hide thread detachment
      	provide concurrency accessors
      	provide initialization function
      	fix gethostby{addr,name}_r codes (not coverred by HAVE_REENTRANT_FUNCTIONS)
      Update servers/libraries to use ldap_pvt_thread_ calls.
      Cleanup server codes (no #ifdef HAVE_PTHREAD_THIS or _THATs)!
      Removed -llthread
      72ba4cfb
  25. Jan 21, 1999
  26. Jan 19, 1999
    • Kurt Zeilenga's avatar
      Update slap_conn to maintain client provided dn and bound dn. · e2a15115
      Kurt Zeilenga authored
      Update slap_op to maintain dn and ndn (derived from conn->c_dn).
      Update ldbm_back_bind to return actual bound dn (including rootdn)
      	for use in slapd_conn.  Other backends use client dn.
      Modify other codes to use ndn (normalized uppercase dn) most everywhere.
      Aliasing, Suffixing and modrdn could use more work.
      Applied suffixing to compare and modrdn.
      e2a15115
  27. Jan 11, 1999
    • Kurt Zeilenga's avatar
      Change SLAPD shutdown to do a cond wait on active threads instead · 82b94e22
      Kurt Zeilenga authored
      of a busy wait and allow the pthread_yield within the loop to be
      removed.  This was the only pthread_yield which was necessary
      when usng non-preemptive threads.  As such, the configure.in
      sched_yield/pthread_yield missing error can be removed from
      configure.in.  If explicit yield function is missing, just provide
      a no-op replacement.
      Moved declaration of various slapd globals from main.c to init.c
      so they can be shared with ldbm tools.
      82b94e22
  28. Nov 27, 1998
  29. Nov 18, 1998
  30. 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
  31. Oct 25, 1998
  32. Oct 23, 1998
  33. Oct 21, 1998
  34. Oct 19, 1998
Loading