Commit Graph

86 Commits

Author SHA1 Message Date
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
Randy Kunkee
f4f48b1a80 Implement timeout, caching (for OpenLDAP) and sorting during searches.
Known bug: cache enabled is known to cause Tcl to abort upon exit.
1999-10-26 22:13:08 +00:00
Ben Collins
53da7b6cda * build/top.mk: removed references to TMPROOT and added DESTDIR support
* all others: Added DESTDIR support
1999-09-22 21:51:30 +00:00
Kurt Spanier
43f1dec5a9 Some more comments. 1999-09-13 16:38:22 +00:00
Kurt Spanier
681a146fe8 Adopt TWEB to LDAP_API_VERSION >= 2003. 1999-09-13 16:28:30 +00:00
Kurt Spanier
884d6832d5 Initial revision 1999-09-10 17:33:39 +00:00
Kurt Zeilenga
41e57c041f Add OpenLDAP RCS id 1999-09-02 00:52:43 +00:00
Kurt Zeilenga
54e3044d8c Fix s/doc/contrib/ in comment 1999-08-15 22:52:10 +00:00
Kurt Zeilenga
e0691dfbc0 create SASL_LIBS to hold -lsasl
create SECURITY_LIBS (top.mk) to order $SASL_LIBS $KRB_LIBS $TLS_LIBS
use $SECURITY_LIBS in Makefile.in's instead of $KRB_LIBS $TLS_LIBS
1999-08-05 02:25:19 +00:00
Kurt Zeilenga
df8f7cbb9b s/exit(1)/exit(EXIT_FAILURE)/
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
882d7444a0 s/OpenLDAP-bugs/OpenLDAP-its/ 1999-08-03 10:08:49 +00:00
Randy Kunkee
11eafc253c Ldaptcl package version 1.2:
- Filter no longer a required controlArray member, defaults to objectclass=*.
- Sets errorCode with LDAP macro string value (better to test than the more
  human readable values).
- Shorten minimum required characters for search scope definitions: now allows
  "base", "one", and "sub".  For the latter two, additional characters are
  ignored.
- Now compiles successfully with -devel branch (though less tested).
- Client cache management code enabled for OpenLDAP versions <= 1.2.4.  (This
  code is relatively untested and feedback is welcome.)
- More installation cleanups to work easily as a dynamically loadable Tcl
  package.
1999-08-03 07:23:03 +00:00
Randy Kunkee
9c90663ad3 Add back "package require Tclx 8.0" (Ldaptcl depends on it). 1999-07-27 07:39:42 +00:00
Randy Kunkee
9189f9e1e5 Tcl package version 1.0 -> 1.1:
Add timeout to control array.
   Add -lldap -llber when building shared library.
   Clean up pkgIndex.tcl creation and installation (should now support
   "package require" out of the box).
1999-07-27 07:29:27 +00:00
Kurt Zeilenga
2a5c0edff4 Update contrib README 1999-07-22 23:09:04 +00:00
Hallvard Furuseth
48bb692d01 Add comment that socklen_t should be used 1999-07-16 18:59:37 +00:00
Kurt Zeilenga
cb68aab469 s/ldap_open/ldap_init/ calls... ldap_open is deprecated. 1999-06-13 21:49:35 +00:00
Kurt Zeilenga
21c70857f1 s/<stdlib.h>/<ac/stdlib.h>/ 1999-06-03 00:37:44 +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
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