1. 27 Aug, 1999 1 commit
    • Kurt Zeilenga's avatar
      Plug ber leakage: · 9bf50242
      Kurt Zeilenga authored
      result was leaking ber's in some error cases.  ber_flush now called
      with no freeing so that caller of send_ldap_ber() can free its own ber.
      c->c_currentber was also being leaked if connection was destory
      current when a PDU input was outstanding.
      Fixed ber_flush to free ber upon write only to file.
  2. 20 Aug, 1999 3 commits
  3. 19 Aug, 1999 1 commit
  4. 16 Aug, 1999 1 commit
  5. 07 Aug, 1999 1 commit
    • Hallvard Furuseth's avatar
      Minor cleanup: · 6054463e
      Hallvard Furuseth authored
      Fix Statlog() formats, remove an implicit int, include <ctype.h> for isspace().
  6. 03 Aug, 1999 1 commit
  7. 24 Jul, 1999 3 commits
  8. 22 Jul, 1999 1 commit
  9. 19 Jul, 1999 1 commit
    • Kurt Zeilenga's avatar
      Namespace changes · 17083675
      Kurt Zeilenga authored
        added slap_ and ldbm_ to many structures
        added typedefs to many structures
        used typedefs
      New main.c argument parsing with ldap url support (replacing -a address).
      New sockaddr_in handling and support for multiple listeners.
  10. 16 Jul, 1999 2 commits
  11. 13 Jul, 1999 1 commit
  12. 07 Jul, 1999 1 commit
  13. 01 Jul, 1999 1 commit
    • 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).
  14. 29 Jun, 1999 2 commits
  15. 18 Jun, 1999 1 commit
    • 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
  16. 28 May, 1999 1 commit
  17. 19 May, 1999 1 commit
    • 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
      	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
      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.
      	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.
      	_MT defines HAVE_NT_THREADS
      	Added numberous assert() checks.
      	Changed ldap_pthread_t back to unsigned long.  Used cast
      	to HANDLE in _join().
      	Replaced _WIN32 with HAVE_SYSLOG
      	Added version string if MKVERSION is not defined.  (MKVERSION
      		needs to be set under UNIX).
      	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
      	Added version string if MKVERSION is not defined.  (MKVERSION
      		needs to be set under UNIX).
      	Removed FD_SET unsigned lint
      	Used EXEEXT to added ".exe" to routines.  Need to define EXEEXT
      		under UNIX.
      	Added ldappasswd.dsp.  Ported to NT.  Used getpid() to seed rand().
      	Minor cleanup.  Added "portable.h" include and used <ac/*.h> where
      	appropriate.  Added const to char* format argument.
  18. 06 May, 1999 1 commit
  19. 28 Apr, 1999 1 commit
    • 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.
  20. 23 Apr, 1999 1 commit
  21. 16 Apr, 1999 1 commit
  22. 14 Apr, 1999 1 commit
  23. 08 Apr, 1999 1 commit
  24. 02 Apr, 1999 2 commits
  25. 01 Apr, 1999 1 commit
  26. 26 Mar, 1999 1 commit
  27. 23 Mar, 1999 1 commit
  28. 22 Mar, 1999 2 commits
  29. 16 Mar, 1999 1 commit
  30. 06 Mar, 1999 1 commit
  31. 04 Mar, 1999 1 commit
  32. 02 Mar, 1999 1 commit