Commit Graph

148 Commits

Author SHA1 Message Date
Howard Chu
dd3157bbe9 Updated example for OpenLDAP 2.1.13 SASL/EXTERNAL on ldapi:// 2003-02-26 17:14:06 +00:00
Howard Chu
7f8f2ed7d9 Use bervals, use LDAP_CONTROL_PROXY_AUTHZ instead of proxied bind 2003-02-16 11:15:10 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Kurt Zeilenga
ae187de8c0 Add ldapsasl 2002-09-02 22:18:49 +00:00
Howard Chu
340e56ed0e LDAP auxprop plugin for external SASL-enabled servers 2002-07-13 07:20:38 +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
Ralf Haferkamp
bef9945dff - some code cleanups
- fix for the client caching code (cache is flushed after modifications
  rather than removing only the changed entry)

The code was submitted by Jeff Costlow <j.costlow@f5.com> under the
following terms:

Copyright 2002, F5 Networks, Inc, All rights reserved.
This software is not subject to any license of F5 Networks.

This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.
2002-04-23 15:28:11 +00:00
Ralf Haferkamp
d01bd44f96 removed default arguments from cpp-Files (to build on newer gcc) 2002-04-08 11:51:22 +00:00
Ralf Haferkamp
025e612920 - added getAttributeByName()-method
- Attributes are now organized by the attribute type (i.e. one can add more
  LDAPAttribute-Objects with the same type without violating the X.500 data
  model)
2002-03-06 23:04:38 +00:00
Ralf Haferkamp
dc6430e9a6 - Some fixes in docmentation comments
- added missing #include statement
2002-03-06 22:57:39 +00:00
Ralf Haferkamp
4167eb0d56 regenerated autoconf/automake related files 2002-03-06 22:55:02 +00:00
Ralf Haferkamp
f3fc7c162e -replaced deprecated AM_PROG_LIBTOOL with AC_PROG_LIBTOOL
-regenerated autoconf and automake related files
2002-03-06 22:54:02 +00:00
Ralf Haferkamp
78dd105654 Updated todo list 2002-01-21 23:02:44 +00:00
Kurt Zeilenga
9f9c6b57c6 Fix cthread header test 2002-01-20 22:25:08 +00:00
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Ralf Haferkamp
8d57c9fe45 Fixed some memory allocation/freeing bugs 2001-11-14 17:33:54 +00:00
Kurt Zeilenga
5e7336fcf1 Move saucer to the Attic. Has not been updated to support LDAPv3. 2001-10-13 01:25:09 +00:00
Ralf Haferkamp
c0dbaa736d some changes to make the library working with gcc 3.0 (mostly namespace
stuff). See also ITS#1322
2001-09-28 16:39:58 +00:00
Ralf Haferkamp
2941993d8f added empty() method to the list classes. (Patch was provided by Dan
Gohman)
2001-09-07 17:43:55 +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
Kurt Zeilenga
9e3613228e More contrib cleanout 2001-07-07 05:01:31 +00:00
Kurt Zeilenga
91800ee5b0 Major cleanout of contrib 2001-07-07 05:00:39 +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
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