Commit Graph

25 Commits

Author SHA1 Message Date
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