Kurt Zeilenga [Thu, 28 Oct 1999 07:48:59 +0000 (07:48 +0000)]
Add third argument AC_DEFINE() calls added by last commit to
avoid having to define macros by hand in acconfig.h (which
were mistaken added to portable.h.in).
Howard Chu [Thu, 28 Oct 1999 07:36:01 +0000 (07:36 +0000)]
Log of Source Changes for Mingw32 Port of OpenLDAP
Author: Jon Leichter
Email: jon@symas.com
Copyright 1999, Symas Corporation, All rights reserved.
This software is not subject to any license of Symas Corporation.
This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.
./configure
./configure.in
==============
- Support for Win32 dynamic libraries enabled.
- Fixed -lltdl to be set in MODULES_LIBS instead of LIBS.
- For NT, added header file checks for: conio.h, direct.h, io.h, process.h.
- For NT (Mingw32) only, added checks for Winsock.
- For NT (Mingw32), turned on NT threads.
- Added the LIBSRCS macro to complement the LIBOBJS macro.
- Adjusted the set of data type checks for Mingw32.
- Special checks for Mingw32 functions: _sprintf, _vsnprintf, _spawnlp.
- Created the following macros for Makefile dependencies: PLAT, LIB_LINKAGE,
LT_LIB_LINKAGE, DYN_EXT.
./build/openldap.m4
===================
- For NT (Mingw32), included stdlib.h to test for sys_errlist.
./include/portable.h.in
=======================
- Added an NT-specific section of macros.
- Added support to define the snprintf and vsnprintf macros.
- Added new macros to support NT (Mingw32): HAVE_SPAWNLP, HAVE_WINSOCK,
HAVE_CONIO_H, HAVE_DIRECT_H, HAVE_IO_H, HAVE_PROCESS_H, HAVE_NT_THREADS.
./include/portable.nt
=====================
- Removed macros that are defined in Windows headers: strdup, FD_SETSIZE.
- Set HAVE_SNPRINTF and HAVE_MEMORY_H to reflect the NT's real environment.
- Moved LDAP_DIRSEP macro to ldap_config.h.in.
- Moved LDAP_SIGUSR macros to ac/signal.h.
./include/ldap_config.h.in
==========================
- Added the LDAP_DIRSEP macro for NT.
./include/ac/signal.h
=====================
- Added the LDAP_SIGUSR macros for NT.
./include/ac/stdarg.h
=====================
- For NT (Mingw32), added declarations for the snprintf and vsnprintf funcs.
./include/avl.h
./include/disptmpl.h
./include/getopt-compat.h
./include/lber.h
./include/lber_pvt.h
./include/ldap.h
./include/ldap_log.h
./include/ldap_pvt.h
./include/ldap_pvt_thread.h
./include/ldap_schema.h
./include/ldif.h
./include/lutil.h
./include/lutil_lockf.h
./include/lutil_md5.h
./include/lutil_sha1.h
./include/srchpref.h
./include/ac/assert.h
./include/ac/setproctitle.h
./include/ac/socket.h
./include/ac/string.h
./include/ac/unistd.h
./libraries/liblber/lber-int.h
./libraries/libldap/ldap-int.h
==============================
- Added the proper use of the LDAP_F macro.
- For ./include/ldap_pvt_thread.h, adjusted preprocessing to always typedef
ldap_pvt_thread types in NT (Mingw32), whether or not threads are being used.
./build/lib-shared.mk
./build/lib.mk
./build/mod.mk
./build/rules.mk
./build/srv.mk
./build/top.mk
./clients/fax500/Makefile.in
./clients/finger/Makefile.in
./clients/gopher/Makefile.in
./clients/mail500/Makefile.in
./clients/rcpt500/Makefile.in
./clients/tools/Makefile.in
./clients/ud/Makefile.in
./libraries/liblber/Makefile.in
./libraries/libldap/Makefile.in
./libraries/libldap_r/Makefile.in
./libraries/liblutil/Makefile.in
./servers/slapd/Makefile.in
./servers/slapd/back-ldbm/Makefile.in
./servers/slapd/tools/Makefile.in
./servers/slurpd/Makefile.in
./tests/progs/Makefile.in
=====================================
- Made use of the new macros defined by configure.in to dynamically build
Makefiles suited for the build environment.
- Adjusted 'clean' and 'install' targets to account for .exe binaries.
- Added targets to build extra components for 'slapd' in NT (Mingw32).
./libraries/liblutil/slapdmsg.h
./libraries/liblutil/slapdmsg.bin
./libraries/liblutil/slapdmsg.rc
=================================
- New files added to the source tree to build resources for Mingw32.
./servers/slapd/slapd.syms
==========================
- New file added to the source tree to specify the set of symbols that
'slapd' should export.
./servers/slapd/nt_svc.c
========================
- Added stubs function, where exported symbols are called for dummy reference.
Howard Chu [Thu, 28 Oct 1999 07:26:25 +0000 (07:26 +0000)]
Fixes for NT support:
Remove macros already in Windows headers: strdup, FD_SETSIZE
Set HAVE_SNPRINTF and HAVE_MEMORY_H to reflect NT environment
Moved LDAP_DIRSEP macro to ldap_config.h.in
Moved LDAP_SIGUSR macros to ac/signal.h
Kurt Zeilenga [Tue, 26 Oct 1999 22:57:39 +0000 (22:57 +0000)]
Add lutil_entropy(). Currently only supports /dev/urandom or
Linux equivs. Should be extended to support other quality
sources of entropy. Should be extended to support a reasonable fallback.
Kurt Zeilenga [Thu, 21 Oct 1999 17:53:56 +0000 (17:53 +0000)]
Initial commit of new ACL engine. Engine supports descrete access
privs, additive/substractive rules, and rule continuation. Existing
rules that use 'defaultaccess none' should be 100% compatible. Rules
that rely other defaultaccess settings will require addition of
explicit clauses granting the access.
Needs additional testing and tuning of logs
Kurt Zeilenga [Fri, 15 Oct 1999 20:34:42 +0000 (20:34 +0000)]
Change the defaultaccess to 'auth'
Set defaultaccess to 'read' in distribution slapd.conf and add warnings
Set schemacheck to 'on' in distribution slapd.conf and add warnings
Kurt Zeilenga [Wed, 13 Oct 1999 20:28:00 +0000 (20:28 +0000)]
Change 'attribute' directive to 'attributetype'
(and allowing 'attribute' for backwards compatibility).
manuals and *.schema to be updated as time permits.
Kurt Zeilenga [Wed, 6 Oct 1999 00:04:04 +0000 (00:04 +0000)]
Add other schema references (nameref, alias, subentry) to core.schema.
Add openldap.schema (currently empty except for a few comments) to
hold OpenLDAP specific schema items (such as for cn=monitor).
Ben Collins [Wed, 29 Sep 1999 00:56:43 +0000 (00:56 +0000)]
* configure.in: add --enable-dynamic option for linking our local binaries
with the shared libraries instead of static, defaults to no
* build/lib-shared.mk: if LINK_BINS_DYNAMIC is set we create a symlink to
the .so and .so.# file along with the .a and .la files
* build/lib.mk: make sure the above links get removed on clean target
* build/top.mk: add define for LINK_BINS_DYNAMIC
* tests/scripts/defines.sh: add export for LD_LIBRARY_PATH so that tests will
run without requiring installation of libraries when we use --enable-dynamic
(LD_LIBRARY_PATH is always set, since it can't really hurt).
Kurt Zeilenga [Sat, 25 Sep 1999 22:13:25 +0000 (22:13 +0000)]
Rework passwd routines to allow callers to determine which
schemes are supported. This should facilate server rootDSE
advertisement of supported schemes, etc..
Randy Kunkee [Fri, 24 Sep 1999 18:16:41 +0000 (18:16 +0000)]
Back out my change to ldap_sort_strcasecmp. My mistake from not reading
manpage carefully. One should pass strcasecmp to ldap_sort_entries, not
ldap_sort_strcasecmp. Ldap_sort_strcasecmp is for ldap_sort_values, NOT
ldap_sort_entries.
Randy Kunkee [Fri, 24 Sep 1999 08:02:54 +0000 (08:02 +0000)]
Change call to strcasecmp in ldap_sort_strcasecmp, which makes
ldap_sort_entries work with ldap_sort_strcasecmp as the comparison
function. Pointers were being dereferenced, and should only have been
casted.
Kurt Zeilenga [Fri, 24 Sep 1999 04:19:37 +0000 (04:19 +0000)]
ITS#303: value_add_fast() empty value bug. Ignore empty value.
This is technical incorrect, but we don't have the codes in place
to correctly handle empty values yet.