Commit Graph

124 Commits

Author SHA1 Message Date
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
Ralf Haferkamp
a2fe43daf9 Added client side caching. (Commited by: Jeff Costlow <j.costlow@f5.com>) 2001-05-04 14:38:13 +00:00
Kurt Zeilenga
a43cc02407 Fix typo 2001-05-02 21:31:09 +00:00
Ralf Haferkamp
6997f7a7ed - The library now supports StartTLS. The patch was provided by Jeff Costlow
<j.costlow@f5.com>
2001-03-22 10:29:02 +00:00
Ralf Haferkamp
b1957678d4 - Fixed some memory leak detected by Jeff Costlow <j.costlow@f5.com>
- Fixed some trouble time.h / sys/time.h
- modified include statements
2001-03-15 11:07:58 +00:00
Ralf Haferkamp
32671aa898 - some minor bugfixes
- lots of documentation (javadoc style comments)
2001-02-19 11:34:28 +00:00
Randy Kunkee
e2a94d5401 Remove extra --enable-gcc, fix --with-ldap-libdir, and regerate configure. 2000-12-05 18:36:09 +00:00
Ralf Haferkamp
e7dc46c01e - fixed bug in debugging output (added #include "config.h" to debug.h)
- rebuild configure script
2000-10-11 17:18:27 +00:00
Ralf Haferkamp
259b90aaa2 - changed configure option --disable-debug to --enable-debug
- rebuilt the configure script
2000-10-05 14:16:16 +00:00
Ralf Haferkamp
1387dc0930 src/Makefile.am: remove RebindTest.cpp from the sources
rebuild Makefile.in
2000-10-03 19:19:02 +00:00
Ralf Haferkamp
1ab5360fee - some new Classes for sync. LDAP operations
- Classes for handling Controls
2000-10-03 18:50:44 +00:00
Ralf Haferkamp
11fbe2a45c - removed char* in favour of string
- extented Referral chasing (loop detection, hop limit, Rebind)
- support for Server Controls
- fixed many bugs and memory leaks
2000-10-03 18:25:34 +00:00
Kurt Zeilenga
b71570eb2f Add LDAP C++ API 2000-09-07 20:10:54 +00:00
Kurt Zeilenga
84d0e26234 Initial check of the LDAP C++ SDK written by Ralf Haferkamp <rhafer@suse.de>
Copyright notices have been adjusted per on-file OpenLDAP Contributor
Assignment Agreement.
2000-09-01 18:46:32 +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
Kurt Zeilenga
51ea8825e1 Add tweb and RCSid 2000-06-18 19:43:12 +00:00
Kurt Zeilenga
9a8cc65162 Update a few misc docs 2000-06-07 06:33:59 +00:00
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