Skip to content
Snippets Groups Projects
  1. May 24, 1999
  2. May 19, 1999
    • Kurt Zeilenga's avatar
      s/HAVE_SYSLOG/LDAP_SYSLOG/g · f01a7dad
      Kurt Zeilenga authored
      Use <ac/syslog.h>
      f01a7dad
    • Kurt Zeilenga's avatar
      df616d76
    • 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
  3. Apr 19, 1999
  4. Apr 17, 1999
  5. Apr 01, 1999
  6. Mar 30, 1999
  7. Mar 29, 1999
  8. Mar 06, 1999
  9. Mar 05, 1999
  10. Mar 01, 1999
  11. Feb 08, 1999
  12. Feb 05, 1999
    • Kurt Zeilenga's avatar
      New Frontend->Backend Interface · 216049bd
      Kurt Zeilenga authored
      Separates per backend type from per backend database initialization
      	and startup.  Also supports per type / per backend shutdown.
      New frontend startup/shutdown routines are also provided:
      	slap_init() slap_startup() slap_shutdown() slap_destroy()
      New frontend->backend startup/shutdown is managed by:
      	backend_init() backend_startup() backend_shutdown backend_destroy
      backend_init() now calls bi_init() to initial all function pointers
      for the backend (excepting bi_init() which is now the only hardcoded
      entry point).  New entry points are detailed in slap.h struct
      backend_info.  backend_info is a per database type structure.
      Besides the new startup/shutdown entry points, the new interface
      also supports per backend type configuration options.  One could have:
      
      	backend bdb2	(new Berkeley DB 2 backend)
      	bdb2_home	/directory
      
      	database bdb2
      	...
      
      	*** This code is fairly experimental ***
      	*** Much cleanup and testing is still needed ***
      
      see slap.h for details on struct backend_db and backend_info.
      216049bd
  13. Feb 04, 1999
  14. Feb 02, 1999
  15. Feb 01, 1999
  16. 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
  17. Jan 26, 1999
    • Kurt Zeilenga's avatar
      LDBM/back-ldbm locking reworked! · bd6dfe33
      Kurt Zeilenga authored
      	back-ldbm was using a cache specific lock to protect non-reentrant
      	database routines from being reenterred.  This is inadequate.
      	Also, reentrant database systems calls were serialized unnecessarily.
      
      	Non-reentrant database calls must have a big_mutex.  Implemented
      	this within -lldbm itself.  library requires ldbm_initialize()
      	be called before any other ldbm call to initialize the big_mutex
      	and to do any other db specific initialization (ie: such as
      	required for DB2).
      
      The dbc_mutex, dbc_cv, & dbc_readers fileds of dbcache are history.
      The "reentrant_database" (REENTRANT_DATABASE) define is also axed.
      bd6dfe33
  18. Jan 05, 1999
    • Kurt Spanier's avatar
      - Make install creates $(RUNDIR)/var for pid and args files of slapd. · 9c6d384b
      Kurt Spanier authored
      - slapd's pid/args file names are based on the servers binary file names,
        providing for multiple servers beeing run on one host.
      - slapd supports the -l command line parameter for selection of a
        syslog LOCAL user (-lLOCAL0 .. -lLOCAL7)
      - db_appinit() is called during first ldbm_open() in DB 2.x to initialize
        DB debugging features (good to find bugs in the DB code :-)
      - a patch for a non-initialized variable in DB's 2.x db_open is provided.
      9c6d384b
  19. Dec 29, 1998
  20. 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
  21. Nov 04, 1998
  22. Oct 25, 1998
  23. Oct 24, 1998
  24. Oct 22, 1998
  25. Sep 19, 1998
  26. Sep 03, 1998
  27. Aug 09, 1998
Loading