Howard Chu
70673417f2
Fix debug statement
2002-08-30 14:28:45 +00:00
Howard Chu
c4f74ac639
Fix crash in mra_free, freeing ber-private value.
2002-08-30 12:38:50 +00:00
Howard Chu
0614b5fdbf
Fix unindent commit
2002-08-30 11:48:47 +00:00
Howard Chu
4a3a557827
Use DB_NODUPDATA when adding IDs. Silence log for DB_NOTFOUND in delete_key,
...
let caller log it if they care.
2002-08-30 11:37:43 +00:00
Howard Chu
9d4f5e13e8
Unindented a level. Fixed logging of keys.
2002-08-30 11:21:20 +00:00
Howard Chu
f32803e738
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.
2002-08-30 10:41:46 +00:00
Howard Chu
d11b134709
Fix large SASL reads. Use EAGAIN instead of EWOULDBLOCK (was right the
...
first time after all. see read(2) and write(2)...)
2002-08-30 10:11:54 +00:00
Kurt Zeilenga
0cd3720e0d
Generate subentries control
2002-08-30 07:43:47 +00:00
Kurt Zeilenga
4ce42af196
Add client-side subentries control support.
...
Make sure client controls are not specified multiple times.
NT port updates.
2002-08-30 07:05:12 +00:00
Kurt Zeilenga
8b2fa75a89
Close comment
2002-08-30 06:25:51 +00:00
Kurt Zeilenga
6bd59cc58f
Fix #ifdefs (DUPENT should be behind the 0)
2002-08-30 06:17:25 +00:00
Kurt Zeilenga
26e4960c1c
Remove those #ifdefs NOOP just added.
2002-08-30 05:43:47 +00:00
Kurt Zeilenga
352b672716
Assign NOOP its published OID. I-D to follow.
2002-08-30 05:32:51 +00:00
Kurt Zeilenga
4026d3ee80
More noop #ifdef'ing
2002-08-30 05:10:41 +00:00
Kurt Zeilenga
0517278aff
Place NOOP behind #ifdef
2002-08-30 05:02:20 +00:00
Kurt Zeilenga
1903295032
Print information about control used.
2002-08-30 04:22:22 +00:00
Kurt Zeilenga
ffe448910c
Allow generation of no-op control
2002-08-30 04:14:26 +00:00
Kurt Zeilenga
2de5c33ba7
Add manageDsaIt/NOOP control support to every tool.
...
Update NT build.
2002-08-29 21:52:45 +00:00
Kurt Zeilenga
96ae8aa2c3
Add to NT build
2002-08-29 21:48:00 +00:00
Kurt Zeilenga
d912c2c711
Rework client control parsing... need to implement
...
common controls across all tools.
2002-08-29 21:36:36 +00:00
Kurt Zeilenga
81420d4f91
Yet another bug fix... this one from Luke.
2002-08-29 19:54:17 +00:00
Pierangelo Masarati
3b799694ee
reworking of threads in session handling
2002-08-29 19:44:02 +00:00
Pierangelo Masarati
a8bf275221
cleaner handling of unchecked limit support
2002-08-29 19:43:29 +00:00
Pierangelo Masarati
0549f16e6c
test extended filter and values return filter
2002-08-29 19:31:02 +00:00
Kurt Zeilenga
ecfb311f8f
Fix objectSubClassIndexer bug
2002-08-29 18:05:49 +00:00
Pierangelo Masarati
864f05497e
allow different solutions to debug sasl shutdown
2002-08-29 17:45:12 +00:00
Pierangelo Masarati
c2efb8788b
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").
2002-08-29 16:03:38 +00:00
Pierangelo Masarati
58b860a15e
fix server-size controls handling in back-{ldap,meta}
2002-08-29 15:07:18 +00:00
Pierangelo Masarati
7e2317c842
add server side controls to back-ldap and back-meta
2002-08-29 14:39:31 +00:00
Howard Chu
1dd1c375bb
Fix previous commit - use EWOULDBLOCK instead of EAGAIN
2002-08-29 13:38:36 +00:00
Pierangelo Masarati
e7d2d0a9f5
avoid zero size ch_malloc() when no attributes are present in vrFilter
2002-08-29 13:32:28 +00:00
Pierangelo Masarati
82cb585d32
trim unused var
2002-08-29 12:41:07 +00:00
Pierangelo Masarati
c38f1a63b0
this test is useless, since noop is masked SLAP_CTRL_UPDATE
2002-08-29 12:17:28 +00:00
Howard Chu
456e6c73ab
Fix ITS#1983, handle writing of large requests. Only one pending request is
...
allowed per LDAP* handle. It works, but needs review.
2002-08-29 12:12:36 +00:00
Howard Chu
20f6bae612
Use sockbuf_max_incoming_auth after successful Bind
2002-08-29 11:53:37 +00:00
Pierangelo Masarati
fbc11bd16a
- 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
2002-08-29 10:55:48 +00:00
Pierangelo Masarati
f4c5362955
add bdb_hasSubordinates() helper
2002-08-29 10:50:53 +00:00
Pierangelo Masarati
d855f97372
cleanup
2002-08-29 10:50:12 +00:00
Pierangelo Masarati
a32f8c079a
cleanup hasSubordinate operational attr merge
2002-08-29 10:49:41 +00:00
Pierangelo Masarati
b16ee02a49
optimize subschema attribute merge
2002-08-29 10:49:11 +00:00
Pierangelo Masarati
f1eb3e39ec
use appropriate attr list when matching value of operational attrs
2002-08-29 10:45:48 +00:00
Pierangelo Masarati
24171e1fe2
fix match result bug
2002-08-29 10:45:24 +00:00
Pierangelo Masarati
e53d272b3f
cleanup error check logic; don't deref be->controls when it's NULL
2002-08-29 10:43:39 +00:00
Pierangelo Masarati
519bf9e28a
cleanup logging
2002-08-29 10:42:42 +00:00
Pierangelo Masarati
3a9347a5dc
add null berval initializer (should replace tons of { 0, NULL})
2002-08-29 10:42:13 +00:00
Pierangelo Masarati
87f092bc49
improve control support thru -E switch
2002-08-29 10:41:10 +00:00
Pierangelo Masarati
9ee916bdec
fix backend initialization (including ITS#2048)
2002-08-29 10:32:48 +00:00
Howard Chu
010dbff2cc
Fix ITS#1983, in sb_sasl_write, set errno = EAGAIN to tell upper layers to
...
retry partial writes
2002-08-29 10:12:35 +00:00
Howard Chu
536019beb4
For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures
2002-08-29 09:46:19 +00:00
Howard Chu
7cdb6866cf
Two more bervals instead of strings...
2002-08-29 08:47:53 +00:00