Commit Graph

1702 Commits

Author SHA1 Message Date
Kurt Zeilenga
c04fb542e6 $LIBVERSION -> $(LIBVERSION) 1999-05-20 21:34:17 +00:00
Kurt Zeilenga
68fb44b450 Fix initialization bug in ber_init_w_nullc()
Added assert(), additional comments, and a few minor adjustments.
1999-05-20 21:21:57 +00:00
Kurt Zeilenga
042898d2f0 Version.c deprecated in favor of mkversion.
Minor cleanup to lber files.
1999-05-20 19:38:03 +00:00
Kurt Zeilenga
1975433234 Deprecated in favor of mkversion. 1999-05-20 19:35:07 +00:00
Kurt Zeilenga
d42e658fcb Fixed bug in dtest code. 1999-05-20 00:04:16 +00:00
Kurt Zeilenga
e27ba3f0ee Improving e/d test (until I find the my damn bug) 1999-05-19 20:38:02 +00:00
Kurt Zeilenga
6c00e11fbc Enhance encode/decode test programs to encode sets, ie:
./etest '{sis}' | ./dtest '{sis}'
1999-05-19 19:10:55 +00:00
Juan Gomez
1426f2b1bd Do code reuse through ldbm_modify_internal(). 1999-05-19 18:27:25 +00:00
Julio Sánchez Fernández
9a7b90e0e4 Fixed segfault in a ldif2ldbm-bdb2 child 1999-05-19 14:15:15 +00:00
Julio Sánchez Fernández
28a0061edc Added missing semicolon. 1999-05-19 12:21:46 +00:00
Julio Sánchez Fernández
5fb4577057 Added missing declaration 1999-05-19 12:21:11 +00:00
Kurt Zeilenga
8ef7993047 Removed lint. 1999-05-19 07:20:06 +00:00
Kurt Zeilenga
d8cb38c2ef method tag should be unsigned long.
connection assert should use s, not i.
1999-05-19 07:15:16 +00:00
Kurt Zeilenga
34c538fa0f s/NULLMSG/NULL/
Fix ldappasswd timeval.
1999-05-19 07:14:27 +00:00
Kurt Zeilenga
1db064b821 Add EXEEXT and MKVERSION support 1999-05-19 07:13:42 +00:00
Kurt Zeilenga
c23e4fe6a7 Add EXEEXT and MKVERSION support. 1999-05-19 07:12:20 +00:00
Kurt Zeilenga
f9bbdb34c5 Add UL to more BER tags. 1999-05-19 06:27:35 +00:00
Kurt Zeilenga
6ee995f528 Add UL to LBER tags. 1999-05-19 06:13:44 +00:00
Juan Gomez
150e105f41 Fixed a memory leak and getting ready to reuse some code between
modify and modrdn.
1999-05-19 04:00:58 +00:00
Kurt Zeilenga
f01a7dad53 s/HAVE_SYSLOG/LDAP_SYSLOG/g
Use <ac/syslog.h>
1999-05-19 01:58:23 +00:00
Kurt Zeilenga
df616d76ce Replace #ifndef WIN32 with #ifdef HAVE_SYSLOG 1999-05-19 01:54:33 +00:00
Kurt Zeilenga
3b16742eba Add LDAP_CONST to kerberos bind routines 1999-05-19 01:53:09 +00:00
Kurt Zeilenga
ddf8624abc Add LDAP_CONST to ldap_set_option() invalue 1999-05-19 01:52:46 +00:00
Kurt Zeilenga
11c052fae6 Missing LDAP_CONST from ldap_set_option() declaration. 1999-05-19 01:42:29 +00:00
Kurt Zeilenga
dc07e765f2 Vienna Bulk Commit
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.
1999-05-19 01:12:33 +00:00
Kurt Zeilenga
29a7d6229a Wrap externs with parens to protect against inproper macro expansion. 1999-05-18 20:52:36 +00:00
Kurt Zeilenga
00da392c5f Add check for <sys/select.h> for AIX. 1999-05-18 18:34:02 +00:00
Juan Gomez
9c335d1ed0 Added the targets test-nis-schema, test-nis-schema-ldbm, and
test-nis-schema-bdb2 to start a server using the NIS-LDAP
schema.
1999-05-12 03:29:06 +00:00
Juan Gomez
6cf71210f7 Script that starts a server with NIS schema and sample database. 1999-05-12 03:22:48 +00:00
Juan Gomez
a5cf0bf36b Config files that use the NIS related schema. 1999-05-12 01:03:51 +00:00
Gary Williams
e72b5e5c61 use mutex to protect connection in connection_destroy until task is complete 1999-05-11 13:42:57 +00:00
Gary Williams
2b17be8329 Move maxkids = cmdkids after fork of ldif2id2children. Also fix NT waiting for kids 1999-05-07 14:30:31 +00:00
Ben Collins
d4f4f8f197 Moved db1/db.h check to the db1 marco in openldap.m4. Also added check for HAVE_DB1_DB_H for which header to include since it's only defined when using db1 1999-05-07 01:27:16 +00:00
Ben Collins
74fa98dfa3 Missing # in front of else in the sockinit #if's 1999-05-07 01:10:03 +00:00
Gary Williams
fe924b727c ldap_pvt_thread_kill doesn't work on NT, so use hit_socket to break select. Also move WSAStartup so it gets called before _any_ socket calls 1999-05-06 16:32:11 +00:00
Gary Williams
5d6923c655 move bind_addr to make it externally available. NT needs to use the address to write to the listen socket to break out of the select 1999-05-06 16:30:48 +00:00
Gary Williams
d20143ea50 add wsa_err.c to project 1999-05-06 16:29:19 +00:00
Gary Williams
4e0504f4b8 routine to get string for last WSA error on NT 1999-05-06 16:28:52 +00:00
Gary Williams
51d7259715 define Versionstr, I'm sure there's a better way, but I need to get this built 1999-05-06 15:00:05 +00:00
Gary Williams
dc0bcf2e94 add root_dse.c 1999-05-06 14:51:11 +00:00
Gary Williams
ed703cbc5e detect debug level and output to stdout 1999-05-06 14:47:55 +00:00
Gary Williams
628f679f0b move socket.h before errno.h so EWOULDBLOCK is defined on NT 1999-05-06 14:46:48 +00:00
Ben Collins
a650d73230 Glibc 2.1 has Berkley db as -ldb1. Set up the autoconf to check this first, else we will actually be using compat calls in db2, and not the real db1. 1999-05-06 12:33:58 +00:00
Julio Sánchez Fernández
30ffc91788 Initial version 1999-05-06 04:53:52 +00:00
Ben Collins
014d059b5a Moved -lnet,socket check for BeOS to the rest of the socket checks. Also added a -lnsl _with_ the -lwrap check since some libwrap's are static and need this. 1999-05-04 13:55:59 +00:00
Ben Collins
a0c33034bf Include sys/time.h if we have it defined, needed for some systems, to define time_t 1999-05-04 12:40:29 +00:00
Ben Collins
b882fd8ca9 Install man page from 26797srcdir in case building from a seperate builddir 1999-05-04 12:39:12 +00:00
Ben Collins
8c8249c005 Added -lnet for BeOS libs. Also need to add some sort of workaround for inet_aton() since BeOS does not have this call. 1999-05-04 12:33:21 +00:00
Kurt Zeilenga
af25d94db9 Fix "configurations". 1999-05-04 04:30:43 +00:00
Kurt Zeilenga
d00b31bbd1 Relevant drafts... 1999-05-04 04:25:18 +00:00