Commit Graph

607 Commits

Author SHA1 Message Date
Ralf Haferkamp
1d468467e6 Don't crash on empty groups (ITS#5800) 2008-11-10 14:24:29 +00:00
Ralf Haferkamp
93f3ae50db Adapt to recent changes in filter_free_x() interface 2008-11-07 13:38:30 +00:00
Pierangelo Masarati
d641477db0 more about ITS#5732 2008-11-01 14:30:14 +00:00
Howard Chu
da347b78b9 ITS#5766 honor principal expiration 2008-10-30 15:56:48 +00:00
Howard Chu
bcbb456391 remove references to OpenLDAP 2.4.6 2008-09-04 02:15:21 +00:00
Ralf Haferkamp
13342fdb79 - remove unneeded Copy-Constructor
- allow to create Controls with no value
2008-08-27 21:19:51 +00:00
Ralf Haferkamp
4aa7e7a5b8 Allow to pass LDAP_SCHEMA_-flags 2008-08-08 11:14:58 +00:00
Howard Chu
e7383994fb ITS#5575, passwords now need to be NUL-terminated by us 2008-06-23 19:32:45 +00:00
Ralf Haferkamp
62b03af050 regenerated 2008-06-23 15:23:56 +00:00
Ralf Haferkamp
65138bc66d Added missing files for make dist 2008-06-23 15:22:38 +00:00
Ralf Haferkamp
cf9c81710f regenerated 2008-06-23 14:42:08 +00:00
Ralf Haferkamp
21ec8aaac7 include version.var and .sh into the distribution 2008-06-23 14:40:35 +00:00
Ralf Haferkamp
0a73b8a854 regenerated autoconf related files 2008-06-23 14:26:49 +00:00
Ralf Haferkamp
1d82d1d86a Define library version/release in version.var to avoid regenerating
Makefile.in with every release. (works similar to OpenLDAP's main
version.sh/version.var)
2008-06-23 14:09:38 +00:00
Ralf Haferkamp
2bc9106fe1 cleanup, added AC_COPYRIGHT and AC_REVISION macros 2008-06-23 11:08:36 +00:00
Howard Chu
329f4e53c8 s/must/may/ - SSDs are available whether configured or not 2008-06-21 19:13:23 +00:00
Ralf Haferkamp
af38418187 be more liberal when parsing LDIF Entries 2008-06-20 13:19:12 +00:00
Hallvard Furuseth
70a964e64d nitpicks 2008-06-16 12:57:26 +00:00
Gavin Henry
f2433f5b9f Read over, update using work from hallvard and spell check. 2008-06-16 11:20:25 +00:00
Hallvard Furuseth
64f2ea996f Initial revision 2008-06-14 18:18:08 +00:00
Ralf Haferkamp
31780c2add added support for deleting attribute type from the list of attributes 2008-06-12 14:47:55 +00:00
Howard Chu
37784d76e3 Add nssov overlay 2008-06-02 12:13:00 +00:00
Howard Chu
c682cce27c nss-ldap overlay, built with nss-ldapd-0.6.2 2008-06-02 12:08:05 +00:00
Emmanuel Dreyfus
7baff7393c Use DES_* functions instead of deprecated des_* 2008-05-20 05:18:33 +00:00
Emmanuel Dreyfus
364b87f587 Here is slapo-nops, used to remove idempotent operations (i.e.: replacing
an attribute values by the exact same values)
2008-05-19 22:44:08 +00:00
Ralf Haferkamp
318a680879 - removed unneeded copy constructor
- handle more AttributeType properties
- additional "const"-ification
2008-04-30 17:43:32 +00:00
Ralf Haferkamp
c9f7beb86a Use "const" where appropriate 2008-04-30 15:18:28 +00:00
Gavin Henry
51be9d70fe just a typo I found when reading. 2008-04-07 17:19:23 +00:00
Gavin Henry
e720e064c6 just a typo I found when reading. 2008-04-07 16:05:59 +00:00
Ralf Haferkamp
20d2188cbf empty() and size() methods 2008-04-04 10:36:01 +00:00
Howard Chu
78a1714ad9 Fix bogus whitespace from 1.18 2008-04-03 09:48:39 +00:00
Ralf Haferkamp
ee846c174c SASL support for LDAPConnection 2008-04-01 16:35:42 +00:00
Ralf Haferkamp
e4c84417f7 added $OpenLDAP$ CVS Keyword 2008-03-28 11:27:24 +00:00
Ralf Haferkamp
93529d26c5 added $OpenLDAP$ CVS Keyword 2008-03-28 11:05:10 +00:00
Ralf Haferkamp
14336cb9ae - Build LdifWriter
- added $OpenLDAP$ CVS Keyword
2008-03-28 10:57:48 +00:00
Ralf Haferkamp
2297aaf3f8 initial LdifWriter code 2008-03-27 17:02:37 +00:00
Ralf Haferkamp
5568abbbca - Plugged memory leak default constructor
- Fixed copy-constructor
2008-03-27 14:02:58 +00:00
Ralf Haferkamp
133ecac740 build LdifReader 2008-03-20 16:11:15 +00:00
Ralf Haferkamp
e4b9519810 Improved error handling 2008-03-20 16:10:37 +00:00
Ralf Haferkamp
fee0730f26 derive LDAPException from std::exception, merged ReferralException into the
LDAPException files
2008-03-20 15:08:29 +00:00
Ralf Haferkamp
9277b5b45f missing pieces from last commit 2008-03-20 13:24:49 +00:00
Ralf Haferkamp
289e63985c Read LDIF version, handle comments and empty lines 2008-03-20 10:01:33 +00:00
Ralf Haferkamp
8df3224ccf Initial code for Ldif classes 2008-03-17 16:08:51 +00:00
Ralf Haferkamp
8f98dc6585 Allow IPv6 addresses 2008-03-17 13:57:47 +00:00
Ralf Haferkamp
adee18e145 Fixed parsing of URIs with missing host and/or port 2008-03-17 11:18:47 +00:00
Gavin Henry
17f22b3ee7 Updated via 'doxygen -u doxygen.rc' 2008-03-07 17:18:22 +00:00
Gavin Henry
7b3015b338 Tidied include lines 2008-03-07 16:46:23 +00:00
Howard Chu
ef852b01aa Cleanup 2008-03-04 01:11:19 +00:00
Ralf Haferkamp
b3e5e04595 Remove request from active requests stack in exception handler 2008-02-26 13:34:59 +00:00
Ralf Haferkamp
2b628547f5 Avoid double free of LDAPRequest 2008-02-26 13:24:02 +00:00
Ralf Haferkamp
9cbcbbe596 fixed missing #includes 2008-01-22 15:34:04 +00:00
Ralf Haferkamp
98f63844c8 cleanup #includes, removed SUSE-specific stuff from comments 2008-01-22 14:31:54 +00:00
Ralf Haferkamp
2c52832d1a add wrapper methods to add/replace Attributes 2008-01-22 14:14:39 +00:00
Hallvard Furuseth
cd63a0c43b Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key() 2008-01-11 06:07:43 +00:00
Hallvard Furuseth
2ab2740cbb ldap_pvt_thread_pool_getkey() arg 'data' should point to a void* variable 2008-01-08 16:23:05 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Pierangelo Masarati
30f401c628 rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309) 2008-01-07 21:35:03 +00:00
Howard Chu
ea9863bf6c Assign contrib config OID 2007-12-28 07:51:00 +00:00
Ralf Haferkamp
3ce83307f7 autoconf/automake adjustments, regenerated files 2007-12-20 12:35:30 +00:00
Ralf Haferkamp
ba0cd79651 initial support for SASL 2007-12-20 12:33:48 +00:00
Ralf Haferkamp
c677b95768 Fixed includes 2007-12-20 11:58:40 +00:00
Ralf Haferkamp
621099e15d Check for active requests before trying to receive a message 2007-12-20 11:49:03 +00:00
Ralf Haferkamp
914872c12a Helper Classes to handle cyrus-sasl interactions 2007-12-19 16:54:42 +00:00
Pierangelo Masarati
20f2548c82 fix declarations of buffers for numeric strings; other related cleanup 2007-12-15 15:23:23 +00:00
Howard Chu
946e859108 ITS#5145 autogroups, with minor cleanup 2007-12-15 11:48:56 +00:00
Ralf Haferkamp
b52fb10b13 moved ldap_result() code to the LDAPRequest-Class 2007-12-11 16:57:21 +00:00
Ralf Haferkamp
f0b840c4f7 getURLString() is const now to avoid uneeded copying when using UrlLists 2007-11-21 11:19:10 +00:00
Gavin Henry
da801e3db0 addpartial overlay update for 2.4.6 (ITS#3593) 2007-11-14 18:05:07 +00:00
Ralf Haferkamp
99fab38565 increased version number and regenerated autoconf/automake files 2007-11-07 11:02:26 +00:00
Ralf Haferkamp
d63b735e7f Fixed gcc 4.3 compile issues 2007-11-07 11:01:03 +00:00
Ralf Haferkamp
029a05a8d5 use URIs instead of hostname/port 2007-10-17 17:07:05 +00:00
Ralf Haferkamp
f3c2c29f69 fixed typo 2007-10-17 16:42:07 +00:00
Howard Chu
6db8d0d1b5 Init/destroy mutex 2007-09-27 19:20:04 +00:00
Howard Chu
e6d027ae8f Microsoft-style Update Sequence Numbers 2007-09-27 02:09:38 +00:00
Howard Chu
148afe6aa0 Add Modifications / sml_numvals 2007-09-23 00:22:47 +00:00
Howard Chu
75df004a04 Use OLcfgCt{Oc|At} arc for contrib modules 2007-09-22 23:58:54 +00:00
Ralf Haferkamp
8d8f2d4378 Silence compiler warnings 2007-09-21 11:27:23 +00:00
Ralf Haferkamp
7c3476d188 Regenerated 2007-09-21 11:13:12 +00:00
Ralf Haferkamp
89db79cde5 more for out of source builds 2007-09-21 11:05:10 +00:00
Ralf Haferkamp
4f894ffe22 out of source builds should work now 2007-09-21 11:03:14 +00:00
Ralf Haferkamp
0b326103d6 #ifdef LDAP_OPT_DIAGNOSTIC_MESSAGE, to be able to build with older libldap 2007-09-21 11:00:23 +00:00
Ralf Haferkamp
1585022fde Adopted to latest API changes 2007-08-03 12:17:47 +00:00
Gavin Henry
780f25c512 New module. ITS#3593 2007-07-27 11:08:09 +00:00
Pierangelo Masarati
5616af14c3 needs portable.h 2007-06-02 11:31:17 +00: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
Pierangelo Masarati
bf144a4ec0 apply fixes in ITS#4951 (tested) 2007-05-13 23:14:55 +00:00
Hallvard Furuseth
bbc719ca56 ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
Ralf Haferkamp
5856d39289 Fixed initialization of "usage" and "single" attributes 2007-01-24 14:27:29 +00:00
Ralf Haferkamp
7741e1eeff add support for usage flag 2007-01-09 12:24:04 +00:00
Ralf Haferkamp
69e3a58b2b store LDAP_OPT_DIAGNOSTIC_MESSAGE in correct Attribute 2007-01-09 12:23:31 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
0544badf19 move slapo-denyop to contrib/slapd-modules/debyop/ 2006-12-28 16:30:53 +00:00
Pierangelo Masarati
9fc7cd7267 move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701) 2006-12-28 16:30:33 +00:00
Pierangelo Masarati
26c2c98196 move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701) 2006-12-28 16:23:57 +00:00
Pierangelo Masarati
b11f35f104 fix typo 2006-12-17 22:34:35 +00:00
Howard Chu
e05fdb41fc Check for failure from k5adm init 2006-12-15 16:38:45 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Ralf Haferkamp
ca7bf18fe8 reworked #includes 2006-10-10 14:25:00 +00:00
Luca Scamoni
fbed376e2d add support for "sambaPwdCanChange" 2006-09-21 09:17:05 +00:00
Pierangelo Masarati
a9c4b54f1b really really minor cleanup 2006-09-08 21:19:05 +00:00
Ralf Haferkamp
2d2ad0e314 example code for the LDAPUrl Class 2006-07-03 16:31:27 +00:00
Ralf Haferkamp
804ff1ed94 new routines for parsing/constructing LDAP Urls 2006-07-03 16:30:33 +00:00
Ralf Haferkamp
b0bb5cc23c minor cleanup 2006-07-03 16:29:30 +00:00
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
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
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
Kurt Zeilenga
2a5c0edff4 Update contrib README 1999-07-22 23:09:04 +00:00
Hallvard Furuseth
48bb692d01 Add comment that socklen_t should be used 1999-07-16 18:59:37 +00:00
Kurt Zeilenga
cb68aab469 s/ldap_open/ldap_init/ calls... ldap_open is deprecated. 1999-06-13 21:49:35 +00:00
Kurt Zeilenga
21c70857f1 s/<stdlib.h>/<ac/stdlib.h>/ 1999-06-03 00:37:44 +00:00
Kurt Zeilenga
dc07e765f2 Vienna Bulk Commit
This commit includes many changes.  All changes compile under NT but
have not been tested under UNIX.

