Kurt Zeilenga
f999e1350d
Provide global assert solution. <ac/assert.h> (new) is now included
...
by portable.h with NDEBUG undefined. This makes assert() is always
available and automatically disables itself when LDAP_DEBUG is undefined.
I've included a basic assert() for pre-STDC compilers. It relies on
abort() which may not actually be available. (well replace abort()
with whatever is appropriate if and when we're faced with a pre-STDC
compiler that doesn't have assert()).
1999-03-20 03:13:24 +00:00
Kurt Zeilenga
ab64c237f7
Use calloc properly... could result in too few bytes being allocated.
...
calloc(1, nelem*size) -> calloc(nelem, size)
1999-03-20 01:25:11 +00:00
Julio Sánchez Fernández
94b8e0830e
slapd.conf and friends were being modified during the install step
1999-03-18 20:36:42 +00:00
Kurt Zeilenga
62f71f6042
Add TMPROOT support for two phase building/installing.
...
make all
make TMPROOT=/tmp/root install
will install everything under $(TMPROOT)$(prefix). Useful for
building bundling packages/ports for various operating systems.
1999-03-18 17:36:55 +00:00
Kurt Zeilenga
52884a2caa
Add copyright notice (to generate log message).
1999-03-18 02:13:09 +00:00
Kurt Zeilenga
2003488522
Bogus change just to generate a log message.
1999-03-18 02:03:16 +00:00
Kurt Zeilenga
90541bf8e8
Add 1999 to acinclude and rebuild configure. (really a log.pl test).
1999-03-18 01:56:26 +00:00
Kurt Zeilenga
86a2e91ae9
Add 1999 to copyright. Test new log.pl.
1999-03-18 01:51:53 +00:00
Kurt Zeilenga
5a4babde00
Add DEFAULT_EDITOR to ldapconfig.h. Used by ldbmtest and ud.
1999-03-17 22:34:17 +00:00
Kurt Zeilenga
1676d61130
Use HAVE_PW_GECOS when needed.
1999-03-17 22:27:46 +00:00
Kurt Zeilenga
96b2ae55ac
Add OL_STRUCT_PASSWD_PW_GECOS test. Checks for pw_gecos in struct passwd.
1999-03-17 22:23:29 +00:00
Kurt Zeilenga
98d3206c42
Rebuild configure and portable.h.in...
1999-03-17 22:10:31 +00:00
Kurt Zeilenga
5bd27ad01d
delete thread project, Bart completed this.
...
Add SASL/TLS project, Bart's working on this.
Add reference to ITS "Software Enhancements".
1999-03-17 22:02:00 +00:00
Kurt Zeilenga
3550bc48c0
Add slapd -a address support. Allows you to bind to a specific
...
address. Useful for running multiple servers in a virtual hosting
environment.
Modified test001-ldif2ldbm to verify this functionality. Assumes
localhost is 127.0.0.1.
1999-03-17 03:56:25 +00:00
Kurt Zeilenga
c51e647870
Minor change to EBCDIC test.
1999-03-17 03:55:51 +00:00
Kurt Zeilenga
4f60044d29
First cut at bind race fix. Passes our test suite at least.
1999-03-16 23:33:30 +00:00
Kurt Zeilenga
cc38cf6534
Cast pointer to strcasecmp to AVL_CMP.
1999-03-16 21:55:00 +00:00
Kurt Zeilenga
fa81f43f04
Initial check of connection states. Have only implemented
...
SLAP_C_ACTIVE vs SLAP_C_INACTIVE. Need to implement BINDING and CLOSING.
Added fields tracking pending (on bind) ops. Could also be used to
implement per-connection thread limits.
1999-03-16 02:59:59 +00:00
Kurt Zeilenga
70555f853a
NULL needs to be defined for pthread_detach(NULL).
1999-03-16 00:38:16 +00:00
Kurt Zeilenga
5ba71a498b
Update EBCDIC tests.
1999-03-15 23:45:28 +00:00
Kurt Zeilenga
02e6172bf8
Implement OL_HEADER_STDC (derived from AC_HEADER_STDC) with EBCDIC
...
support. Will submit this to autoconf maintainers...
1999-03-15 21:40:57 +00:00
Kurt Zeilenga
8694a8395c
Add EBCDIC test in preparation for VM port.
1999-03-15 19:31:13 +00:00
Kurt Zeilenga
5f3c7a88dc
Add 'extern' to externals.
1999-03-15 01:06:02 +00:00
Kurt Zeilenga
a8d7ee12a5
Fix "decleration" and missing ";" errors.
1999-03-15 01:01:45 +00:00
Ben Collins
13f169ee54
Only declare strdup() if DECL_STRDUP is defined
1999-03-15 00:19:46 +00:00
Ben Collins
e732e12279
configure.in now includes OL_DECL_STRDUP, configure and portable.h.in
...
rebuilt to reflect it.
1999-03-15 00:18:49 +00:00
Ben Collins
da5444cee5
Define OL_DECL_STRDUP, the current declaration conflicts with GLIBC 2.1's
...
macro definition. If the declaration errors, then we don't declare it in
ac/string.h
1999-03-15 00:16:25 +00:00
Hallvard Furuseth
8654f340cb
selectObjectClass returned without a value. Return NULL instead.
1999-03-14 07:42:14 +00:00
Hallvard Furuseth
02d668d8a8
free -> ldap_memfree. Remove spurious strdup.
1999-03-14 07:40:45 +00:00
Hallvard Furuseth
7927ffe7f3
Add missing parens around Debug macro parameter
1999-03-14 07:15:58 +00:00
Hallvard Furuseth
45f62b42a1
Fix typo web_ldap.txt -> web_ldap_usage.txt
1999-03-13 23:46:09 +00:00
Kurt Zeilenga
ae939acafe
Fail -lbe check if -lroot doesn't exist.
1999-03-13 23:03:40 +00:00
Hallvard Furuseth
520ea9b87f
Parameters in front of va_alist are unportable; use va_arg instead.
1999-03-13 22:59:18 +00:00
Kurt Zeilenga
5d5370c3ec
Make sure LN_S is set to "cp" if "ln -s" AND "ln" does work.
1999-03-13 22:57:38 +00:00
Kurt Zeilenga
4afc7aab40
Original test failed under FreeBSD. Reworked LN_H detection
...
after LN_S test. Moved to openldap.m4 and cached result.
Does not yet handle case where LN_H == 'cp' and LN_S == 'ln'.
1999-03-13 22:53:10 +00:00
Hallvard Furuseth
212e3d0f01
Add missing newline at end of file
1999-03-13 21:38:40 +00:00
Ben Collins
6a7a4cc872
Fix URL for latest hints
1999-03-13 20:41:37 +00:00
Ben Collins
07d93d495d
BeOS compile hints, also added to the FAQ-o-Matic
1999-03-13 20:35:15 +00:00
Ben Collins
0924180fa8
Used new ldap_(un)lockf() functions
1999-03-13 20:34:27 +00:00
Ben Collins
75d6e3f738
Added lockf.o to list of OBJS and lockf.c to list of SRCS
1999-03-13 20:32:40 +00:00
Ben Collins
4e733cf024
Macros for file locking/unlocking added (ldap_lockf/ldap_unlockf)
1999-03-13 20:31:55 +00:00
Ben Collins
9d2ea940e0
Check that FIONBIO is defined, also add defined(__BEOS__) to list for send/recv defines
1999-03-13 20:29:35 +00:00
Ben Collins
b5f8f61a88
Newest from GNU's CVS, provides detection of BeOS as well as other systems
1999-03-13 20:27:57 +00:00
Ben Collins
b35e123bcb
Use LN_H in order to link (or copy) ldapadd from ldapmodify
1999-03-13 19:34:09 +00:00
Ben Collins
15e0a0f827
Declare LN_H=@LN_H@
1999-03-13 19:32:58 +00:00
Ben Collins
f18213015c
Check for how to hard link (ln or cp) and define as LS_H, also includes check for be_app() in -lbe
1999-03-13 19:31:50 +00:00
Ben Collins
615923f0d1
Functions for using fcntl to lock/unlock files in case lockf is not available
1999-03-13 19:25:15 +00:00
Ben Collins
27572b4257
Fixed small error in last commit for sys_errlist in openldap.m4
1999-03-13 18:41:07 +00:00
Ben Collins
ebce51b2db
actually define HAVE_SYS_ERRLIST if we have it, if not then declare it locally in ac/errno.h
1999-03-13 18:19:11 +00:00
Ben Collins
159083640a
We need a SUBDIR makefile in contrib/ so that compiling in a build dir will work
1999-03-13 18:16:11 +00:00