Commit Graph

388 Commits

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