Commit Graph

39 Commits

Author SHA1 Message Date
Kurt Zeilenga
5c878c1bf2 Happy new year (belated) 2014-01-25 05:21:25 -08:00
Kurt Zeilenga
0fd1bf30b8 Happy New Year 2013-01-02 10:22:57 -08:00
Hallvard Furuseth
465942e74d ITS#7160 Support POSIX make: No $< in target rules 2012-02-18 18:17:40 +01:00
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Kurt Zeilenga
cf49e43f86 Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap 2011-03-28 18:42:22 -07:00
Kurt Zeilenga
cd1f718f01 Update guide Copyright/License handling
Avoids redundant files.
And update various notices
2011-03-28 18:40:52 -07:00
Quanah Gibson-Mount
0adef98b25 Update for git 2011-03-28 12:23:50 -07:00
Kurt Zeilenga
6921f1b7df fix typo in last commit 2011-03-27 17:49:21 -07:00
Kurt Zeilenga
364ae53526 handle $Id$ in configure.in (configure scripts need to be rebuilt) 2011-03-27 17:48:08 -07:00
Hallvard Furuseth
a376bb455e Regenerate 2007-05-18 18:53:10 +00:00
Hallvard Furuseth
73aaead5bd Re-fixing ITS#2667: test -a and test -o unportable, use && and ||. 2007-05-18 15:23:28 +00:00
Hallvard Furuseth
bbc719ca56 ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
Hallvard Furuseth
7ead463927 Remove suspicious whitespace from makefile 2006-04-01 23:29:41 +00:00
Hallvard Furuseth
023d510766 Support POSIX 1003.1-2001 without XSI extensions (ITS #2667):
Do not use test -a/-o.  Use shell features like &&, || or case...esac.
Use grep instead of egrep (but not the not-yet-portable Posix variant grep -E).
Based on a patch from Paul Eggert.
2005-09-17 22:22:15 +00:00
Randy Kunkee
260331e622 Remove debugging fluff. 2002-05-02 08:14:01 +00:00
Randy Kunkee
1042e3f04c Generate ldaptclerr.h correctly. 2002-05-02 08:11:41 +00:00
Randy Kunkee
6196b2463d Change comments to invite email from people using it, and to note that
OpenLDAP 2.x is supported.
2001-07-10 22:17:09 +00:00
Randy Kunkee
d304d012af Call ldap_memfree(attributeName) for returns from ldap_first_attribute()
and ldap_next_attribute if using newer interface.  Current test for this
is an #if LDAP_API_VERSION >= 2004.
2001-07-10 22:11:57 +00:00
Randy Kunkee
aff4f66fe6 From CHANGES notes for 2.0:
- Detects OpenLDAP 2.0 and builds correctly with it.
- Increment major version to 2, library file to libldaptcl2.0.so.
- Can now perform add/delete/replace modifications in a single command.
- Replaced calls to TclX_WrongArgs with core Tcl_WrongNumArgs to reduce
  dependency on Extended Tcl.
- Wrap dereference search control with #ifdef LDAP_OPT_DEREF.
- Deref during search should work.
- Add protocol_version option to ldap init command.
- Add LDAPTCL_PROTOCOL_VERSION_DEFAULT to allow specifying the default
  protocol version used.
- Add controlArray(timeout) to control timeouts during searches.
- Add controlArray(cache) to control caching current search results.
  (Experience has show this to be not very useful or not working correctly.
  Caching search results should probably be done in Ldaptcl rather than
  letting the LDAP API do it.)
- Add "compare" subcommand
- Add experimental trap subcommand (undocumented -- use at your own risk).
2001-05-21 22:01:57 +00:00
Randy Kunkee
e2a94d5401 Remove extra --enable-gcc, fix --with-ldap-libdir, and regerate configure. 2000-12-05 18:36:09 +00:00
Randy Kunkee
0624a31c1b Fix several bugs with dereferencing aliases and create 'compare' subcommand. 2000-06-22 23:22:38 +00:00
Randy Kunkee
3cfb6b3b81 Correctly parse v2 OpenLDAP ldap.h. 2000-06-22 23:21:05 +00:00
Howard Chu
47a6da5c89 Change RCS Id to OpenLDAP keyword 2000-05-11 10:35:27 +00:00
Kurt Zeilenga
51993c8e79 objectclass=* -> (objectclass=*) 2000-04-12 08:38:01 +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
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
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
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
Randy Kunkee
ef123c1cec Place NeoSoft Inc. LDAP Tcl client code into OpenLDAP contrib tree. 1999-02-10 23:56:49 +00:00