Commit Graph

225 Commits

Author SHA1 Message Date
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
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
Predrag "Pele" Balorda
09488c0158 Updates to cache and misc. other fixes on gtk-tool 1998-11-27 02:08:19 +00:00
Predrag "Pele" Balorda
df48f54fa2 Removal of misc. redundant files for gtk-tool 1998-11-27 01:02:27 +00:00
Predrag "Pele" Balorda
efdc4f93d9 Misc. pixmaps for gtk-tool - added 1998-11-27 00:58:11 +00:00
Predrag "Pele" Balorda
60de7d64ff Misc. fixes and additions to gtk-tool - works and looks nicer now. 1998-11-27 00:56:29 +00:00
Predrag "Pele" Balorda
65ff53b845 ChangeLog file for gtk-tool with the first entry 1998-11-26 13:25:57 +00:00
Predrag "Pele" Balorda
fd5cafd2d8 Updates: command-line parsing of parameters for server, port and baseDN. Started ChangeLog, updated TODO and README. 1998-11-26 13:23:06 +00:00
Predrag "Pele" Balorda
7965e0e50d A few quick fixes to get it up to speed with latest Gtk-- version and finally make it work. 1998-11-26 12:21:23 +00:00
Kurt Zeilenga
02aa747949 Initial revision 1998-11-24 18:01:09 +00:00
Predrag "Pele" Balorda
744be28b32 Update to my little php3-tool thingy - config file parsing. 1998-11-21 20:33:20 +00:00
Hallvard Furuseth
7e6ad5100c Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking.  Retyped a number of functions, usually
to return void.  Fixed a number of printf format errors.

API changes (in ldap/include):
  Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
  for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.

A number of `extern' declarations are left (some added by protoize), to
be cleaned away later.  Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-15 22:40:11 +00:00
Hallvard Furuseth
ede86e4da8 Memory leaks: Values from ldap_dn2ufn and ldap_get_dn were not freed. 1998-11-11 21:27:21 +00:00
Kurt Zeilenga
653846f8e9 Initial revision 1998-10-27 18:11:59 +00:00
Kurt Zeilenga
2a869f5a99 merged with autoconf branch 1998-10-25 01:41:42 +00:00
Kurt Zeilenga
08165e5b58 Point submissions to OpenLDAP 1998-09-13 19:41:35 +00:00
Kurt Zeilenga
adc2134f03 Modified build environment to correctly support bin,sbin,libexec,etc
and setting of variables from Make-platform with defaults in Make-common.
1998-08-19 18:19:39 +00:00
Kurt Zeilenga
f51765eead Changed FD_SETSIZE checks for consistency. Added checks where needed. 1998-08-18 18:19:49 +00:00
Kurt Zeilenga
fa2da63ca4 Merge from LAMBERT branch 1998-08-17 23:26:25 +00:00
Kurt Zeilenga
42e0d83cb3 Initial revision 1998-08-09 00:43:13 +00:00