A Summary of changes (likely incomplete):

NT changes:
	Removed lint.
	Clean up configuration support for "Debug", "Release", "SDebug",
		and "SRelease" configurations.
	Share output directories for clients, libraries,
		and slapd.  (maybe they should be combined further
		and moved to build/{,S}{Debug,Release}).
	Enable threading when _MT is defined.
	Enable debuging when _DEBUG is defined.
	Disable setting of NDEBUG under Release/SRelease.  Asserts
		are disabled in <ac/assert.h> when LDAP_DEBUG is not
		defined.
	Added 'build/main.dsp' Master project.
	Removed non-slapd projects from slapd.dsp (see main.dsp).
	Removed replaced many uses of _WIN32 macro with feature based
		macros.

ldap_cdefs.h changes
	#define LDAP_CONST const
		(see below)
	#define LDAP_F(type) LDAP_F_PRE type LDAP_F_POST
		To allow specifiers to be added before and after
		the type declaration.  (For DLL handling)

LBER/LDAP changes
	Namespace changes:
		s/lber_/ber_/ for here and there.
		s/NAME_ERROR/LDAP_NAME_ERROR/g
	Deleted NULLMSG and other NULL* macros for namespace reasons.
	"const" libraries.  Installed headers (ie: lber.h, ldap.h)
		use LDAP_CONST macro.  Normally set to 'const' when
		__STDC__.  Can be set externally to enable/disable
		'constification' of external interface.  Internal
		interface always uses 'const'.  Did not fix warnings
		in -lldif (in lieu of new LDIF parser).

	Added _ext API implementations (excepting search and bind).
		Need to implement ldap_int_get_controls() for reponses
		with controls.

	Added numberous assert() checks.

