1. 29 Apr, 1999 1 commit
    • Kurt Zeilenga's avatar
      Update back-passwd based on patches from howard.chu@platinum.com. · 9b8a5036
      Kurt Zeilenga authored
      Modified by me to dn_*() and attr_*() functions and to use
      uidObject and to handle search scopes better.  Could use some
      more work.  A fun project for anyone wanting to learn how
      backends work.
      Modified dn_parent and dn_rdn to accept be=NULL (to bypass
      be_issuffix check).  These functions should be generalized
      and moved to -lldap.  A project for another day.
      9b8a5036
  2. 22 Mar, 1999 1 commit
  3. 17 Mar, 1999 1 commit
  4. 05 Feb, 1999 1 commit
    • 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
  5. 28 Jan, 1999 1 commit
    • 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
  6. 18 Jan, 1999 1 commit
  7. 13 Jan, 1999 1 commit
    • Kurt Zeilenga's avatar
      Add normalized dn to Entry structure as field e_ndn. Entry · b39fdc0b
      Kurt Zeilenga authored
      creation codes to provide this field.  Update cache_entrydn_cmp
      to strcasecmp() the e_ndn instead of e_dn.  Note: strcasecmp()
      is still used as e_ndn isn't in uppercase.  Maybe it should
      be.  Did not update other codes to use e_ndn.  Hence, there
      are lots of dn_normalize() calls that could be eliminated.
      (The case determination of e_ndn should be made first).
      b39fdc0b
  8. 27 Nov, 1998 1 commit
  9. 15 Nov, 1998 1 commit
    • 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
  10. 26 Oct, 1998 1 commit
  11. 25 Oct, 1998 1 commit
  12. 21 Oct, 1998 2 commits
  13. 09 Aug, 1998 1 commit