Commit Graph

68 Commits

Author SHA1 Message Date
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
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
Hallvard Furuseth
e871ad7f47 Add RFC931 and INTERNATIONAL installation variables 1999-04-30 08:22:07 +00:00
Hallvard Furuseth
fb1227a547 Remove superfluous \ at end of lines outside macros; DEC cc doesn't like them. 1999-04-30 06:39:19 +00:00
Hallvard Furuseth
84f339e9a3 Fix ldap -> ld in body of LDAP_ERR_STRING(ld). Enclose some macro args in (). 1999-04-30 00:14:57 +00:00
Kurt Zeilenga
30665cb19a Misc header cleanup 1999-03-29 02:07:18 +00:00
Hallvard Furuseth
dd44e1c28f Initial port of web_ldap to OpenLDAP. Also fixed some doc bugs. 1999-03-27 18:05:33 +00:00
Hallvard Furuseth
a3bc2bbe63 free() -> ldap_memfree() change 1999-03-27 16:51:05 +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
45f62b42a1 Fix typo web_ldap.txt -> web_ldap_usage.txt 1999-03-13 23:46:09 +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
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
Hallvard Furuseth
45c2877c92 Update README to reflect recent changes. 1999-03-11 19:52:05 +00:00
Hallvard Furuseth
72ef1d08df Change U-M LDAP to OpenLDAP in manpage 1999-03-11 19:45:38 +00:00
Hallvard Furuseth
7645a4ec5f Fix Makefile.in: Install in bindir instead of libexecdir. Install manpage. 1999-03-11 19:43:26 +00:00
Hallvard Furuseth
5dd9d6502b Silence some warnings of unused variables and comparing signed with unsigned 1999-03-09 23:30:52 +00:00
Hallvard Furuseth
727fae81ed "const"ify some static arrays and related function parameters 1999-03-09 23:19:07 +00:00
Hallvard Furuseth
80b641486b Declare functions before use. Change some functions to return void. 1999-03-09 23:06:14 +00:00
Hallvard Furuseth
ca91e9f189 Protoize CMDTABLE.func() 1999-03-09 22:55:24 +00:00
Hallvard Furuseth
555e23dd43 Add readline support. Change prompt to "saucer dn=CURRENT-DN> ". 1999-03-09 22:50:06 +00:00
Hallvard Furuseth
a24b0c1c70 Integrate saucer in OpenLDAP build environment:
Add saucer/Makefile.in, add saucer to configure and top-level Makefile,
include "portable.h" and <ac/*.h>,
replace ldap_debug/lber_debug with ldap_set_option/lber_set_option.
1999-03-09 01:59:49 +00:00
Hallvard Furuseth
dc165a16b9 Use ldap_<set/get>_option instead of poking into the LDAP structure 1999-03-08 03:05:26 +00:00
Hallvard Furuseth
73db912500 Cast char' arguments to ctype.h functions to unsigned char'.
These functions require their arguments to be in the range of `unsigned char'.
1999-02-22 17:57:22 +00:00
Predrag "Pele" Balorda
44c8baeae3 A new file with some installation instructions... 1999-02-12 23:56:56 +00:00
Predrag "Pele" Balorda
6bf082a7aa Update to the README of gtk-tool 1999-02-12 23:50:20 +00:00
Predrag "Pele" Balorda
500cf6f632 U-MICH backward-compatibility fixes for gtk-tool and other minor fixes and cleanups 1999-02-12 23:45:35 +00:00
Randy Kunkee
ef123c1cec Place NeoSoft Inc. LDAP Tcl client code into OpenLDAP contrib tree. 1999-02-10 23:56:49 +00:00
Kurt Zeilenga
f1f4127f59 Update README to reflect tested with 2.0-devel, not 1.1-devel. 1999-02-10 20:51:02 +00:00
Kurt Zeilenga
add79ef969 Generalize the web_ldap Makefile a bit. 1998-12-14 23:24:33 +00:00
Kurt Zeilenga
b063f5e83b Initial import of web_ldap written and contributed
by Jens Moller <Jens.Moller@mci.com>.
1998-12-14 23:10:02 +00:00
Predrag "Pele" Balorda
330ca36f0a new icon for RFC822 mail group in gtk-tool 1998-12-10 13:06:30 +00:00
Predrag "Pele" Balorda
6b854dff20 miscelaneous updates and fixes to gtk-tool 1998-12-10 13:05:05 +00:00
Predrag "Pele" Balorda
a9fba7c334 gtk-tool: new icon for objectclass=alias 1998-12-04 01:12:51 +00:00
Predrag "Pele" Balorda
ff80013124 gtk-tool updates, multiple server support, smarter traversal, ldap_get_option enhancements, code cleanups 1998-12-04 01:11:12 +00:00
Predrag "Pele" Balorda
00dc409ae0 minor update to README for gtk-tool 1998-12-02 15:29:45 +00:00
Predrag "Pele" Balorda
b69570baad updates of README and TODO in gtk-tool 1998-12-02 15:24:54 +00:00
Predrag "Pele" Balorda
fe4497e4f0 various updates and fixes for gtk-tool 1998-12-02 15:18:47 +00:00
Predrag "Pele" Balorda
9c975d34b4 New classes for gtk-tool 1998-12-02 15:15:49 +00:00
Predrag "Pele" Balorda
fa96c5bacb updates to gtk-tool, new functionality, uses config cn 1998-11-30 00:01:14 +00:00
Predrag "Pele" Balorda
d2995f7def additional pixmaps for gtk-tool 1998-11-30 00:00:21 +00:00
Predrag "Pele" Balorda
41cac659fb new class files for gtk-tool 1998-11-29 23:56:22 +00:00
Predrag "Pele" Balorda
e5acf2467b gtk-tool icons, added 1998-11-28 20:48:11 +00:00
Predrag "Pele" Balorda
38cdb9e6ba gtk-tool updates 1998-11-28 20:25:09 +00:00
Predrag "Pele" Balorda
9365ceab85 Removed stale files from gtk-tool 1998-11-28 18:10:50 +00:00
Predrag "Pele" Balorda
b50348c53a Added php3tool.conf. The beginnings of a great era... 1998-11-28 11:59:08 +00:00
Predrag "Pele" Balorda
43e572aba7 Updated some stuff on php3-tool 1998-11-28 11:57:38 +00:00
Predrag "Pele" Balorda
2fcab46c60 Added include/preferences.inc to php3-tool. Aploligies for forgetting to add it before. 1998-11-28 11:57:02 +00:00
Predrag "Pele" Balorda
c6ae177b07 Added style.css for php3-tool. I really don't know why it wasn't in the repository before.... 1998-11-28 11:54:48 +00:00