Commit Graph

353 Commits

Author SHA1 Message Date
Ralf Haferkamp
fe98ff05e9 - removed deprecated acconfig.h.
- regenerated autoconf/automake/libtool related files
2006-06-01 16:19:44 +00:00
Pierangelo Masarati
864e276981 always try to open config; NULL means use default 2006-05-12 14:42:49 +00:00
Pierangelo Masarati
f35a55398a add (basic) support for {RADIUS} scheme; userPassword attributes prefixed with {RADIUS} are interpreted as RADIUS userids and authentication occurs contacting the configured RADIUS servers with that userid and the provided password (experimental; please report) 2006-05-12 12:03:05 +00:00
Hallvard Furuseth
7ead463927 Remove suspicious whitespace from makefile 2006-04-01 23:29:41 +00:00
Ralf Haferkamp
d3d7976747 - use ldap_url_desc2str() to construct URL
- throw Exception in initialization error
2006-03-31 15:55:19 +00:00
Howard Chu
b623699a44 Support for obsolete proxy authorization control 2006-03-30 08:22:39 +00:00
Kurt Zeilenga
fdfd5e7ec0 clarify 'native' 2006-01-25 22:13:14 +00:00
Pierangelo Masarati
4d9fc0e85d improve logging 2006-01-14 18:59:46 +00:00
Pierangelo Masarati
a76a78096d trace overlay: traces overlay execution 2006-01-14 18:44:55 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Kurt Zeilenga
755fb9931c moved to slapd-modules 2005-12-24 01:15:23 +00:00
Pierangelo Masarati
bfdceee00f fix typo in last commit 2005-12-21 00:22:37 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
754e59543d cleanup 2005-11-20 01:39:19 +00:00
Pierangelo Masarati
8f0d3530e2 fix previous commit; use table-driven attribute description lookup 2005-11-14 12:33:40 +00:00
Pierangelo Masarati
450e3aaaec refine previous commit 2005-11-14 11:23:03 +00:00
Pierangelo Masarati
8520a8dfd7 cleanup in case of failure 2005-11-12 16:24:12 +00:00
Pierangelo Masarati
29fab9cfd4 add support for "sambaPwdMustChange"; add support for back-config 2005-11-12 16:18:09 +00:00
Pierangelo Masarati
c2d9d642f9 cleanup 2005-10-13 22:28:30 +00:00
Pierangelo Masarati
c5e6f6db13 silence warnings for DO_SAMBA build 2005-10-13 22:23:02 +00:00
Ralf Haferkamp
dc61d7bc56 regenerated autoconfig/automake files 2005-10-05 17:30:04 +00:00
Ralf Haferkamp
efdd59d70d don't use deprecated libldap functions 2005-10-05 17:26:27 +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
Pierangelo Masarati
c365b701cb reflect API changes 2005-08-22 16:31:23 +00:00
Pierangelo Masarati
3b4b9cbc33 check software version 2005-08-22 09:28:13 +00:00
Pierangelo Masarati
0b9988ab8d moved from servers/slapd/overlays 2005-08-22 09:14:12 +00:00
Pierangelo Masarati
35de807a93 add posixGroup access control via dynacl as an example of how dynacl work 2005-08-17 14:32:27 +00:00
Howard Chu
5944f306d7 ITS#3910 heimdal 0.7 compatibility, silence warnings 2005-08-11 21:05:19 +00:00
Pierangelo Masarati
3d69f55986 fix headers (ITS#3896) 2005-07-27 23:32:29 +00:00
Howard Chu
0bb80f0ccd Add note about shared library requirements 2005-07-02 10:21:03 +00:00
Howard Chu
18714cee18 Add SLAP_MOD_INTERNAL flag on mod ops if it's defined 2005-06-04 09:57:27 +00:00
Sang Seok Lim
62c62f039f Bug fix in Component Matching for CRL support 2005-05-09 01:06:06 +00:00
Ralf Haferkamp
7496ebeb35 -increase version number
-regenerated autoconf and automake files
-additional example code
2005-04-20 13:03:09 +00:00
Ralf Haferkamp
00c7cf396b improved error reporting 2005-04-20 12:57:51 +00:00
Ralf Haferkamp
7389cb27ed support for syntax and equality matching rule 2005-04-20 12:54:49 +00:00
Howard Chu
7862d5d014 Partial revert, must use lower-case hex 2005-04-08 23:33:26 +00:00
Howard Chu
2ee11b3744 cleanup whitespace, use upper case hex for nt/lm 2005-04-07 02:26:14 +00:00
Howard Chu
6b784de0df ITS#3635 fix input to lmhash 2005-04-07 02:23:17 +00:00
Sang Seok Lim
7c91b8a327 Componant matching routines for CRL support 2005-03-29 00:10:16 +00:00
Kurt Zeilenga
d69a0871cf Delete ldapsasl note 2005-03-18 00:26:02 +00:00
Howard Chu
b33b74281d Remove ldapsasl, it is now part of Cyrus SASL 2005-02-28 01:09:15 +00:00
Howard Chu
7ac0497863 Use #ifndef for SASL_VERSION_FULL, new Cyrus <sasl.h> defines it now 2005-02-26 03:00:30 +00:00
Sang Seok Lim
f13d97e09c Fix memory leak in a component encoder 2005-02-10 16:58:56 +00:00
Howard Chu
9a279634b0 Rename k5key symbols, add k5key_hash 2005-01-24 21:46:06 +00:00
Howard Chu
d74f40b650 Add description of {K5KEY} password mech 2005-01-13 19:07:23 +00:00
Howard Chu
5ebc834c7b Plug krb5 memleaks, add {K5KEY} passwd check mechanism 2005-01-13 09:56:52 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Kurt Zeilenga
b85bc7d4a4 Reverse last commit. 2004-12-31 13:10:12 +00:00
Kurt Zeilenga
822bb18a6a Fix typo 2004-12-31 13:08:06 +00:00
Kurt Zeilenga
dcb21284c6 Fix bad merge 2004-12-29 17:34:41 +00:00
Sang Seok Lim
7b1f2d85b0 Bug fix: invalid return value 2004-12-25 06:44:29 +00:00
Sang Seok Lim
27c817217b README updated 2004-12-23 20:25:12 +00:00
Sang Seok Lim
190c17b3c8 MACRO value adjustment for x509 Certificate 2004-12-21 05:58:25 +00:00
Sang Seok Lim
b07fc2e6be Enabling sharing component descriptions of primitive ASN.1 types 2004-12-21 04:44:19 +00:00
Sang Seok Lim
726e880993 invalid path 2004-12-20 16:53:41 +00:00
Sang Seok Lim
c863425358 fix snacc buffer memory leak 2004-12-20 16:53:05 +00:00
Sang Seok Lim
9eee2b8d91 code cleanup 2004-12-20 03:49:58 +00:00
Sang Seok Lim
28a967584d Component Indexing support for BDB
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Sang Seok Lim
3492452a5b 1) <select> and <content> type component reference support
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
  extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +00:00
