Commit Graph

2895 Commits

Author SHA1 Message Date
Kurt Zeilenga
eb000d9e6a no UD_BASE to use for my_ldap_dn2ufn(). Comment out strstr(s,NULL). 1999-11-03 22:02:30 +00:00
Kurt Zeilenga
3908eae03f Make stat message consistent with other operations. 1999-11-03 18:12:28 +00:00
Kurt Zeilenga
6f497089f5 Do not maintain a presence search on 'objectclass' as all entries
*should* have an 'objectclass' attribute present.
1999-11-02 23:13:40 +00:00
Howard Chu
bacc581531 Removed explicit include of <ac/param.h> because it must be included
after <stdlib.h>, but <stdlib.h> is included in slap.h. Moved <ac/param.h>
include into slap.h.
1999-11-02 19:39:56 +00:00
Kurt Zeilenga
a90a38ec2d write winsock with AC_CACHE_CHECK to allow mangling via environment. 1999-11-02 02:32:55 +00:00
Kurt Zeilenga
89893b0fbf Remove unnecessary dependency upon $ac_cv_mingw32. 1999-11-02 02:10:36 +00:00
Kurt Zeilenga
709f5ecb90 Modify NT Threads check to use AC_CHECK_FUNC(_beginthread) 1999-11-02 01:35:20 +00:00
Kurt Zeilenga
daa7907b4f Move NT Thread test into build/openldap.m4. Still bogus (only
enables if MINGW32 and always enables if MINGW32).
1999-11-01 23:45:09 +00:00
Howard Chu
af87072275 Fix broken patch to v2ref 1999-11-01 23:23:41 +00:00
Howard Chu
9168ab6777 Obsolete file 1999-11-01 22:38:24 +00:00
Kurt Zeilenga
14f107e9ed Changes to support NT single debug 1999-11-01 22:17:06 +00:00
Kurt Zeilenga
320cc86969 Define HAVE_NT_EVENT_LOG && HAVE_NT_SERVICE_MANAGER when HAVE_NT_THREADS 1999-11-01 22:06:00 +00:00
Kurt Zeilenga
5b5db4def6 Additional mods to fix NT single threaded support. 1999-11-01 22:00:18 +00:00
Kurt Zeilenga
b7af076fee Use centralized output directories.
Update single debug/release not to use service manager nor event manager.
Likely breaks MINGW32 port.
1999-11-01 21:25:22 +00:00
Kurt Zeilenga
10d9136ad5 Use typedef instead of #define for ssize_t. 1999-11-01 18:17:21 +00:00
Kurt Zeilenga
bb1b81473b Add configure tests for ssize_t and caddr_t and remove NT preamble
(excepting WIN32_LEAN_AND_MEAN).  Rework openlog/closelog use to
eliminate need for defines.
1999-11-01 18:14:26 +00:00
Kurt Zeilenga
4757d60fb4 Use compile time, instead of run time, sizeof checks. 1999-11-01 17:36:09 +00:00
Kurt Zeilenga
4cc712db53 Add <ac/param.h> to wrap <sys/param.h> 1999-11-01 17:21:24 +00:00
Kurt Zeilenga
37a25fa648 Set modifiersname/timestamp upon creation.
Remove LDAP_LOCALTIME support.
1999-11-01 17:19:01 +00:00
Kurt Zeilenga
c598c882fc Fix typo in gethostbyaddr_r nargs test 1999-11-01 12:02:03 +00:00
Kurt Zeilenga
26d8290859 Remove more dependencies upon $ac_cv_mingw32 1999-11-01 03:40:55 +00:00
Howard Chu
17e1877a12 Fix broken MSVC builds. The previous round of Mingw32 patches changed some
ifdefs to depend on _WINNT, which is bogus. Added _WIN32 back on these ifs,
and fixed some other include problems.
1999-10-31 02:26:41 +00:00
Kurt Zeilenga
aab546e567 Fix nargs tests for gethostby{name,addr}_r to handle no prototype case. 1999-10-30 21:19:46 +00:00
Kurt Zeilenga
ae302ec787 Fix ctime_r nargs detection to return 0 if no prototype is available. 1999-10-30 21:07:03 +00:00
Mark Valence
e20d6dfb8b bug fixes for ldap_msgtype and ldap_msgid 1999-10-30 18:33:37 +00:00
Kurt Zeilenga
baa34f752b Do not attempt to obtain sizeof(sin_addr.s_addr) or &sin_addr.s_addr
as s_addr member of in_addr may be a bitfield.
1999-10-30 04:58:06 +00:00
Kurt Zeilenga
ebc4a8f149 Use uint32 not u_int as code requires 32 bit unsigned integers. 1999-10-30 03:30:10 +00:00
Kurt Zeilenga
7a2044dbda Add readability to comments 1999-10-30 03:26:56 +00:00
Kurt Zeilenga
db5ad318a5 Add comment stating that uint32 must be exactly 32-bits long. 1999-10-30 03:26:13 +00:00
Kurt Zeilenga
771a52499f Add support for sizeof(short) == 4 when sizeof(int) > 4. 1999-10-30 02:53:24 +00:00
Kurt Zeilenga
c508288fca Add comment to top of sendmail.cf to discourage directory mucking
with .cf files...
1999-10-28 22:19:36 +00:00
Kurt Zeilenga
b2139d5a68 Reorganize a bit to behave more like other mailer m4 macros 1999-10-28 22:17:23 +00:00
Kurt Zeilenga
5bb1546867 Refine comments. 1999-10-28 17:42:46 +00:00
Kurt Zeilenga
2aee8f8750 Remove some dependencies upon $ac_cv_mingw32. Most should be
replaced with actual functional tests.  Needed to provide uWin
and other Unix on NT environments.
1999-10-28 17:42:02 +00:00
Howard Chu
8da24171e3 Added NT-specific definitions to acconfig.h preamble 1999-10-28 11:17:58 +00:00
Howard Chu
1a1248ef45 Delete obsolete symbols acl_access_allowed and acl_get_applicable 1999-10-28 11:16:44 +00:00
Kurt Zeilenga
f3da68969b 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).
1999-10-28 07:48:59 +00:00
Howard Chu
7a25a22675 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.