LDAP_R
	_MT defines HAVE_NT_THREADS
	Added numberous assert() checks.
	Changed ldap_pthread_t back to unsigned long.  Used cast
	to HANDLE in _join().

LDBM
	Replaced _WIN32 with HAVE_SYSLOG

ud
	Added version string if MKVERSION is not defined.  (MKVERSION
		needs to be set under UNIX).

slapd
	Made connection sockbuf field a pointer to a sockbuf.  This
		removed slap.h dependency on lber-int.h.  lber-int.h now only
		included by those files needing to mess with the sockbuf.
	Used ber_* functions/macros to access sockbuf internals whenever
		possible.
	Added version string if MKVERSION is not defined.  (MKVERSION
		needs to be set under UNIX).
	Removed FD_SET unsigned lint

slapd/tools
	Used EXEEXT to added ".exe" to routines.  Need to define EXEEXT
		under UNIX.

ldappasswd
	Added ldappasswd.dsp.  Ported to NT.  Used getpid() to seed rand().

nt_debug
	Minor cleanup.  Added "portable.h" include and used <ac/*.h> where
	appropriate.  Added const to char* format argument.
1999-05-19 01:12:33 +00:00
Ben Collins
a0c33034bf Include sys/time.h if we have it defined, needed for some systems, to define time_t 1999-05-04 12:40:29 +00:00
Ben Collins
b882fd8ca9 Install man page from 26797srcdir in case building from a seperate builddir 1999-05-04 12:39:12 +00:00
Hallvard Furuseth
e871ad7f47 Add RFC931 and INTERNATIONAL installation variables 1999-04-30 08:22:07 +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
Kurt Zeilenga
30665cb19a Misc header cleanup 1999-03-29 02:07:18 +00:00
Hallvard Furuseth
dd44e1c28f Initial port of web_ldap to OpenLDAP. Also fixed some doc bugs. 1999-03-27 18:05:33 +00:00
Hallvard Furuseth
a3bc2bbe63 free() -> ldap_memfree() change 1999-03-27 16:51:05 +00:00
Hallvard Furuseth
8654f340cb selectObjectClass returned without a value. Return NULL instead. 1999-03-14 07:42:14 +00:00
Hallvard Furuseth
02d668d8a8 free -> ldap_memfree. Remove spurious strdup. 1999-03-14 07:40:45 +00:00