Howard Chu
890d4b9449
Moved stdio replacements from liblutil lutil_* to liblber ber_pvt_*.
2002-09-10 00:47:32 +00:00
Kurt Zeilenga
e6fdfd4cee
only optimize objectClass filters when (objectClass=*) is
...
presented... avoids (&(objectClass=*)(objectClass=foo)) problems.
2002-09-09 23:25:22 +00:00
Kurt Zeilenga
07a6d6c208
(re)insert reference to rfc2253
2002-09-09 07:01:51 +00:00
Kurt Zeilenga
b41d7df452
Add clarification
2002-09-09 06:59:51 +00:00
Kurt Zeilenga
be39bfd36a
Update access control section to avoid regex usage
2002-09-09 06:53:11 +00:00
Howard Chu
9953574b47
Fix: if slapadd was used with an un-ordered LDIF file, we can't rely on
...
entries having ascending entry IDs. Always start from the beginning of
the candidate list. (This should be fine in the general case as well,
since the subtree index will also have refined the candidates.)
2002-09-09 04:24:38 +00:00
Howard Chu
30de884223
More memory cleanup
2002-09-09 00:56:57 +00:00
Howard Chu
a4b30ce455
Plug memleaks from -r1.45
2002-09-09 00:55:52 +00:00
Kurt Zeilenga
64fcd8b043
Add note about "children" to access controls section.
...
Clarify cut-n-past in quickstart.
2002-09-09 00:47:01 +00:00
Howard Chu
3f41c614a1
Added ldapcompare.c to SRCS so it will be processed by make depend
2002-09-08 22:01:29 +00:00
Howard Chu
3ab4579eca
Unneeded, merged into regular mkdep script
2002-09-08 12:37:01 +00:00
Howard Chu
49f7399e24
Added rules to use "cc -E" output to generate dependencies.
2002-09-08 12:36:25 +00:00
Howard Chu
59bab3280d
Use C preprocessor to generate #line directives that can be parsed to
...
generate dependencies. setenv MKDEP to this file before running configure.
2002-09-08 11:24:56 +00:00
Kurt Zeilenga
007b618d99
Should resolve ITS#2071
2002-09-07 18:27:57 +00:00
Pierangelo Masarati
b8240724ad
optimize also duplicate/existence check in value delete operations
2002-09-07 16:08:30 +00:00
Howard Chu
afce29547d
Regenerated with Pthread version update
2002-09-07 14:24:22 +00:00
Howard Chu
c9b7fc6407
New POSIX threads version support. Detects Draft 4,5,6,7,10 (final).
...
Should eliminate individual checks for pthread_yield, sched_yield,
and pthread_detach, but they're left in for now as a redundant check.
2002-09-07 14:09:09 +00:00
Howard Chu
f54de4360b
stdio #defines for HAVE_EBCDIC
2002-09-07 14:05:17 +00:00
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