- May 24, 1999
-
-
Kurt Zeilenga authored
-
- May 19, 1999
-
-
Kurt Zeilenga authored
Use <ac/syslog.h>
-
Kurt Zeilenga authored
-
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.
-
- Apr 19, 1999
-
-
Julio Sánchez Fernández authored
Move declaration of st
-
- Apr 17, 1999
-
-
Kurt Zeilenga authored
-
- Apr 01, 1999
-
-
Gary Williams authored
-
- Mar 30, 1999
-
-
Juan Gomez authored
-
- Mar 29, 1999
-
-
Kurt Spanier authored
-
- Mar 06, 1999
-
-
Hallvard Furuseth authored
-
Ben Collins authored
-
- Mar 05, 1999
-
-
Kurt Spanier authored
2. Make ldbm_Env a failure-safe entity.
-
- Mar 01, 1999
-
-
Kurt Zeilenga authored
Also add initial slapd .dsw/.dsp files. Still needs work (mainly syslog).
-
- Feb 08, 1999
-
-
Kurt Spanier authored
Integration into ./configure ( --enable-bdb2 ). Adaptation of the test-suite ( 'make' -> ldbm; 'make bdb2-local' -> bdb2 ). Minor fixes in slapd/libldbm.
-
- Feb 05, 1999
-
-
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.
-
- Feb 04, 1999
-
-
Kurt Zeilenga authored
frontend-backend interface. Includes a number changes to share common routines between database api types.
-
Kurt Zeilenga authored
-
- Feb 02, 1999
-
-
Kurt Zeilenga authored
-
- Feb 01, 1999
-
-
Kurt Spanier authored
initialization after reading slapd.conf, and before starting the daemon
-
- Jan 28, 1999
-
-
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
-
- Jan 26, 1999
-
-
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.
-
- Jan 05, 1999
-
-
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.
-
- Dec 29, 1998
-
-
Kurt Spanier authored
Introduction of ldbm_datum_init(). Patch for non-NULL pointer test befor call to ldbm_datum_free().
-
- Nov 15, 1998
-
-
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.
-
- Nov 04, 1998
-
-
Hallvard Furuseth authored
-
- Oct 25, 1998
-
-
Kurt Zeilenga authored
-
- Oct 24, 1998
-
-
Kurt Zeilenga authored
-
- Oct 22, 1998
-
-
Kurt Zeilenga authored
-
Kurt Zeilenga authored
LTHREAD still needs work.
-
- Sep 19, 1998
-
-
Kurt Zeilenga authored
-
- Sep 03, 1998
-
-
Kurt Zeilenga authored
Derived from public posting to ldap@umich.edu by Kurt Spanier <kurt.spanier@zdv.uni-tuebingen.de> See Make-common.dist for DB2 options
-
- Aug 09, 1998
-
-
Kurt Zeilenga authored
-