Kurt Zeilenga
11761fa6ca
Add NT-MTA-MD5 Support.
...
Based, in part, from ITS#1502 submission from John Morrissey.
Copyright 2001, John Morrissey (jwm at horde dot net), All rights reserved.
This is free software; you can redistribute and use it under the same terms
as OpenLDAP itself.
2002-09-07 01:51:12 +00:00
Howard Chu
4d8a2e2815
Remove dependencies on HAVE_VSNPRINTF, use replacement in liblutil/stdio.c
...
if needed. Same check for snprintf.
2002-09-06 20:54:22 +00:00
Howard Chu
b623e4495b
Fix typo in one-level searches, left over from -r1.23 cleanup
2002-09-06 12:37:24 +00:00
Howard Chu
ee30206bc2
Merged ldap_get_values_ber into ldap_get_attribute_ber.
2002-09-06 04:57:21 +00:00
Kurt Zeilenga
37d9880495
Some LCUP clean up
2002-09-06 00:29:20 +00:00
Howard Chu
bbc22d5318
Added 2nd version of print_entry using new ldap_get_*_ber functions.
...
#if'd out by default, but it works fine. Kept both for easy comparison.
2002-09-05 11:38:07 +00:00
Howard Chu
6a903bc1e5
Added new ldap_get_{dn,attribute,values}_ber functions for linearly
...
processing a search entry. Avoids O(n^2) ldap_get_values() behavior.
2002-09-05 11:33:32 +00:00
Howard Chu
73207c7110
Replace HACK in slap_sasl_canonicalize with safer test.
2002-09-05 11:01:12 +00:00
Kurt Zeilenga
ab80b03057
back_attribute() should use ACL_AUTH not ACL_READ (at
...
least for current callers, may need to pass it the
permission level)
2002-09-05 02:37:10 +00:00
Kurt Zeilenga
f0a3a7bb47
Add reference to ldap.conf(5)
2002-09-04 21:00:11 +00:00
Kurt Zeilenga
2ca678ea2e
More LDAPNOINIT statement to top of DESCRIPTION
2002-09-04 20:59:57 +00:00
Howard Chu
62ceae250c
ITS#2065 omit libbackends.a when no static backends configured.
...
Also fixed dependencies for dynamic backends and tools.
2002-09-04 10:58:25 +00:00
Howard Chu
af05dd5511
Set SSL session cache context ID
2002-09-04 07:17:31 +00:00
Kurt Zeilenga
f64021ed2f
Use registered 666 numbers for LCUP controls
2002-09-04 02:46:24 +00:00
Howard Chu
f83d30a727
Fix previous commit - still need X509_free for peer cert.
...
Just not for local/my cert.
2002-09-04 02:28:42 +00:00
Kurt Zeilenga
a83cc88edd
Move ldap_control_dup() to ldap_pvt.h
2002-09-04 02:14:12 +00:00
Jong Hyuk Choi
4b48c05a8e
LDAP Client Update Protocol - non-persistent update (TODO: response control ...)
2002-09-04 02:00:42 +00:00
Howard Chu
5d062ef54c
Don't call X509_free after SSL_get_certificate, it's not a duplicate.
2002-09-04 01:56:09 +00:00
Pierangelo Masarati
5d50463376
optimize duplicate detection based on mods and existing values count
2002-09-03 15:12:36 +00:00
Kurt Zeilenga
69ba1a21bc
Extend checks to substrings rules. Need to kludge around
...
LDAP's kludged builtin substrings rules.
2002-09-03 07:28:57 +00:00
Kurt Zeilenga
8a5b200c44
Add appropriate matching rule checks.
...
Clean up syntax error reporting.
2002-09-03 07:01:09 +00:00
Howard Chu
3099d89d9e
Don't use sasl_set_alloc on Cyrus 2, it manages all of its memory
...
internally and we don't want to get in the way.
2002-09-02 22:25:26 +00:00
Kurt Zeilenga
ae187de8c0
Add ldapsasl
2002-09-02 22:18:49 +00:00
Kurt Zeilenga
3e1a896928
Update comment
2002-09-02 22:07:23 +00:00
Pierangelo Masarati
d3ca441ae8
/*
...
* The original code performs ( n ) normalizations
* and ( n * ( n - 1 ) / 2 ) matches, which hide
* the same number of normalizations. The new code
* performs the same number of normalizations ( n )
* and ( n * ( n - 1 ) / 2 ) mem compares, far less
* expensive than an entire match, if a match is
* equivalent to a normalization and a mem compare ...
*
* This is far more memory expensive than the previous,
* but it can heavily improve performances when big
* chunks of data are added (typical example is a group
* with thousands of DN-syntax members; on my system:
* for members of 5-RDN DNs,
members orig bvmatch (dirty) new
1000 0m38.456s 0m0.553s 0m0.608s
2000 2m33.341s 0m0.851s 0m1.003s
* Moreover, 100 groups with 10000 members each were
* added in 37m27.933s (an analogous LDIF file was
* loaded into Active Directory in 38m28.682s, BTW).
*
* Maybe we could switch to the new algorithm when
* the number of values overcomes a given threshold?
*/
2002-09-02 19:41:03 +00:00
Pierangelo Masarati
eb38db1be5
various fixes and improvements
2002-09-02 19:39:31 +00:00
Pierangelo Masarati
857d08ea21
use bvmatch() instead of ber_bvcmp() when testing for match without ordering
2002-09-02 19:39:06 +00:00
Kurt Zeilenga
3cb2dc149d
Document -R
2002-09-02 19:25:10 +00:00
Kurt Zeilenga
132506e13c
Add NOOP search support.
2002-09-02 17:38:17 +00:00
Howard Chu
90b1e7bd45
Fix ldap_X509dn2bv, OpenSSL gives us DN attributeTypes in EBCDIC
2002-09-02 13:46:56 +00:00
Howard Chu
f22855e6be
Fix slapd startup ldapsearch loop
2002-09-01 11:39:08 +00:00
Kurt Zeilenga
8f09321eb9
Clarify that rootpw is not needed when rootdn is not within database
2002-09-01 02:54:56 +00:00
Kurt Zeilenga
b67986cdde
Format tweaks
2002-09-01 01:49:25 +00:00
Kurt Zeilenga
7901bc8f5b
Reflect latest contributions
2002-09-01 01:47:59 +00:00
Kurt Zeilenga
af183089b8
unifdef -DSLAP_X_MRA_MATCH_DNATTRS
2002-09-01 00:33:20 +00:00
Kurt Zeilenga
316fb4f7d7
Forced commit: added comments not whitespace in last commit
2002-08-31 22:24:41 +00:00
Kurt Zeilenga
4d2b4e47ca
Add in extra white space
2002-08-31 22:24:05 +00:00
Kurt Zeilenga
b5f51ed4a5
have get_mra use mr_usable_with_at() as well
2002-08-31 21:39:42 +00:00
Kurt Zeilenga
c6052ac8b0
Add mr_usable_with_at() routine. Use both in generation
...
of rule uses, but also in test_filter_mra()
2002-08-31 21:23:45 +00:00
Kurt Zeilenga
5c61f55faa
Make sure we don't expose hidden attribute types in rule uses
2002-08-31 20:49:50 +00:00
Kurt Zeilenga
e9a71156cc
Add matching rule use support where assertion syntax != value syntax
2002-08-31 20:42:25 +00:00
Kurt Zeilenga
04c71ce9b2
List approximates as well in rule uses.
...
Don't yet list ordering rules yet, these require special attention (and
hence are not marked MR_EXT yet)
2002-08-31 19:25:41 +00:00
Kurt Zeilenga
d6ac7ac544
Fix last commit.
...
Also add uses where mr is the attribute's equality rule.
2002-08-31 19:17:54 +00:00
Kurt Zeilenga
2908cdff11
MR_EXT rules can be used with any type whose syntax is same as
...
the syntax's assertion syntax.
2002-08-31 19:05:36 +00:00
Kurt Zeilenga
6c7104c82b
Don't hide matchingRuleUse's description (now implemented)
...
Use attribute's cname not oid in matching rule uses
2002-08-31 18:41:21 +00:00
Pierangelo Masarati
966dd1bdca
definitely fix NOOP in back-bdb
2002-08-31 17:03:42 +00:00
Pierangelo Masarati
fd3302699e
add ldif control support (ITS#2060, patch from David Steck <dsteck@novell.com>)
2002-08-31 12:02:39 +00:00
Pierangelo Masarati
0d5fe062e2
improved support for NOOP; add is fine, the other write funcs still need work
2002-08-31 12:00:39 +00:00
Pierangelo Masarati
a0c54f1625
use ldap_charray_add instead of dedicated helper; get rid of dependency from ldap-int.h
2002-08-31 11:14:15 +00:00
Pierangelo Masarati
71aecea2aa
fix bitwise matching (courtesy of Luke Howard)
2002-08-31 10:56:27 +00:00