./clients/ud/group.c
./libraries/liblutil/getopt.c
./libraries/liblutil/ntservice.c
================================
- Fixed misc syntax warnings and/or bugs.


./libraries/liblber/sockbuf.c
./libraries/libldap/tmplout.c
./libraries/liblutil/nt_err.c
./servers/slapd/daemon.c
=============================
- Fixed Winsock-related warnings and/or bugs.


./servers/slapd/add.c
./servers/slapd/bind.c
./servers/slapd/compare.c
./servers/slapd/delete.c
./servers/slapd/modify.c
./servers/slapd/modrdn.c
./servers/slapd/search.c
=========================
- Added line to #include "ldap_pvt.h".
1999-10-28 07:36:01 +00:00
Howard Chu
ce04c4c933 Fix log message from previous commit...
Use new macros from configure.in to accomodate NT/Mingw32 environment.
See README 1.27 log
1999-10-28 07:34:30 +00:00
Howard Chu
e99eab787f Use new macros from configure.in to accomodate NT/Mingw32 environment.
See README 1.27 log
1999-10-28 07:31:59 +00:00
Howard Chu
5438e045af Fixed use of LDAP_F macro
See README 1.27 log
1999-10-28 07:29:25 +00:00
Howard Chu
0991e22550 Fixed the LDAP_F macro.
See README 1.27 log
1999-10-28 07:28:53 +00:00
Howard Chu
ff2908ffb8 For Mingw32, added declarations for snprintf and vsnprintf 1999-10-28 07:27:28 +00:00
Howard Chu
21a51c0628 Added LDAP_SIGUSR macros for NT 1999-10-28 07:27:00 +00:00
Howard Chu
c1b8c1b88b Added LDAP_DIRSEP macro for NT 1999-10-28 07:26:44 +00:00
Howard Chu
a01f3099c3 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
1999-10-28 07:26:25 +00:00
Howard Chu
dbabbeeccc Added macros for Mingw32 support.
See README 1.27 log
1999-10-28 07:24:39 +00:00
Howard Chu
5d4eda1770 For Mingw32, include stdlib.h to test for sys_errlist
See README 1.27 log
1999-10-28 07:23:45 +00:00
Howard Chu
9c46eee39b Added support for Mingw32
See README 1.27 log
1999-10-28 07:23:03 +00:00
Howard Chu
a57a9abe6d New files added for Mingw32 support.
See README 1.27 log
1999-10-28 07:22:10 +00:00