Skip to content
Snippets Groups Projects
  1. Mar 26, 1999
  2. Mar 24, 1999
  3. Mar 23, 1999
  4. Mar 22, 1999
  5. Mar 16, 1999
  6. Mar 04, 1999
  7. Feb 11, 1999
  8. Feb 06, 1999
  9. 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
  10. Feb 04, 1999
  11. Feb 01, 1999
  12. Jan 28, 1999
    • Kurt Zeilenga's avatar
      91f67921
    • 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
  13. Jan 22, 1999
  14. 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
  15. Jan 14, 1999
  16. 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
  17. Jan 10, 1999
    • Kurt Zeilenga's avatar
      rename 'struct op' to 'struct slap_op' · d0516836
      Kurt Zeilenga authored
      rename 'struct conn' to 'struct slap_conn'
      rename op_function to slap_op_func for functions add/delete/free
      This change is need to avoid clashing with perl internals.
      d0516836
  18. Jan 01, 1999
  19. Dec 30, 1998
    • Kurt Zeilenga's avatar
      Preliminary Fixes for ITS#24, ITS#26, and ldbm_back_add race condition. · 64cd7d33
      Kurt Zeilenga authored
      Resolved deadlock by passing target entry to be_group and using
      this if dn same as bdn.  It might actually be safer to check
      entry ids instead of dns.
      Resolved bogus add to cache after failed acl check by deferring
      cache add until after parent/acl checks have successful been
      completed.
      Eliminated race condition caused by concurrent adds
      of same dn by adding 'li_add_mutex' around the critical section
      of code (most of ldbm_back_add).
      This code is preliminary and still needs significant testing.
      64cd7d33
  20. Dec 29, 1998
  21. Dec 21, 1998
    • Kurt Zeilenga's avatar
      LDAP C-API changes · 2d15a94d
      Kurt Zeilenga authored
      	struct friendly (Friendly) changed to ldap_friendly (LDAPFriendly)
      	  ldap_friendly friend prefix changed to 'lf_' from 'f_'
      	removed mod_next field from LDAPMod (struct ldapmod)
      	modified slapd to use new LDAPModList (struct ldapmodlist) struct.
      Added LDAPv3 result codes to ldap.h
      2d15a94d
  22. Dec 20, 1998
  23. Dec 14, 1998
    • Kurt Zeilenga's avatar
      The result set of an EQUALITY search on a SYNTAX_BIN attribute may have been · 9df2f4f4
      Kurt Zeilenga authored
      incorrect because value_cmp() in value.c compares two attributes by
      comparing the leading bytes of the two values (candidate and filter) up to
      the smaller of the two lengths of the binary values. If the lengths of two
      SYNTAX_BIN values differ, like SYNTAX_CES and SYNTAX_CIS, the EQUALITY
      comparison should fail.
      
      It also appears that value_ncmp() in value.c has no references anywhere in
      the openLDAP source tree, save for a definition in proto-slap.h. The
      following fix the bug and remove the dead code:
      
      From: "MCGARRAHAN, KENNETH L" <km4155@momail.sbc.com>
      9df2f4f4
  24. Nov 27, 1998
  25. 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
  26. Nov 11, 1998
  27. Oct 25, 1998
  28. Oct 24, 1998
  29. Oct 21, 1998
  30. Oct 19, 1998
  31. Sep 20, 1998
  32. Aug 21, 1998
  33. Aug 09, 1998
Loading