Skip to content
Snippets Groups Projects
  1. 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
    • Kurt Zeilenga's avatar
      Add lber_pvt.h with prototypes of lber_pvt_log_print{,f}. · 321354ec
      Kurt Zeilenga authored
      Ripple name change through -llber & -lldap.
      Update -lldif to use lber_pvt_log_printf() instead of Debug.
      321354ec
    • Kurt Zeilenga's avatar
      Add lber_log_print support to libldap. · 7eec2674
      Kurt Zeilenga authored
      Redefine Debug macro to call ldap_log_printf(NULL, lvl, fmt, ...)
      Should replace each Debug statement with direct call to ldap_log_printf
      passing LDAP session if available.
      7eec2674
  2. Jan 25, 1999
  3. Jan 24, 1999
  4. Jan 22, 1999
    • Kurt Zeilenga's avatar
      Move libldap/strdup.c to string.c. · ddb0752b
      Kurt Zeilenga authored
      libldap/string.c will hold various string.h replacements.
      Removed liblutil/strdup.c
      Moved ldap_pvt_strtok to string.c.
      Moved prototype of ldap_pvt_strtok to <ac/string.h>.
      Added #define strtok_r ldap_pvt_strtok (if strtok_r doesn't exist).
      ddb0752b
  5. Jan 20, 1999
  6. Jan 17, 1999
  7. Jan 16, 1999
  8. Jan 15, 1999
    • Bart Hartgers's avatar
      · 0c1cb93c
      Bart Hartgers authored
      Changes to support threads from libldap_r.
      0c1cb93c
    • Bart Hartgers's avatar
      · 027d2fad
      Bart Hartgers authored
      Updates regarding threads and names.
      027d2fad
  9. Jan 14, 1999
  10. 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
  11. Jan 10, 1999
    • Kurt Zeilenga's avatar
      Update build environment to fix VPATH support. · 334768c1
      Kurt Zeilenga authored
        make depend, make tests, and make install all work when build directory
        is not the $srcdir.
      Also modified library handling such that -lpthread more likely to be last.
      WARNING: new orderring requires use of LDFLAGS to set global loader options
        such as -L/usr/local/lib.  If you put this in LIBS, some libraries
        may not be found a link time.
      Likely broke Kerberos/LDAPD support.  Don't have those in my testbed.
      334768c1
  12. Jan 07, 1999
  13. 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
  14. Jan 02, 1999
    • Kurt Zeilenga's avatar
      Update ctime_r() argument macro to cache results and to produce · 114a0cd3
      Kurt Zeilenga authored
      one preprocessor macro instead of two.  Ran aclocal, autoconf,
      autoheader to update derived files.  Modify util-int.c to use
      CTIME_R_NARGS define and fallback to ctime() if not set.
      Made LDAP_API_FEATURE_X_OPENLDAP_REENTRANT dependent upon result.
      114a0cd3
    • Bart Hartgers's avatar
      · f9d26dac
      Bart Hartgers authored
      Teached autoconf to figure out how may arguments ctime_r expects.
      Updated util-int.c to use this information.
      f9d26dac
  15. Dec 30, 1998
  16. Dec 29, 1998
  17. Dec 28, 1998
  18. Dec 27, 1998
  19. Dec 26, 1998
  20. Dec 24, 1998
Loading