Commit Graph

106 Commits

Author SHA1 Message Date
Kurt Zeilenga
e6931fbe1c Backout inappropriate copyright changes 2000-05-13 02:38:13 +00:00
Kurt Zeilenga
0bb431d3b3 Y2k copyright update 2000-05-13 02:25:54 +00:00
Howard Chu
47a6da5c89 Change RCS Id to OpenLDAP keyword 2000-05-11 10:35:27 +00:00
Kurt Zeilenga
0d1e76246a Don't depend error handling on exact resultCode. 2000-04-26 09:21:19 +00:00
Kurt Zeilenga
51993c8e79 objectclass=* -> (objectclass=*) 2000-04-12 08:38:01 +00:00
Kurt Zeilenga
250a816549 objectclass=* -> NULL 2000-04-12 08:37:11 +00:00
Randy Kunkee
f67aea1321 Using a stale obj from Tcl_GetResultObj() to store error results
caused incorrect data in result array and possibly segmentation
violations when searches terminated due to errors such as timeout,
exceeding search limit, or the remote server going down in the middle
of a search.  Also correctly puts error message on top of
traceback stack (instead of randomly in memory per the stale result obj).

A segmentation violation could have manifested later in the program's
life, or perhaps during termination of the interpreter.
2000-04-04 09:42:44 +00:00
Kurt Zeilenga
02d832ed8b Fix DESTDIR bug 2000-03-11 04:30:17 +00:00
Predrag "Pele" Balorda
a0277ef986 some minor changes - d'n'd support forthcoming
(but mainly commiting because of the gserver switch)
2000-01-11 20:53:38 +00:00
Predrag "Pele" Balorda
6e11a98d28 added cn=schema to gtk-tool 2000-01-07 09:07:59 +00:00
Predrag "Pele" Balorda
5c2b6d8f20 minor fix 2000-01-03 12:29:40 +00:00
Predrag "Pele" Balorda
6847ae6cb2 copyright changes for php3-tool (added 1999 and 2000) 2000-01-03 12:28:05 +00:00
Predrag "Pele" Balorda
262a4fe89d missing icon for gtk-tool 2000-01-03 12:24:42 +00:00
Predrag "Pele" Balorda
0c5baf1a09 Modifications to gtk-tool (follow aliases, options, bugfixes) 2000-01-03 12:23:15 +00:00
Predrag "Pele" Balorda
c2005f9a7a API Update for gtk-- stuff and minor changes and additions 1999-12-28 16:22:47 +00:00
Randy Kunkee
2205c49975 Add missing 2nd arg (NULL) in call to Tcl_GetStringFromObj in experimental
trap code.
1999-12-22 18:29:34 +00:00
Randy Kunkee
222962d249 Update documentation. Add support for caching, sorting, enabling "all"
in searches, and experimental "trap" subcommand.
1999-12-22 18:19:11 +00:00
Randy Kunkee
bd93a9f605 Remove extra ber_free. 1999-11-04 17:19:22 +00:00
Randy Kunkee
9a303a273a Call ber_free instead of ldap_ber_free. 1999-11-04 00:09:17 +00:00
Randy Kunkee
e4d5f0a23f Clean up some memory problems. 1999-11-03 23:57:56 +00:00
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