]>
git.sur5r.net Git - openldap/log
Howard Chu [Fri, 30 Aug 2002 12:38:50 +0000 (12:38 +0000)]
Fix crash in mra_free, freeing ber-private value.
Howard Chu [Fri, 30 Aug 2002 11:48:47 +0000 (11:48 +0000)]
Fix unindent commit
Howard Chu [Fri, 30 Aug 2002 11:37:43 +0000 (11:37 +0000)]
Use DB_NODUPDATA when adding IDs. Silence log for DB_NOTFOUND in delete_key,
let caller log it if they care.
Howard Chu [Fri, 30 Aug 2002 11:21:20 +0000 (11:21 +0000)]
Unindented a level. Fixed logging of keys.
Howard Chu [Fri, 30 Aug 2002 10:41:46 +0000 (10:41 +0000)]
Don't mask DB_KEYEXIST errors in bdb_idl_insert_key, let dn2id see them.
Ignore DB_KEYEXIST and DB_NOTFOUND errors in key_change.
Howard Chu [Fri, 30 Aug 2002 10:11:54 +0000 (10:11 +0000)]
Fix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
first time after all. see read(2) and write(2)...)
Kurt Zeilenga [Fri, 30 Aug 2002 07:43:47 +0000 (07:43 +0000)]
Generate subentries control
Kurt Zeilenga [Fri, 30 Aug 2002 07:05:12 +0000 (07:05 +0000)]
Add client-side subentries control support.
Make sure client controls are not specified multiple times.
NT port updates.
Kurt Zeilenga [Fri, 30 Aug 2002 06:25:51 +0000 (06:25 +0000)]
Close comment
Kurt Zeilenga [Fri, 30 Aug 2002 06:17:25 +0000 (06:17 +0000)]
Fix #ifdefs (DUPENT should be behind the 0)
Kurt Zeilenga [Fri, 30 Aug 2002 05:43:47 +0000 (05:43 +0000)]
Remove those #ifdefs NOOP just added.
Kurt Zeilenga [Fri, 30 Aug 2002 05:32:51 +0000 (05:32 +0000)]
Assign NOOP its published OID. I-D to follow.
Kurt Zeilenga [Fri, 30 Aug 2002 05:10:41 +0000 (05:10 +0000)]
More noop #ifdef'ing
Kurt Zeilenga [Fri, 30 Aug 2002 05:02:20 +0000 (05:02 +0000)]
Place NOOP behind #ifdef
Kurt Zeilenga [Fri, 30 Aug 2002 04:22:22 +0000 (04:22 +0000)]
Print information about control used.
Kurt Zeilenga [Fri, 30 Aug 2002 04:14:26 +0000 (04:14 +0000)]
Allow generation of no-op control
Kurt Zeilenga [Thu, 29 Aug 2002 21:52:45 +0000 (21:52 +0000)]
Add manageDsaIt/NOOP control support to every tool.
Update NT build.
Kurt Zeilenga [Thu, 29 Aug 2002 21:48:00 +0000 (21:48 +0000)]
Add to NT build
Kurt Zeilenga [Thu, 29 Aug 2002 21:36:36 +0000 (21:36 +0000)]
Rework client control parsing... need to implement
common controls across all tools.
Kurt Zeilenga [Thu, 29 Aug 2002 19:54:17 +0000 (19:54 +0000)]
Yet another bug fix... this one from Luke.
Pierangelo Masarati [Thu, 29 Aug 2002 19:44:02 +0000 (19:44 +0000)]
reworking of threads in session handling
Pierangelo Masarati [Thu, 29 Aug 2002 19:43:29 +0000 (19:43 +0000)]
cleaner handling of unchecked limit support
Pierangelo Masarati [Thu, 29 Aug 2002 19:31:02 +0000 (19:31 +0000)]
test extended filter and values return filter
Kurt Zeilenga [Thu, 29 Aug 2002 18:05:49 +0000 (18:05 +0000)]
Fix objectSubClassIndexer bug
Pierangelo Masarati [Thu, 29 Aug 2002 17:45:12 +0000 (17:45 +0000)]
allow different solutions to debug sasl shutdown
Pierangelo Masarati [Thu, 29 Aug 2002 16:03:38 +0000 (16:03 +0000)]
when shutting down a server with open connections (back-{ldap,meta}),
the backend attempts a ldap_unbind() that results in calling
ldap_pvt_sasl_mutex_lock() with a NULL argument, causing a SIGSEGV.
I added a few assert() to catch this (I wonder if this might
be related to ITS#1982 "kill -INT corrupts database").
Pierangelo Masarati [Thu, 29 Aug 2002 15:07:18 +0000 (15:07 +0000)]
fix server-size controls handling in back-{ldap,meta}
Pierangelo Masarati [Thu, 29 Aug 2002 14:39:31 +0000 (14:39 +0000)]
add server side controls to back-ldap and back-meta
Howard Chu [Thu, 29 Aug 2002 13:38:36 +0000 (13:38 +0000)]
Fix previous commit - use EWOULDBLOCK instead of EAGAIN
Pierangelo Masarati [Thu, 29 Aug 2002 13:32:28 +0000 (13:32 +0000)]
avoid zero size ch_malloc() when no attributes are present in vrFilter
Pierangelo Masarati [Thu, 29 Aug 2002 12:41:07 +0000 (12:41 +0000)]
trim unused var
Pierangelo Masarati [Thu, 29 Aug 2002 12:17:28 +0000 (12:17 +0000)]
this test is useless, since noop is masked SLAP_CTRL_UPDATE
Howard Chu [Thu, 29 Aug 2002 12:12:36 +0000 (12:12 +0000)]
Fix ITS#1983, handle writing of large requests. Only one pending request is
allowed per LDAP* handle. It works, but needs review.
Howard Chu [Thu, 29 Aug 2002 11:53:37 +0000 (11:53 +0000)]
Use sockbuf_max_incoming_auth after successful Bind
Pierangelo Masarati [Thu, 29 Aug 2002 10:55:48 +0000 (10:55 +0000)]
- added the capability to filter based on hasSubordinate attribute
to back-bdb, back-ldbm and back-sql (the latter with limitations);
- added handling of ":dn" attributes to extended rfc2254 filters
and to matched value filter
- altered the behavior of get_mra() when a matching rule is given:
now it checks whether it is compatible with the attribute syntax
and, in case it is, the given mr is used. In case of no type,
the check is delayed when filtering
Pierangelo Masarati [Thu, 29 Aug 2002 10:50:53 +0000 (10:50 +0000)]
add bdb_hasSubordinates() helper
Pierangelo Masarati [Thu, 29 Aug 2002 10:50:12 +0000 (10:50 +0000)]
cleanup
Pierangelo Masarati [Thu, 29 Aug 2002 10:49:41 +0000 (10:49 +0000)]
cleanup hasSubordinate operational attr merge
Pierangelo Masarati [Thu, 29 Aug 2002 10:49:11 +0000 (10:49 +0000)]
optimize subschema attribute merge
Pierangelo Masarati [Thu, 29 Aug 2002 10:45:48 +0000 (10:45 +0000)]
use appropriate attr list when matching value of operational attrs
Pierangelo Masarati [Thu, 29 Aug 2002 10:45:24 +0000 (10:45 +0000)]
fix match result bug
Pierangelo Masarati [Thu, 29 Aug 2002 10:43:39 +0000 (10:43 +0000)]
cleanup error check logic; don't deref be->controls when it's NULL
Pierangelo Masarati [Thu, 29 Aug 2002 10:42:42 +0000 (10:42 +0000)]
cleanup logging
Pierangelo Masarati [Thu, 29 Aug 2002 10:42:13 +0000 (10:42 +0000)]
add null berval initializer (should replace tons of { 0, NULL})
Pierangelo Masarati [Thu, 29 Aug 2002 10:41:10 +0000 (10:41 +0000)]
improve control support thru -E switch
Pierangelo Masarati [Thu, 29 Aug 2002 10:32:48 +0000 (10:32 +0000)]
fix backend initialization (including ITS#2048)
Howard Chu [Thu, 29 Aug 2002 10:12:35 +0000 (10:12 +0000)]
Fix ITS#1983, in sb_sasl_write, set errno = EAGAIN to tell upper layers to
retry partial writes
Howard Chu [Thu, 29 Aug 2002 09:46:19 +0000 (09:46 +0000)]
For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures
Howard Chu [Thu, 29 Aug 2002 08:47:53 +0000 (08:47 +0000)]
Two more bervals instead of strings...
Howard Chu [Thu, 29 Aug 2002 08:43:23 +0000 (08:43 +0000)]
Fix ITS#1991 - referrals with sarch base == target (wasn't sure at first,
but see diff -r1.6 -r1.7 and it's obvious.)
Kurt Zeilenga [Thu, 29 Aug 2002 04:56:05 +0000 (04:56 +0000)]
Misc updates...
Kurt Zeilenga [Thu, 29 Aug 2002 03:03:51 +0000 (03:03 +0000)]
add userid case
Kurt Zeilenga [Thu, 29 Aug 2002 02:55:39 +0000 (02:55 +0000)]
Add case to 009
Kurt Zeilenga [Thu, 29 Aug 2002 02:48:12 +0000 (02:48 +0000)]
search on 'userid' not 'uid'
Kurt Zeilenga [Thu, 29 Aug 2002 02:32:58 +0000 (02:32 +0000)]
back out last commit
Kurt Zeilenga [Thu, 29 Aug 2002 02:27:15 +0000 (02:27 +0000)]
Finish adding subclassing indexing support
Kurt Zeilenga [Thu, 29 Aug 2002 01:12:59 +0000 (01:12 +0000)]
Round one of subclass indexing for objectClass and structualObjectClasss.
add soc_cname to ObjectClass structure
Kurt Zeilenga [Wed, 28 Aug 2002 19:26:12 +0000 (19:26 +0000)]
Add check for sockaddr_storage before enabling IPv6
Kurt Zeilenga [Wed, 28 Aug 2002 16:47:04 +0000 (16:47 +0000)]
Include lber_pvt.h
Howard Chu [Wed, 28 Aug 2002 08:35:38 +0000 (08:35 +0000)]
Added no-op for SASL_VERSION_MAJOR < 2
Howard Chu [Wed, 28 Aug 2002 08:33:24 +0000 (08:33 +0000)]
Added no-op sasl_client_auth if SASL_VERSION_MAJOR < 2.
Kurt Zeilenga [Wed, 28 Aug 2002 07:32:00 +0000 (07:32 +0000)]
regenerate for sasl version checks
Kurt Zeilenga [Wed, 28 Aug 2002 07:30:57 +0000 (07:30 +0000)]
cleanup
Howard Chu [Wed, 28 Aug 2002 07:12:22 +0000 (07:12 +0000)]
Added check for Cyrus SASL sasl_version()
Kurt Zeilenga [Wed, 28 Aug 2002 04:22:12 +0000 (04:22 +0000)]
More clarifications
Kurt Zeilenga [Wed, 28 Aug 2002 04:08:02 +0000 (04:08 +0000)]
Fix typo
Kurt Zeilenga [Wed, 28 Aug 2002 04:05:07 +0000 (04:05 +0000)]
Fix tables numbering. Add note able system schema extensions.
Howard Chu [Wed, 28 Aug 2002 02:58:04 +0000 (02:58 +0000)]
Delete unused LDBM_LIB macro. (Not to be confused with LDBM_LIBS...)
Howard Chu [Wed, 28 Aug 2002 02:50:30 +0000 (02:50 +0000)]
Fix ITS#2047 - link ldbm.lo directly when building back-ldbm as a module
Kurt Zeilenga [Wed, 28 Aug 2002 01:20:03 +0000 (01:20 +0000)]
Clarify that manageDsaIT is not to specified when managing
entry DSEs.
Kurt Zeilenga [Wed, 28 Aug 2002 01:16:25 +0000 (01:16 +0000)]
Clean up filters
Kurt Zeilenga [Wed, 28 Aug 2002 01:11:47 +0000 (01:11 +0000)]
Fix some formatting issues
Kurt Zeilenga [Tue, 27 Aug 2002 23:24:43 +0000 (23:24 +0000)]
clarify "authorization" feature as "proxy authorization".
Kurt Zeilenga [Tue, 27 Aug 2002 21:41:37 +0000 (21:41 +0000)]
Trim subordinate classes from input (and expected output).
Kurt Zeilenga [Tue, 27 Aug 2002 20:20:52 +0000 (20:20 +0000)]
More OID clarifications.
Kurt Zeilenga [Tue, 27 Aug 2002 19:20:29 +0000 (19:20 +0000)]
Fix typos
Kurt Zeilenga [Tue, 27 Aug 2002 18:17:09 +0000 (18:17 +0000)]
Warn about hijacking.
Kurt Zeilenga [Tue, 27 Aug 2002 17:51:35 +0000 (17:51 +0000)]
Add another safety check
Howard Chu [Tue, 27 Aug 2002 15:11:04 +0000 (15:11 +0000)]
ITS#2040 - in bdb_idl_fetch_key() use a large enough buffer to get the
entire IDL at once, to avoid triggering BDB resource leaks.
Kurt Zeilenga [Tue, 27 Aug 2002 05:51:35 +0000 (05:51 +0000)]
Return other.
Kurt Zeilenga [Tue, 27 Aug 2002 02:43:00 +0000 (02:43 +0000)]
Fix bug in last commit
Kurt Zeilenga [Tue, 27 Aug 2002 02:28:15 +0000 (02:28 +0000)]
no structuralObjectClass is not a schema violation, but an
internal error. It *should* have been added.
Kurt Zeilenga [Tue, 27 Aug 2002 01:55:09 +0000 (01:55 +0000)]
Clean up some structuralObject checks to improve readability.
Functionality not changed (excepting one error message).
Kurt Zeilenga [Tue, 27 Aug 2002 01:35:43 +0000 (01:35 +0000)]
Fix comment
Kurt Zeilenga [Tue, 27 Aug 2002 01:27:42 +0000 (01:27 +0000)]
Only add LASTMOD attributes if they don't exist in input.
Howard Chu [Mon, 26 Aug 2002 22:20:30 +0000 (22:20 +0000)]
Remove c_sasl_bindmutex, Binds are already serialized.
Kurt Zeilenga [Mon, 26 Aug 2002 22:10:32 +0000 (22:10 +0000)]
Add note regard StartTLS over 389.
Kurt Zeilenga [Mon, 26 Aug 2002 20:11:19 +0000 (20:11 +0000)]
remove lint
Kurt Zeilenga [Mon, 26 Aug 2002 20:10:45 +0000 (20:10 +0000)]
Prevent buffer overflow
Kurt Zeilenga [Mon, 26 Aug 2002 19:29:34 +0000 (19:29 +0000)]
Add a Connection pointer to the Operation.
Julius Enarusai [Mon, 26 Aug 2002 19:26:09 +0000 (19:26 +0000)]
Fix compile error when --without-threads configure option is set. Function
headers differ from prototypes in ldap_pvt_threads.h
Kurt Zeilenga [Mon, 26 Aug 2002 19:13:44 +0000 (19:13 +0000)]
cleanup
Kurt Zeilenga [Mon, 26 Aug 2002 18:07:58 +0000 (18:07 +0000)]
Fix last commit.
Kurt Zeilenga [Mon, 26 Aug 2002 18:06:55 +0000 (18:06 +0000)]
Prevent unlocking unlocked sasl_bindmutex...
Pierangelo Masarati [Mon, 26 Aug 2002 17:37:33 +0000 (17:37 +0000)]
silence annoying warning (BTW: who initializes be?)
Howard Chu [Mon, 26 Aug 2002 12:04:53 +0000 (12:04 +0000)]
Fix oc_filter, it could exit early before counting the full depth of the
filter tree. Also, only give special treatment to objectclass=*.
Kurt Zeilenga [Sun, 25 Aug 2002 16:53:20 +0000 (16:53 +0000)]
zap charray
Howard Chu [Sun, 25 Aug 2002 11:06:35 +0000 (11:06 +0000)]
Fix previous commit, BDB_REUSE_LOCKERS was inside a BDB version #ifdef
but is not version-dependent.
Howard Chu [Sun, 25 Aug 2002 10:18:01 +0000 (10:18 +0000)]
Fix ITS#2044 duplicate search results due to broken bdb_idl_union
Kurt Zeilenga [Sat, 24 Aug 2002 23:37:59 +0000 (23:37 +0000)]
Add link to SDF tools at CPAN.