]>
git.sur5r.net Git - openldap/log
Howard Chu [Sat, 24 Nov 2001 12:41:54 +0000 (12:41 +0000)]
More indexing fixes. Now passes tests 0-7, 10, and 11.
Howard Chu [Sat, 24 Nov 2001 12:28:52 +0000 (12:28 +0000)]
Fixed exit condition code checks and log msg, was returning fail on success.
Howard Chu [Sat, 24 Nov 2001 03:46:02 +0000 (03:46 +0000)]
Removed unused "range" argument from indexing functions. Fixed more
bugs in indexing. Uncommented #define to turn on indexing in back-bdb.h.
It looks like it's working.
Howard Chu [Sat, 24 Nov 2001 03:44:28 +0000 (03:44 +0000)]
Fixed initialization bug.
Howard Chu [Sat, 24 Nov 2001 03:43:52 +0000 (03:43 +0000)]
Fix initialization bugs
Howard Chu [Sat, 24 Nov 2001 02:40:59 +0000 (02:40 +0000)]
Fix typo that prevented rootdn logins.
Mark Adamson [Wed, 21 Nov 2001 20:28:15 +0000 (20:28 +0000)]
Allow size and time limits in slapd.conf for anonymous bound search operations
Pierangelo Masarati [Sat, 17 Nov 2001 16:18:07 +0000 (16:18 +0000)]
minor cleanup
Pierangelo Masarati [Sat, 17 Nov 2001 14:39:10 +0000 (14:39 +0000)]
minor cleanup
Pierangelo Masarati [Sat, 17 Nov 2001 14:24:27 +0000 (14:24 +0000)]
minor cleanup
Pierangelo Masarati [Sat, 17 Nov 2001 14:09:38 +0000 (14:09 +0000)]
fix misinitialized UNDEFINED attribute type; reordered members of AttributeType because I don't know a portable way to statically initialize a mutex :)
Pierangelo Masarati [Sat, 17 Nov 2001 09:21:22 +0000 (09:21 +0000)]
add const
Howard Chu [Sat, 17 Nov 2001 04:51:08 +0000 (04:51 +0000)]
equality_candidates: s/BDB_IDL_RANGE_CPY/BDB_IDL_CPY/
Howard Chu [Sat, 17 Nov 2001 04:41:47 +0000 (04:41 +0000)]
First pass at indexing cleanup. Both filterindex.c and search.c now
compile cleanly when BDB_FILTER_INDICES is defined, but I have not
yet seen whether any of it actually works. In particular, I don't
understand the "range" argument to the candidate functions...
Howard Chu [Sat, 17 Nov 2001 00:46:00 +0000 (00:46 +0000)]
ainfo_free no longer needed
Kurt Zeilenga [Fri, 16 Nov 2001 18:10:37 +0000 (18:10 +0000)]
bitString fixes from Julius Enarusai (ITS#1441)
Pierangelo Masarati [Fri, 16 Nov 2001 17:05:32 +0000 (17:05 +0000)]
moved the empty dn static entry into a global const object
Pierangelo Masarati [Fri, 16 Nov 2001 15:06:18 +0000 (15:06 +0000)]
update dn can add/modrdn/delete entries rooted at '' (according to ACLs)
Pierangelo Masarati [Fri, 16 Nov 2001 15:00:03 +0000 (15:00 +0000)]
check children access for old and new parent when = ''
Pierangelo Masarati [Fri, 16 Nov 2001 14:08:17 +0000 (14:08 +0000)]
updatedn can add '' rooted entries (according to ACLs)
Pierangelo Masarati [Fri, 16 Nov 2001 14:04:54 +0000 (14:04 +0000)]
check children access to newSuperior
Pierangelo Masarati [Fri, 16 Nov 2001 12:24:22 +0000 (12:24 +0000)]
non-root modrdn of entries rooted at '' checks children write permission (completes previous add/delete fix; needs be ported to back-bdb)
Pierangelo Masarati [Fri, 16 Nov 2001 11:47:15 +0000 (11:47 +0000)]
check for update dn
Howard Chu [Fri, 16 Nov 2001 08:18:58 +0000 (08:18 +0000)]
Changed AttributeType.sat_cname from char * to struct berval.
Forced SLAP_USE_AD code, removed ifdefs of old code. filterindex.c is
still badly broken when BDB_FILTER_INDICES is defined, working on that...
Howard Chu [Fri, 16 Nov 2001 07:45:37 +0000 (07:45 +0000)]
Changed AttributeType.sat_cname from char * to struct berval.
(will fix up back-bdb next.)
Howard Chu [Fri, 16 Nov 2001 07:39:14 +0000 (07:39 +0000)]
Changed global ad_mutex into per-attributeType mutex. Added
ad_find_lang() to search an AttributeType for a given language variant.
(Will be used in back-bdb/back-ldbm index code...)
Ralf Haferkamp [Wed, 14 Nov 2001 17:33:54 +0000 (17:33 +0000)]
Fixed some memory allocation/freeing bugs
Pierangelo Masarati [Wed, 14 Nov 2001 17:27:24 +0000 (17:27 +0000)]
hack to make '' base work; please check side-effects
Pierangelo Masarati [Wed, 14 Nov 2001 16:17:30 +0000 (16:17 +0000)]
fix a couple of misformats
Pierangelo Masarati [Wed, 14 Nov 2001 16:09:33 +0000 (16:09 +0000)]
non-root add/delete of entries rooted at '' checks children write permission (forward port from back-ldbm)
Pierangelo Masarati [Wed, 14 Nov 2001 16:08:59 +0000 (16:08 +0000)]
non-root add/delete of entries rooted at '' checks children write permission
Kurt Zeilenga [Tue, 13 Nov 2001 20:31:00 +0000 (20:31 +0000)]
Remove slap_get_time optimization.
timelimit must be checked on first entry.
Kurt Zeilenga [Tue, 13 Nov 2001 19:45:47 +0000 (19:45 +0000)]
Port ITS#1430 changes from ldbm
Kurt Zeilenga [Tue, 13 Nov 2001 18:16:07 +0000 (18:16 +0000)]
rm currenttime_mutex.
trival other cleanup.
Mark Adamson [Tue, 13 Nov 2001 01:38:30 +0000 (01:38 +0000)]
optimize number of calls to slap_get_time()
Howard Chu [Mon, 12 Nov 2001 21:39:55 +0000 (21:39 +0000)]
Fix - put group cache search after backend has been selected
Howard Chu [Mon, 12 Nov 2001 20:52:25 +0000 (20:52 +0000)]
Added bdb_attribute and bdb_group ACL support routines
Howard Chu [Mon, 12 Nov 2001 20:28:23 +0000 (20:28 +0000)]
Fix missing case
Howard Chu [Mon, 12 Nov 2001 19:37:48 +0000 (19:37 +0000)]
Added backend_group result caching.
Howard Chu [Mon, 12 Nov 2001 19:25:41 +0000 (19:25 +0000)]
Added backend_group result caching.
Pierangelo Masarati [Mon, 12 Nov 2001 17:32:52 +0000 (17:32 +0000)]
Fixes first part of ITS#1430
Pierangelo Masarati [Mon, 12 Nov 2001 17:27:01 +0000 (17:27 +0000)]
Fixes second part of ITS#1430
Pierangelo Masarati [Mon, 12 Nov 2001 17:12:43 +0000 (17:12 +0000)]
Fixes ITS#1433
Pierangelo Masarati [Mon, 12 Nov 2001 11:29:40 +0000 (11:29 +0000)]
trims space after comma in dn.regex acls (prelude to normalization)
Pierangelo Masarati [Mon, 12 Nov 2001 08:47:09 +0000 (08:47 +0000)]
fix bug in previous commit
Pierangelo Masarati [Mon, 12 Nov 2001 08:10:12 +0000 (08:10 +0000)]
struct berval * instead of char * in ldap_ava struct; minor cleanup
Mark Adamson [Mon, 12 Nov 2001 03:15:40 +0000 (03:15 +0000)]
already have the strlen of the attrname in the berval->bv_len
Stig Venaas [Sat, 10 Nov 2001 23:34:03 +0000 (23:34 +0000)]
Fixes memory leaks in do_compare()
Mark Adamson [Fri, 9 Nov 2001 19:22:03 +0000 (19:22 +0000)]
typo in declaration of function.
Mark Adamson [Fri, 9 Nov 2001 19:01:23 +0000 (19:01 +0000)]
use berval's instead of strings with UTF8normalize()
Steve Sonntag [Thu, 8 Nov 2001 20:08:36 +0000 (20:08 +0000)]
Compile error if Cyrus Sasl is not present. Put ifdefs in
unbind call around free of sasl data.
Kurt Zeilenga [Wed, 7 Nov 2001 01:24:32 +0000 (01:24 +0000)]
Remove lint
Howard Chu [Wed, 7 Nov 2001 01:03:49 +0000 (01:03 +0000)]
Added schema_destroy() et al to free schema structures on shutdown
Stig Venaas [Tue, 6 Nov 2001 22:36:28 +0000 (22:36 +0000)]
Fixed more memory leaks
Howard Chu [Tue, 6 Nov 2001 20:52:59 +0000 (20:52 +0000)]
Added ldap_pvt_tls_destroy() to cleanup TLS library on shutdown
Mark Adamson [Tue, 6 Nov 2001 19:07:15 +0000 (19:07 +0000)]
bervals alloc'd by UTF8SubstringsassertionNormalize() must be ber_bvfree'd
Kurt Zeilenga [Tue, 6 Nov 2001 17:05:51 +0000 (17:05 +0000)]
Plug leaks (ITS#1116)
Patch provided by John Morrissey <jwm@horde.net>
Mark Adamson [Mon, 5 Nov 2001 23:14:42 +0000 (23:14 +0000)]
fix various memory leaks
Kurt Zeilenga [Mon, 5 Nov 2001 17:57:09 +0000 (17:57 +0000)]
Add dnsReferral to TO DO list
Kurt Zeilenga [Mon, 5 Nov 2001 17:25:44 +0000 (17:25 +0000)]
Don't use indices to support not [!] filters.
Use pres indices to support LE/GE [<=,>=] filters.
Pierangelo Masarati [Mon, 5 Nov 2001 08:52:01 +0000 (08:52 +0000)]
cleanup
Pierangelo Masarati [Mon, 5 Nov 2001 08:51:29 +0000 (08:51 +0000)]
same typo in more data files (was it intended ? :)
Pierangelo Masarati [Mon, 5 Nov 2001 08:28:26 +0000 (08:28 +0000)]
typo in data (already fixed in test-ordered.ldif)
Howard Chu [Mon, 5 Nov 2001 07:01:12 +0000 (07:01 +0000)]
Fix for dbnosync - DB_TXN_NOSYNC is not a valid flag for dbenv_open,
must be set later using dbenv_set_flags.
Howard Chu [Mon, 5 Nov 2001 06:24:11 +0000 (06:24 +0000)]
Ported referral patches from back-ldbm. I believe search.c still needs
the patch from ITS#1289 to be ported here.
Kurt Zeilenga [Sun, 4 Nov 2001 17:50:16 +0000 (17:50 +0000)]
Fix typo in last commit
Kurt Zeilenga [Sat, 3 Nov 2001 22:07:41 +0000 (22:07 +0000)]
Fix realloc bug (ITS#1410)
Kurt Zeilenga [Sat, 3 Nov 2001 22:03:20 +0000 (22:03 +0000)]
telex number should allow $
Kurt Zeilenga [Sat, 3 Nov 2001 22:02:57 +0000 (22:02 +0000)]
Fix uninitialized pointer bug.
Kurt Zeilenga [Sat, 3 Nov 2001 21:53:44 +0000 (21:53 +0000)]
Some minor adjustments
Kurt Zeilenga [Sat, 3 Nov 2001 19:07:05 +0000 (19:07 +0000)]
Remove derived file
Pierangelo Masarati [Sat, 3 Nov 2001 18:03:10 +0000 (18:03 +0000)]
access control man page
Pierangelo Masarati [Sat, 3 Nov 2001 16:59:06 +0000 (16:59 +0000)]
more meaningful subtree replication test
Pierangelo Masarati [Fri, 2 Nov 2001 15:39:43 +0000 (15:39 +0000)]
Subtree replication test
Pierangelo Masarati [Thu, 1 Nov 2001 18:57:21 +0000 (18:57 +0000)]
wrong length in statement selection (not critical); some cleanup (sizeof()-1 instead of strlen on constant strings)
Pierangelo Masarati [Wed, 31 Oct 2001 09:28:03 +0000 (09:28 +0000)]
remove remaining C++ style comments
Pierangelo Masarati [Tue, 30 Oct 2001 10:04:24 +0000 (10:04 +0000)]
moved rdn parsing in a dedicated routine, ldap_str2rdn(), that can be used directly; now ldap_rdn2str() handles all the formats
Pierangelo Masarati [Mon, 29 Oct 2001 08:14:12 +0000 (08:14 +0000)]
fixes assertion fault when the <to> clauses's argument does not have a = inside
Pierangelo Masarati [Mon, 29 Oct 2001 08:05:23 +0000 (08:05 +0000)]
More compliant version of str2dn/dn2str;
may need optimization;
uncomment #define USE_LDAP_DN_PARSING in libraries/libldap/getdn.c
to enable its use.
The ava/rdn/dn handling routines (append, insert, free and so) must
be made available thru declaration in some header.
Kurt Zeilenga [Sat, 27 Oct 2001 18:20:52 +0000 (18:20 +0000)]
Misc updates
Kurt Zeilenga [Sat, 27 Oct 2001 18:14:22 +0000 (18:14 +0000)]
Only build/install tools and ud by default
Pierangelo Masarati [Fri, 26 Oct 2001 18:10:05 +0000 (18:10 +0000)]
enhanced dn parsing; see libraries/libldap/dntest for a 'demo'. Need to define USE_LDAP_DN_PARSING to override usual ldap_dn2ufn and so, and PARSE_UTF8 to parse attribute values as utf-8
Kurt Zeilenga [Fri, 26 Oct 2001 02:10:30 +0000 (02:10 +0000)]
draft 04
Kurt Zeilenga [Fri, 26 Oct 2001 02:05:14 +0000 (02:05 +0000)]
First stable an implementing latest namedref specification.
Includes rewriting of URLs where the DN of the referral object
and the DN of the ref attribute attribute are not the same.
Also, always returns explicit DN and scope.
Currently, back-ldbm only. Needs to be ported to back-bdb.
Kurt Zeilenga [Fri, 26 Oct 2001 02:01:42 +0000 (02:01 +0000)]
Add nul termination
Pierangelo Masarati [Thu, 25 Oct 2001 18:56:06 +0000 (18:56 +0000)]
missing leading quote
Kurt Zeilenga [Thu, 25 Oct 2001 18:32:59 +0000 (18:32 +0000)]
Don't pass NULL string pointers to Debug
Pierangelo Masarati [Thu, 25 Oct 2001 15:15:34 +0000 (15:15 +0000)]
Fixes ITS#1385
Kurt Zeilenga [Thu, 25 Oct 2001 06:18:11 +0000 (06:18 +0000)]
Root DSE and subschema subentry compare.
Developed by Steve Omrani/IBM
Copyright IBM Corp. 2001
Use of this source code is subject to the terms of The OpenLDAP
Public License Version 2.7, 7 September 2001. No trademarks of the
IBM Corporation are to be used to identify, endorse or promote any
products derived from this code without the prior written consent
of IBM.
Kurt Zeilenga [Wed, 24 Oct 2001 21:26:32 +0000 (21:26 +0000)]
Use allids instead of candidiate negation for !. (ITS#1405)
Use presence indices in support of >= and <=.
(Note presence indices could be used to support = and substr in
like fashion where eq and substr indices are not maintained, but
I'll save that for another day.)
Kurt Zeilenga [Wed, 24 Oct 2001 20:18:26 +0000 (20:18 +0000)]
Add openldap notice.
Kurt Zeilenga [Wed, 24 Oct 2001 16:56:21 +0000 (16:56 +0000)]
Fix typo
Kurt Zeilenga [Wed, 24 Oct 2001 16:56:21 +0000 (16:56 +0000)]
Fix typo
Kurt Zeilenga [Wed, 24 Oct 2001 16:51:48 +0000 (16:51 +0000)]
Update to full notice
Kurt Zeilenga [Wed, 24 Oct 2001 07:31:17 +0000 (07:31 +0000)]
Cleanup --help
Kurt Zeilenga [Wed, 24 Oct 2001 05:27:49 +0000 (05:27 +0000)]
Fix error messages
Kurt Zeilenga [Tue, 23 Oct 2001 23:29:41 +0000 (23:29 +0000)]
Use defined Root DSE attributes.
Developed by Julius Enarusai/IBM
Copyright IBM Corp. 2001
Use of this source code is subject to the terms of The OpenLDAP
Public License Version 2.7, 7 September 2001. No trademarks of the
IBM Corporation are to be used to identify, endorse or promote any
products derived from this code without the prior written consent
of IBM.
Kurt Zeilenga [Tue, 23 Oct 2001 22:17:41 +0000 (22:17 +0000)]
Updated busy loop protection
Kurt Zeilenga [Tue, 23 Oct 2001 17:32:53 +0000 (17:32 +0000)]
Add additional __res_query check
Julio Sánchez Fernández [Tue, 23 Oct 2001 13:42:37 +0000 (13:42 +0000)]
Remove bogus refusal to index ;binary attributes. Notice that I left
in a check. This way you have to say:
index userCertificate eq
If we remove it, we could say:
index userCertificate;binary eq
I have not tried the latter.