Sang Seok Lim
d6a3dd512c Bug fix
GSER/BER decoders: return code and memory leackage
2004-12-06 01:26:38 +00:00
Sang Seok Lim
98485f5247 1) existing matching rules support in component filter
2) remove double buffering for decoded component values
3) caching decoded component assertion values
2004-12-01 22:11:55 +00:00
Sang Seok Lim
5314ac0116 Component library for GSER encoders of primitive types 2004-11-29 23:11:21 +00:00
Sang Seok Lim
decfd7217f 1) <all> type component reference support
2) nibble type memory support when decoding
3) description type object identifier support
4) OPTIONAL, DEFAULT support in certificate decoder/extractor/matching
5) Misc bug fix
2004-11-29 20:21:38 +00:00
Sang Seok Lim
a90e63fde0 ComponentFilterMatch support for userCertificate 2004-11-14 20:11:38 +00:00
Hallvard Furuseth
ab12babf06 --sort should not imply --join if --trace is also specified. 2004-11-02 17:19:17 +00:00
Hallvard Furuseth
b1ee36be20 Add slapd-tools/statslog, useful to search and inspect statslog output. 2004-11-01 21:40:26 +00:00
Jong Hyuk Choi
d16c45d147 Misc cleanup 2004-10-27 22:39:54 +00:00
Sang Seok Lim
71e78dd7f9 Component Matching module
See "contrib/slapd-modules/comp_match/README" to understand
what's the purpose of  this patch is and how to use it.
2004-10-27 19:37:02 +00:00
Ralf Haferkamp
f32368254d - improvments on schema parsing
- return server message on modification errors
2004-08-13 11:37:21 +00:00
Luke Howard
2638052775 Use new slapi_entry_add_rdn_values() API 2004-05-23 15:45:32 +00:00
Howard Chu
41e53b5a25 Experimental Samba and Heimdal password synchronization overlay. 2004-04-02 13:06:38 +00:00
Howard Chu
6cb76b54e8 Use LUTIL_PASSWD_{ERR,OK} result codes 2004-03-17 21:36:39 +00:00
Luke Howard
bad4a24449 Use AC_MEMCPY rather than memcpy() - has overlapping regions 2004-02-28 02:59:58 +00:00
Ralf Haferkamp
25c9bb33c7 Declare ListType inside class definition 2004-02-03 17:11:17 +00:00
Howard Chu
9f3d15efb7 Copied unsupported password mechanisms to here. Move more as necessary. 2004-01-25 13:07:52 +00:00
Ralf Haferkamp
14a6bced66 add getKind method 2004-01-22 16:26:38 +00:00
Kurt Zeilenga
98c37637e3 Add modules/plugins 2004-01-17 19:56:40 +00:00
Luke Howard
51740982f4 fix copyrights 2004-01-10 05:22:59 +00:00
Luke Howard
5e9cfcd9c4 More documentation 2004-01-10 05:09:00 +00:00
Luke Howard
0354426a98 Update copyright notice 2004-01-10 05:05:56 +00:00
Luke Howard
8172ba1895 Don't return API result codes on wire 2004-01-10 05:04:37 +00:00
Luke Howard
bffe986a31 Add rcsID tag 2004-01-10 05:00:33 +00:00
Luke Howard
895c0ec421 *** empty log message *** 2004-01-10 05:00:04 +00:00
Luke Howard
016f332624 Add some sample plugins 2004-01-10 04:54:24 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Howard Chu
5555612699 #ifdef for auxprop_store 2003-11-29 23:09:39 +00:00
Howard Chu
2a2fc44cde Use OpenLDAP Public License 2003-11-29 23:04:39 +00:00
Kurt Zeilenga
f2456fecae Minor updates 2003-11-29 22:56:18 +00:00
Howard Chu
032d2b3578 Cleanup unneeded definitions 2003-11-28 15:44:23 +00:00
Howard Chu
0132af8433 Added ldapdb_axuprop_store for use with Cyrus SASL 2.1.16+ 2003-11-28 15:38:12 +00:00
Howard Chu
0251ed1749 Add note about not using ldapdb with slapd. 2003-10-19 22:45:00 +00:00
Howard Chu
e91b0435e2 Misc notes 2003-10-19 19:41:14 +00:00
Howard Chu
db24b00660 Fix use of ProxyAuthz control 2003-10-13 19:30:28 +00:00
Howard Chu
a53514078c Fix non-portable initializers. 2003-10-09 10:36:28 +00:00
Howard Chu
fee0f44307 Added ldapdb_starttls keyword 2003-10-07 00:19:36 +00:00
Howard Chu
ffab52e529 ITS#2691 use putenv() instead of setenv() for portability 2003-09-13 10:20:27 +00:00
Ralf Haferkamp
39bc8e7ecc honor superior Objectclasses 2003-06-25 18:12:06 +00:00
Ralf Haferkamp
e995b2fd35 Added utility classes for Schema parsing 2003-06-24 18:05:03 +00:00
Howard Chu
07287da277 Fix berval len assignments 2003-06-06 20:19:30 +00:00
Ralf Haferkamp
b967cb9dbf regenerated autoconf/automake stuff 2003-06-05 18:14:46 +00:00
Ralf Haferkamp
3f4c09183f Moved sample code to examples dir 2003-06-05 18:10:44 +00:00
Ralf Haferkamp
851407f4e4 removed caching 2003-06-05 17:35:12 +00:00
Howard Chu
a14acc68e2 ITS#2423 don't malloc prompt results 2003-04-06 00:52:24 +00:00
Howard Chu
7088d5c4bd Add copyright notice 2003-03-09 01:03:41 +00:00
Howard Chu
f881657c08 Don't call strlen ourselves, SASL getopt returns the lengths 2003-03-07 12:40:37 +00:00
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