Commit Graph

1536 Commits

Author SHA1 Message Date
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
Hallvard Furuseth
20f90f3031 ITS#118: Remove "delete" and add [self] in access levels for "defaultaccess" 1999-05-03 22:55:27 +00:00
Hallvard Furuseth
6e8a293acb Fix typo "-c" to "-H" 1999-05-03 22:34:02 +00:00
Kurt Zeilenga
031b9ec092 Add LDAP_CONST macro for use within EXTERNAL headers such as
<lber.h> and <ldap.h>.
Note: This should not be used within the implementation itself as
our "portable.h" mechanism provides Standard C vs. K&R "const" handling.
1999-05-03 21:10:35 +00:00
Kurt Zeilenga
ae711594b7 Provide a little information about SDF, how to use it, and where to get it.h 1999-05-03 02:14:27 +00:00
Kurt Zeilenga
b7b1f8e3ba Cleanup formatting. Reorganization preamble information for sharing
between documents.  Add -2topics navigation.
1999-05-03 01:19:22 +00:00
Kurt Zeilenga
c7cd83947d Add logo image. 1999-05-02 22:06:26 +00:00
Kurt Zeilenga
99985c717c Minor adjustments to paths due to reorganization 1999-05-01 22:23:04 +00:00
Kurt Zeilenga
3da5981adc Reorganize tree to better support multiple documents. 1999-05-01 22:11:02 +00:00
Kurt Zeilenga
bfe915be33 Make copyright/license look good in -2html as well. 1999-05-01 21:28:07 +00:00
Kurt Zeilenga
1db326f4ea Cleanup copyright.sdf and license.sdf.
Create wrappers *-plain.sdf to generate plain text versions.
1999-05-01 21:09:18 +00:00
Kurt Zeilenga
e4de6fc107 Use SDF features to generate numberred sections. 1999-05-01 20:26:53 +00:00
Kurt Zeilenga
2ce4c9d079 Include software copyright/license as appendix.
Still only speaking "baby" SDF.
1999-05-01 19:37:44 +00:00
Kurt Zeilenga
d72fdae987 Update copyright to be in SDF format. 1999-05-01 19:21:54 +00:00
Kurt Zeilenga
a42cf36dd2 Fix typos. 1999-04-30 21:32:12 +00:00
Kurt Zeilenga
43a27fcc23 Add LDIF2 draft. 1999-04-30 17:50:28 +00:00
Hallvard Furuseth
f43663860d Fix typo in comment 1999-04-30 11:49:28 +00:00