Howard Chu
098153c5bb
Move socket close into slapd_remove, don't close until after socket
...
is removed from daemon control.
2006-08-17 00:44:38 +00:00
Howard Chu
ccd1273cfe
TS#4622 deletes in psearch didn't always propagate
2006-08-15 21:41:14 +00:00
Kurt Zeilenga
d9720d50dd
Some LDAP_DEVEL cleanup
2006-08-15 19:36:54 +00:00
Howard Chu
44d3972dd7
ITS#4622 if any present list was sent, must send refreshPresent
2006-08-15 12:37:59 +00:00
Howard Chu
55aa8af4be
ITS#4622 make sure queued psearch responses get played after refresh
...
phase completes. Ignore empty sessionlog
2006-08-15 09:28:25 +00:00
Howard Chu
789c76b4ce
Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn
2006-08-15 09:25:42 +00:00
Howard Chu
7036e2bb89
Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn
2006-08-15 08:51:49 +00:00
Howard Chu
4629002ec4
Additional shutdown check
2006-08-15 00:04:29 +00:00
Howard Chu
651bc9e40e
Don't purge log entries if a shutdown was requested
2006-08-15 00:02:57 +00:00
Kurt Zeilenga
4ba9bc1c2d
Use LDAP_OTHER to indicate internal error
2006-08-12 21:46:29 +00:00
Howard Chu
11a0ea514a
Tone down default ppolicy msg
2006-08-07 23:33:03 +00:00
Howard Chu
9f75c6a43d
ITS#4634 always init pp->ad
2006-08-07 22:40:51 +00:00
Pierangelo Masarati
bd8e1bb522
make log messages more esplicative
2006-08-05 16:34:19 +00:00
Pierangelo Masarati
b1faecd35c
process callbacks first; they are supposed to remove modifications they successfully handled, so that regular modify function can complain if any unhandled modification remains
2006-08-05 15:51:13 +00:00
Pierangelo Masarati
bbdc0bcd00
fix logging
2006-08-05 12:33:53 +00:00
Pierangelo Masarati
cc84163f30
factor connection code out of syncrepl
2006-08-04 19:20:59 +00:00
Pierangelo Masarati
4f395ab4ff
fix uri rewriting
2006-08-03 01:15:41 +00:00
Quanah Gibson-Mount
da1e743491
Minor typo fix (maintaned -> maintained)
2006-08-01 01:27:02 +00:00
Howard Chu
b915969d29
ITS#4589 slap_get_commit_csn occasionally returns a curcsn that points
...
to already-freed memory. That bug still needs to be tracked down. This
patch deletes curcsn and just uses op->o_csn, which did not exist when
this code was originally written.
2006-07-28 02:40:38 +00:00
Howard Chu
5757065736
ITS#4622
...
syncrepl: don't save contextCSN on incoming context entry
syncprov: delete contextCSN on checkpoint if ctxcsn is empty
2006-07-27 10:44:22 +00:00
Howard Chu
acea44af02
ITS#4622 additional fix
2006-07-26 21:36:44 +00:00
Howard Chu
04d7e356a7
ITS#4534, don't update the context cookie with the delete syncID set
...
cookie, that's only an intermediate value.
ITS#4622, don't update the context cookie until all the nonpresent
deletes are finished.
2006-07-26 21:23:21 +00:00
Howard Chu
00addd5d68
ITS#4613 - fail to start if lastmod is off
2006-07-24 00:32:27 +00:00
Howard Chu
2a2115d70c
Fix prev commit, update kid counters too
2006-07-19 00:06:57 +00:00
Howard Chu
0340a1f1bf
ITS#4616 fix cache_modrdn bei_state management
2006-07-18 10:22:48 +00:00
Howard Chu
4ccf65d9bc
ITS#4614 - complain if glue/subordinate are attempted on the same backend
...
cleanup overlay list if overlay db_init fails.
2006-07-15 00:18:44 +00:00
Howard Chu
6d601637c7
Resurrect special refint modifiersName
2006-07-14 22:19:00 +00:00
Howard Chu
89697d3a93
Each refint op needs a unique timestamp, must perform searches as rootdn
2006-07-14 01:55:57 +00:00
Howard Chu
d145f84e9f
s/HPcfgOv/OLcfgOv/
2006-07-12 07:05:09 +00:00
Howard Chu
2e241a457c
ITS#4609, dynamic config support from Neil Dunbar
2006-07-12 02:14:22 +00:00
Howard Chu
bab03f6d5c
Additional purge changes for rev 1.120, don't keep the current thread
...
busy unnecessarily
2006-07-12 01:55:21 +00:00
Howard Chu
9a35796594
RE23 seems to still need these ACL states
2006-07-09 22:23:14 +00:00
Howard Chu
86f1f7e047
Cleanup unused fields from prev commit
2006-07-09 21:32:16 +00:00
Howard Chu
25c4b164a4
ITS#4253 fix value-dependent ACL caching - just record the ACL we'll start
...
looking for, don't cache anything else.
2006-07-09 20:51:00 +00:00
Howard Chu
c94c10a3b8
ITS#4587 fix for uniquemember/NameAndOptionalUID syntax
2006-07-09 10:21:42 +00:00
Pierangelo Masarati
fb11017d64
refine previous commit
2006-07-08 15:04:50 +00:00
Pierangelo Masarati
d16c9aacd7
count candidate unavailable (quarantined) targets
2006-07-08 12:42:09 +00:00
Pierangelo Masarati
36898bbb76
don't sigsegv if has_ldapinfo_dn_ru is erroneously defined; return a (more) meaningful error
2006-07-08 11:47:23 +00:00
Howard Chu
a7870943f7
Fix TLS CTX ref counting
2006-07-02 22:38:01 +00:00
Howard Chu
23a6aa373b
ITS#4596 control can be critical
2006-07-02 02:50:13 +00:00
Pierangelo Masarati
fcab1dd1bc
handle computed filters the best it can (ITS#4604)
2006-07-01 19:00:27 +00:00
Pierangelo Masarati
5dcb4828d7
use bound credentials, if any
2006-07-01 16:45:07 +00:00
Ralf Haferkamp
e1d1d32402
Do "selfwrite" check independent of other <who> clauses (ITS#4587)
2006-06-27 15:26:08 +00:00
Howard Chu
a2dd092291
Fix rootDN check
2006-06-26 13:00:29 +00:00
Pierangelo Masarati
34af916e3f
fix response sending while rebinding (ITS#4597)
2006-06-24 16:58:49 +00:00
Howard Chu
87d9353b12
Dynamic config
2006-06-24 01:35:35 +00:00
Kurt Zeilenga
423a93019f
Misc RFC reference updates
2006-06-21 07:09:39 +00:00
Howard Chu
a79bc61e63
Fix SEGV when ldapadd'ing new schema entries. This functionality needs work.
2006-06-18 02:51:58 +00:00
Howard Chu
a9b0a78248
ITS#4595 additional fix - don't allow age/cycle times of zero.
2006-06-17 13:09:14 +00:00
Pierangelo Masarati
aec9afc4e3
move retry into response handling (fix ITS#4594; partially addresses ITS#4591 as well)
2006-06-17 12:37:45 +00:00
Howard Chu
77dce50110
Omit logpurge attr if no purge time was configured
2006-06-17 01:28:50 +00:00
Howard Chu
bc8550e3c2
Additional ONELEVEL fix
2006-06-16 21:58:40 +00:00
Howard Chu
decba67ee9
ITS#4589 fix slap_compose_sync_cookie
2006-06-15 23:54:51 +00:00
Pierangelo Masarati
a5b520477c
more cleanup for previous commit
2006-06-15 23:43:09 +00:00
Pierangelo Masarati
3ebb40c4dd
port identity assertion to back-meta; share as much code as possible with back-ldap; misc cleanup
2006-06-15 23:12:38 +00:00
Howard Chu
4976b9436d
Require rootDN to be present on logDB
2006-06-15 00:02:35 +00:00
Pierangelo Masarati
c0d95f08c1
record value-dependent state for acl_mask_dn() (ITS#4587)
2006-06-14 18:33:02 +00:00
Pierangelo Masarati
103392b9a3
fix scheme recognition (ITS#4575)
2006-06-13 19:45:11 +00:00
Pierangelo Masarati
4a071da8c2
refine previous commit
2006-06-13 10:03:44 +00:00
Pierangelo Masarati
f6e4f20254
test for ITS#4587; another bit of fix for that
2006-06-13 08:53:34 +00:00
Howard Chu
adba963c32
ITS#4587, selfwrite should apply to more than just USERS acl's
2006-06-13 03:19:07 +00:00
Pierangelo Masarati
ed0d8d0a94
fix "require" inheritance and handling of "none" (ITS#4574)
2006-06-13 00:16:45 +00:00
Pierangelo Masarati
439cd9be74
clean orm_modlist before each mod
2006-06-12 22:56:30 +00:00
Pierangelo Masarati
ea6c83481b
add return-error support to searches
2006-06-12 22:27:52 +00:00
Pierangelo Masarati
0f8f25cf1a
add support for recursive referrals (with simple loop detection) to slapo-chain (ITS#4070); add simple support for returning the error code instead of the original referral (ITS#4570)
2006-06-12 22:09:43 +00:00
Pierangelo Masarati
7e275fdc2c
address ITS#4586
2006-06-12 15:52:23 +00:00
Howard Chu
1a86d4f663
Use separate task for refint operations - avoids re-entrancy issue,
...
prevents delay of client, removes dependency on slap_replog knowledge
2006-06-12 14:06:00 +00:00
Luke Howard
88b499b93d
s/ber_tag_t/int where appropriate
...
Note about possible ITS#4158 breakage for SLAPI_CONN_DN
2006-06-12 08:40:39 +00:00
Luke Howard
e752b0b9af
Don't call search rewriter plugins for internal operations
2006-06-11 10:10:32 +00:00
Luke Howard
0e5ff3dbd0
Add internal bind/unbind/search/compare/abandon plugin types
2006-06-11 09:54:15 +00:00
Luke Howard
60b25fb095
Add internal bind/unbind/search/compare/abandon plugin types
2006-06-11 09:47:54 +00:00
Luke Howard
7ca0a72a3a
fix previous commit
2006-06-11 08:29:07 +00:00
Luke Howard
71827d002d
Add SLAPI_X_OPERATION_NO_SUBORDINATE_GLUE for exposing o_no_subordinate_glue
2006-06-11 06:50:53 +00:00
Luke Howard
1ebfd26ca3
Fix broken referral handling in slapi_send_ldap_result()
2006-06-11 06:49:58 +00:00
Pierangelo Masarati
20542a045f
fix previous commit
2006-06-10 19:47:31 +00:00
Pierangelo Masarati
33d79d1541
fix error mapping
2006-06-10 18:11:52 +00:00
Pierangelo Masarati
bed74c02cc
improve logging
2006-06-10 17:41:55 +00:00
Pierangelo Masarati
ca0184c309
centralize and cleanup bind response handling
2006-06-10 16:33:55 +00:00
Pierangelo Masarati
31a004840d
cleanup identity assertion; ready for porting to back-meta
2006-06-10 16:33:26 +00:00
Pierangelo Masarati
6bd9aa3755
remove unnecessary locks and resource cleanup
2006-06-10 15:30:24 +00:00
Luke Howard
a75a4f4eff
Honour o_no_subordinate_glue
...
Don't pollute o_req_ndn after resetting (hyc please review)
2006-06-10 12:31:22 +00:00
Luke Howard
7c9c559019
add o_no_subordinate_glue member to operation
2006-06-10 12:30:00 +00:00
Luke Howard
dfe20afd84
Fix glue_back_select() behaviour so that it actually does select the most
...
specific backend for the DN (this was broken in the case that subordinate
and subsubordinate backends were glued)
2006-06-10 10:31:17 +00:00
Luke Howard
60b9c90fad
Fix typo when comparing local sock name
2006-06-10 07:37:06 +00:00
Pierangelo Masarati
50c6a95a62
make sure heavy concurrency doesn't cause quarantine loops
2006-06-10 01:08:45 +00:00
Howard Chu
25e12b07b3
fix leak in prev commit
2006-06-09 20:26:36 +00:00
Luke Howard
2941bd8a9e
Handle unknown attributes in SLAPI_SEARCH_ATTRS
2006-06-09 15:54:59 +00:00
Luke Howard
ea45b5b322
fix previous commit
2006-06-09 15:52:44 +00:00
Luke Howard
f4c5bddd9c
Ignore unknown attributes in slapi_send_ldap_search_entry()
...
(mirrors code in slapi_pblock.c)
2006-06-09 15:42:33 +00:00
Pierangelo Masarati
942ca17669
cleanup resource release
2006-06-08 23:41:02 +00:00
Howard Chu
5934d696eb
ITS#4582 complain if no rootDN was set when configuring syncrepl
2006-06-08 11:54:10 +00:00
Howard Chu
f15e31b9a9
ITS#4580 make sure port number is preserved in replica info
2006-06-08 11:37:14 +00:00
Pierangelo Masarati
5466628e81
more about previous commit
2006-06-07 23:36:38 +00:00
Pierangelo Masarati
740f196548
rework quarantine locking and so
2006-06-07 23:25:38 +00:00
Pierangelo Masarati
53175f7ba6
more concurrency cleanup
2006-06-07 21:54:37 +00:00
Pierangelo Masarati
9aecc6c7e0
cleanup
2006-06-07 14:48:10 +00:00
Howard Chu
0657ee85f5
Fix db_init
2006-06-05 22:31:17 +00:00
Howard Chu
16448bf347
Fix prev commit
2006-06-05 21:26:23 +00:00
Howard Chu
e1b17653d6
Fix ITS#4576 reset restrict after successful pw mod
2006-06-05 20:13:40 +00:00
Pierangelo Masarati
63d5a939b3
refine (and fix) back-meta handling of search initialization (ITS#4519)
2006-06-02 17:30:15 +00:00
Pierangelo Masarati
a2b7fd279f
cleanup
2006-06-02 15:43:47 +00:00
Howard Chu
70512edd5a
ITS#4572 don't unlock non-existent locks
2006-06-01 02:03:10 +00:00
Pierangelo Masarati
9b7dc0aa36
trap an issue that occurred in odd conditions
2006-05-31 14:37:05 +00:00
Pierangelo Masarati
759638db20
misc cleanup
2006-05-31 14:11:07 +00:00
Howard Chu
35f6ef6fd6
Cleanup prev commit
2006-05-31 01:52:32 +00:00
Howard Chu
54231dd13f
Only log realdn if it's non-empty
2006-05-31 01:45:39 +00:00
Howard Chu
f4a188bf38
Cleanup config cruft
2006-05-30 12:16:34 +00:00
Howard Chu
bec0b4ef89
Add dynamic config support for auditlog and ppolicy
2006-05-30 11:49:16 +00:00
Howard Chu
1fb33c0e9f
Fix ARG_OFFSET to work with overlays
2006-05-30 11:34:36 +00:00
Pierangelo Masarati
186813daed
rearrange quarantine handling during proxyAuthz bind; bind anonymously if no bindmethod is defined
2006-05-30 01:20:32 +00:00
Pierangelo Masarati
85c9a7b4c5
further cleanop of previous commits
2006-05-30 00:40:39 +00:00
Pierangelo Masarati
f5fcd2c169
cleanup previous commit
2006-05-30 00:12:23 +00:00
Pierangelo Masarati
5854464be2
allow pretty time form in quarantine string
2006-05-29 23:36:12 +00:00
Pierangelo Masarati
a6406de871
make room for plugins that deal with quarantine end
2006-05-29 21:43:20 +00:00
Howard Chu
78809a70c5
Fix modrdn with back-ldap
2006-05-29 07:24:21 +00:00
Howard Chu
d2b27b156e
Add "hidden" database config, allow hidden DBs with redundant suffixes
2006-05-29 06:03:43 +00:00
Howard Chu
59ca2d198f
ITS#4555 add "-j" option to jump to line of LDIF file before processing.
...
Fixed line number in error messages to give the line number of the beginning
of the offending entry.
2006-05-29 02:41:06 +00:00
Pierangelo Masarati
795841b5a4
implement proxy quarantine (ITS#4569)
2006-05-27 19:54:27 +00:00
Pierangelo Masarati
1d24564f9d
fix DN-valued (and likely others not handled in the switch) attrs duplication (occcurred with olcDbSuffix during attrs_dup(); please check)
2006-05-27 19:14:39 +00:00
Howard Chu
62437022ab
ITS#4567 use unique timestamps for ops for cascading delta-sync
2006-05-27 10:26:15 +00:00
Howard Chu
e3bea86205
ITS#4562 - don't assume syncprov_op_response only runs in overlay context;
...
under a glue setup it may be get a real DB, don't corrupt the DB struct.
2006-05-26 12:08:15 +00:00
Pierangelo Masarati
1efd2ef101
(almost blind) fix potential strchr() read-past-end of berval
2006-05-26 00:07:55 +00:00
Pierangelo Masarati
5f58c733cc
enable NOOP (ITS#4563; seems to work now)
2006-05-25 22:45:45 +00:00
Pierangelo Masarati
d1824b14ae
fix NOOP return code (ITS#4563; I'll check and confirm it later; NOOP support might be broken)
2006-05-25 16:58:41 +00:00
Hallvard Furuseth
ce44bdbc37
Constify slapd_slp_attrs (assigned a const char* in main.c:slapd_opt_slp())
2006-05-25 16:32:43 +00:00
Hallvard Furuseth
f9f0b243d6
warning cleanup
2006-05-25 16:15:49 +00:00
Hallvard Furuseth
8c1210cb78
Format fixes: %p takes void*, not struct* whose representation may differ.
...
Warning cleanup.
2006-05-25 16:14:41 +00:00
Hallvard Furuseth
453d3c0710
Format fixes: Debug() arg#2 must be format.
...
Warning cleanup: Move format strings, let gcc recognize them. Unused var.
2006-05-25 16:11:24 +00:00
Hallvard Furuseth
2c3a06321a
2006-05-25 15:59:21 +00:00
Howard Chu
6f08468e2f
Fix concurrency issues
2006-05-25 05:08:04 +00:00
Howard Chu
1ed9fff84c
Fix uninit'd var
2006-05-25 01:05:29 +00:00
Pierangelo Masarati
cff53d4867
allow tools to syslog
2006-05-24 17:57:13 +00:00
Pierangelo Masarati
810a8f0d06
sigh, the test was renamed ages ago
2006-05-24 01:50:57 +00:00
Howard Chu
5e50d2e2e4
Fix prev commit, LE/GE searches advanced in wrong direction.
...
Terminate EQ/SUBSTR query searches sooner.
2006-05-23 02:53:54 +00:00
Pierangelo Masarati
f26bef66c6
cleanup
2006-05-20 15:49:18 +00:00
Pierangelo Masarati
e5c173691d
add cancel strategies (ITS#4560)
2006-05-20 14:29:01 +00:00
Howard Chu
fa2425005a
More cleanup
2006-05-20 05:05:13 +00:00
Howard Chu
b83ef38c51
cleanup debug msg
2006-05-20 05:03:35 +00:00
Pierangelo Masarati
80dfb95241
fix previous commit
2006-05-19 23:33:15 +00:00
Howard Chu
9de3d9c277
Fix idletimeout deadlock
2006-05-19 22:47:33 +00:00
Pierangelo Masarati
16661063d0
silence warnings
2006-05-19 22:37:52 +00:00
Pierangelo Masarati
29af5f93ee
fix limits unparse
2006-05-19 22:34:04 +00:00
Howard Chu
fde6482629
Cleanup (revert ITS#4472, etc.)
2006-05-19 15:51:09 +00:00
Howard Chu
e6475734fa
ITS#4549, rewritten query_containment etc...
2006-05-19 15:25:33 +00:00
Howard Chu
4cc18ee8d4
ITS#4549 kludge, get tavl_ routines referenced
2006-05-19 15:24:56 +00:00
Howard Chu
f0adb769ad
Cleanup query attrs
2006-05-19 09:15:42 +00:00
Howard Chu
8eace69ddb
Cleanup template searching
2006-05-19 08:07:59 +00:00
Pierangelo Masarati
fcbc1f484d
fix referrals return for ops other than search (ITS#4557); use slab memory for temporaries in returning referrals
2006-05-18 22:28:22 +00:00
Howard Chu
9e50b2d0a1
ITS#4552 just rely on ACLs when adding entries under the suffix.
2006-05-18 01:18:48 +00:00
Pierangelo Masarati
9b388e5328
fix cleanup concurrency
2006-05-17 01:34:46 +00:00
Howard Chu
58099cc045
coverity cleanup
2006-05-16 22:16:27 +00:00
Howard Chu
1135d19f16
ITS#4466 fix typo, uninit'd var
2006-05-16 22:16:13 +00:00
Howard Chu
bb11c81178
ITS#4550 don't overwrite remote server's err msg
2006-05-16 21:45:31 +00:00
Howard Chu
5f3bc1f7ec
Fix ITS#4450, don't overwrite remote server's rs->sr_text
2006-05-16 21:30:10 +00:00
Pierangelo Masarati
073f14ceac
lc_bound_ndn is occasionally saved to keep track of who bound; don't use it to bind unless credentials are present as well
2006-05-16 02:56:59 +00:00
Howard Chu
33a3448964
Cleanup - no more SLAP_MULTI_CONN_ARRAY
2006-05-16 01:22:47 +00:00
Pierangelo Masarati
9c9b6f7353
idassert: setup rebind stuff when binding for proxyAuthz, so that referral chasing tries to rebind with the correct identity (partially address ITS#3526)
2006-05-16 01:10:51 +00:00
Pierangelo Masarati
b0c304f759
fix referral rewriting (ITS#4548)
2006-05-16 00:57:46 +00:00
Pierangelo Masarati
3b7084c170
reset the conn field in the cached connection if the bound DN is privileged (ITS#4547)
2006-05-15 01:42:05 +00:00
Pierangelo Masarati
1c16fa382a
line up back-meta to ITS#4546
2006-05-14 18:10:23 +00:00
Pierangelo Masarati
26d1fc8c48
more cleanup of previous commits
2006-05-14 18:09:56 +00:00
Pierangelo Masarati
f87e6270d4
improve previous commit
2006-05-14 17:53:40 +00:00
Pierangelo Masarati
0c2c3ea7e1
typo in previous commit
2006-05-14 17:34:18 +00:00
Pierangelo Masarati
0c33c17bb5
"single-conn" forces flushing of existing conns during rebind on same conn (ITS#4546)
2006-05-14 17:32:15 +00:00
Pierangelo Masarati
6910b36df8
more checks
2006-05-14 16:29:49 +00:00
Pierangelo Masarati
3393b15594
cleanup resource release
2006-05-14 15:11:53 +00:00
Pierangelo Masarati
092aade428
cleanup
2006-05-14 15:11:23 +00:00
Howard Chu
813b95941e
Fixed version of rev 1.361
2006-05-14 03:37:17 +00:00
Howard Chu
0b79eab474
Cleanup epoll read / error behavior
2006-05-14 00:26:33 +00:00
Howard Chu
1cf58aba1c
Revert prev commit, spoke too soon, close race condition came back.
2006-05-13 12:35:12 +00:00
Howard Chu
d74a230229
Simplify connection mutexes
2006-05-13 11:50:00 +00:00
Pierangelo Masarati
93b88e0bbf
make sure realloc'd memory is reset
2006-05-13 02:06:10 +00:00
Pierangelo Masarati
87ba3eb8b0
refine previous commits (don't leave bindings around)
2006-05-12 19:25:31 +00:00
Pierangelo Masarati
c1c8c05c1b
first round at adding passwd exop support to slapo-rwm (ITS#4458)
2006-05-12 15:38:58 +00:00
Ralf Haferkamp
4d46b8b747
Additional fix for ITS#4522. The "dn=" ist not optional.
2006-05-12 11:48:57 +00:00
Howard Chu
d921fcb0c9
ITS#4531 temporarily go back to using quick sort instead of radix sort
2006-05-11 20:05:53 +00:00
Kurt Zeilenga
6651d19320
cleanup
2006-05-11 18:55:50 +00:00
Howard Chu
d8aabb008f
ITS#4537 placate braindead compiler
2006-05-11 18:04:26 +00:00
Ralf Haferkamp
cf1304147d
Add Pre- and Postread Control to the supported controls (ITS#4538)
2006-05-11 16:45:33 +00:00
Pierangelo Masarati
914bf9926f
add "-n" to omit trailing newline
2006-05-11 14:36:20 +00:00
Howard Chu
a0ee28698c
ITS#4516 clear restricted status if other Binds have succeeded
2006-05-11 13:39:44 +00:00
Howard Chu
837e9466b8
ITS#4534 propagate CSN for delete syncID sets
2006-05-11 10:46:44 +00:00
Howard Chu
6e751774c4
Fix for !LDAP_SYSLOG
2006-05-11 04:43:17 +00:00
Howard Chu
ad7d644437
Omit trailing newline from generated password, so it may be directed
...
to a file and used by commandline tools
2006-05-11 03:09:40 +00:00
Howard Chu
b8b8ca1814
Rearrange, ARGS_TYPES should not be bitmasks
2006-05-11 02:13:03 +00:00
Howard Chu
4bf6f8e348
ITS#4535 set default cn=config access to NONE
2006-05-11 00:40:34 +00:00
Pierangelo Masarati
7cc29d2547
allow slappasswd to generate cleartext secret
2006-05-11 00:12:54 +00:00
Pierangelo Masarati
fbbb8a5d93
fix ITS#4522; imply "+0" when no access is given
2006-05-10 22:25:06 +00:00
Pierangelo Masarati
d79fd46f33
don't allow "none" as access level
2006-05-10 22:23:24 +00:00
Howard Chu
f38bf4b362
plug leaks
2006-05-10 13:03:42 +00:00
Howard Chu
ed25c75d60
plug leak
2006-05-10 12:53:36 +00:00
Howard Chu
cc260ed6a0
coverity cleanup
2006-05-10 12:36:49 +00:00
Ralf Haferkamp
b8bf18f36b
ITS#4532: check *pre/postread_ctrl before freeing
2006-05-10 09:07:37 +00:00
Pierangelo Masarati
42ab45aed2
fix warning message
2006-05-09 20:32:25 +00:00
Howard Chu
ab7e975159
check for NULLs from ber_mem funcs
2006-05-09 11:09:04 +00:00
Howard Chu
6b4de96679
plug leak
2006-05-09 10:52:22 +00:00
Howard Chu
0a43acc732
coverity cleanup
2006-05-09 10:41:05 +00:00
Howard Chu
912ff2798b
Fix tlimit munging
2006-05-09 00:01:35 +00:00
Howard Chu
aed92f35c1
refine prev commit
2006-05-08 13:12:12 +00:00
Howard Chu
f7115e761c
Fix strchrlen running past end of berval
2006-05-08 12:43:01 +00:00
Howard Chu
b41f2cad74
Fix dynacl tgrant/tdeny initialization
2006-05-08 09:06:37 +00:00
Luke Howard
87051a2a4a
ITS#4525
2006-05-08 08:58:33 +00:00
Pierangelo Masarati
c2369771f8
cleanup
2006-05-06 17:22:59 +00:00
Pierangelo Masarati
373ded8d24
add URI list resorting feature (ITS#4524)
2006-05-06 16:15:25 +00:00
Pierangelo Masarati
af5b506e37
fix previous commit
2006-05-06 11:53:54 +00:00
Pierangelo Masarati
401b211d98
touch idle-timeout HAVE_TLS odds; silence warning #ifndef HAVE_TLS
2006-05-06 10:50:13 +00:00
Pierangelo Masarati
470fda7744
cleanup version parsing
2006-05-06 10:42:29 +00:00
Pierangelo Masarati
2110880be1
refine previous commit
2006-05-06 03:16:45 +00:00
Pierangelo Masarati
a9b7f3612b
parallelize dobind/search (ITS#4519)
2006-05-06 02:25:53 +00:00
Pierangelo Masarati
b5eb214d79
fix "host=", broken by rev 1.446 of servers/slapd/config.c
2006-05-05 23:53:14 +00:00
Pierangelo Masarati
23c766bbfd
make sure NULL pointers are not dereferenced
2006-05-04 22:07:35 +00:00
Pierangelo Masarati
9447b9fff4
gracefully handle server down while initiating a search (ITS#4518)
2006-05-04 08:37:31 +00:00
Howard Chu
a30fa88ad3
Apply logoldattr / reqOld to modRDN requests as well
2006-05-03 21:29:56 +00:00
Pierangelo Masarati
45b378c753
don't muck with freed memory (spotted by valgrind)
2006-05-03 18:54:04 +00:00
Howard Chu
2a5ecbccaa
Remove some more yield() calls
2006-05-03 07:41:12 +00:00
Howard Chu
6fcc7b9b21
Hide starttls keyword if no TLS
2006-05-03 03:12:16 +00:00
Howard Chu
966c47e5b4
Detect TLS config changes
2006-05-03 02:48:23 +00:00
Howard Chu
d0b796f897
ITS#4515 add missing equality rules
2006-05-02 21:07:49 +00:00
Pierangelo Masarati
af1f87b96d
ldap_pvt_runqueue_next_sched() may return a pointer to data that's freed by task run earlier (ITS#4517)
2006-05-02 20:32:37 +00:00
Howard Chu
608c85a9f0
ITS#4423, fix sessionlog lower bound in playlog
2006-05-02 05:08:59 +00:00
Howard Chu
a8f8dfe747
Use ldap_pvt_thread_pool_tid()
2006-05-02 00:58:05 +00:00
Howard Chu
c58f16d9b5
FIx rev 1.207, ACL parsing
2006-05-01 23:36:38 +00:00
Pierangelo Masarati
3b5d411af2
fix idassert "override"
2006-05-01 22:54:07 +00:00
Pierangelo Masarati
f9f8623f6e
fix automated static build
2006-05-01 14:53:19 +00:00
Howard Chu
d8595b7c6e
ITS#4463 add constraint overlay
2006-04-29 10:03:36 +00:00
Howard Chu
442a3f1fde
searchbase is a required config parameter, log missing params.
2006-04-29 09:24:14 +00:00
Howard Chu
b1534d0ea9
Kludge to allow reading undefined attrs in DNs at startup
2006-04-29 02:15:53 +00:00
Howard Chu
1f6bb31d9d
Honor ACLs, don't just require root any more
2006-04-29 01:26:07 +00:00
Howard Chu
f5558876c0
Log a comment with realdn if different from authzDN
2006-04-28 23:37:35 +00:00
Howard Chu
d38dd74818
Fix adding ACLs to specific DBs vs global/frontend
2006-04-28 23:01:59 +00:00
Howard Chu
e1ec64aaee
rmutex_lock etc.: caller supplies thread id
2006-04-28 21:39:38 +00:00
Howard Chu
15ba27d5c1
Add logoldattr keyword for attributes that should always have their old
...
value logged in a Modify request (that matches the logold filter)
2006-04-28 20:40:43 +00:00
Howard Chu
9207979a86
Use recursive mutex to avoid deadlocks
2006-04-28 20:13:34 +00:00
Luke Howard
51a65afb86
SLAPI_PLUGIN_{PRE,POST}_RESULT_FN should also be called for
...
REP_SASL and REP_EXTENDED in addition to REP_RESULT -- the
distinction is not present in FDS
2006-04-28 08:39:29 +00:00
Howard Chu
716df7c62c
ITS#4512 fix bogus Debug messages in rev 1.48
2006-04-28 06:22:48 +00:00
Howard Chu
eda2b46dd2
Revert 1.96, restore 1.91 functionality
2006-04-28 06:07:05 +00:00
Howard Chu
590bc6a7fa
More logging for ITS#4423
2006-04-28 03:06:47 +00:00
Howard Chu
3879cac787
Fix slapadd of config tree, broken by ITS#4194
2006-04-27 23:52:53 +00:00
Howard Chu
f3ee4f5d30
Fix rev 1.52, frontendDB uses index {-1}.
2006-04-27 23:21:39 +00:00
Howard Chu
32712f4c26
Fix prev commit
2006-04-27 22:47:20 +00:00
Kurt Zeilenga
153e81817f
ITS#4414: SLP attributes support from Peter Marschall
2006-04-27 19:36:40 +00:00
Hallvard Furuseth
2f04f61dc7
Support rootdn
2006-04-27 16:12:59 +00:00
Hallvard Furuseth
a242808f7e
cleanup (unused variable)
2006-04-27 16:05:41 +00:00
Howard Chu
fd20e683df
Add logging for ITS#4423
2006-04-27 09:18:43 +00:00
Howard Chu
e97673df67
ITS#4500 use rdwr lock instead of mutex
2006-04-27 07:52:12 +00:00
Howard Chu
2cd781eae3
Cleanup close
2006-04-27 02:29:13 +00:00
Howard Chu
8b06446b10
back-config support, cleanup init/destroy
2006-04-27 02:28:07 +00:00
Howard Chu
328470c114
OIDs for more overlays
2006-04-27 02:13:21 +00:00
Howard Chu
7cd5dddd4c
back-config support. from Matthew Backes @ Symas.com and
...
Karsten Kuenne @ rentec.com (ITS#4506)
2006-04-27 02:12:34 +00:00
Howard Chu
d62fd3fd5a
Cleanup prev commit
2006-04-27 00:27:43 +00:00
Howard Chu
6af9770996
Tweak mutexes
2006-04-27 00:19:32 +00:00
Howard Chu
4f1e154c12
Implement reqOld support
2006-04-27 00:01:20 +00:00
Howard Chu
bac546adb0
Fix prev commit
2006-04-26 10:26:46 +00:00
Howard Chu
0836354d1e
Fix ITS#4505
2006-04-26 09:12:40 +00:00
Pierangelo Masarati
02b3af0900
check existence of newSuperior
2006-04-25 21:11:44 +00:00
Pierangelo Masarati
54f7d5aef3
allow empty modlist
2006-04-25 19:51:38 +00:00
Pierangelo Masarati
95b29919a3
more ITS#4503 cleanup
2006-04-25 19:30:48 +00:00
Pierangelo Masarati
004b69d070
callbacks must return valid error codes (ITS#4499)
2006-04-25 19:07:34 +00:00
Howard Chu
94c3bc332d
Fix log_age_parse days parsing
2006-04-25 10:24:54 +00:00
Hallvard Furuseth
61d71d95b9
Cast isspace() arg to unsigned char. (Update to previous change.)
2006-04-24 20:32:23 +00:00
Howard Chu
478ae2346e
PPOLICY_ERROR is primitive, not constructed
2006-04-22 00:23:44 +00:00
Howard Chu
449188fb73
Fix EXPIRE/GRACE tags in control value
2006-04-21 23:45:29 +00:00
Pierangelo Masarati
4d894c7d24
don't idassert if proxyAuthz == boundDN (ITS#4497)
2006-04-21 21:07:31 +00:00
Howard Chu
c636f654a4
Make be_shadow_update more specific for syncrepl ops, since mirrormode
...
lets normal users write to a syncrepl database
2006-04-20 22:20:25 +00:00
Pierangelo Masarati
19c5f261e5
re-fix ITS#4495 working around atoi() limitations
2006-04-19 23:57:02 +00:00
Hallvard Furuseth
5181a522c1
Revert rev 1.276, which broke back-shell "RESULT\ncode: <value>\n" (ITS#4495)
2006-04-19 22:03:13 +00:00
Hallvard Furuseth
1c51987f87
#define Statslog() also when --disable-debug (disappeared in rev 1.754)
2006-04-16 16:01:09 +00:00
Pierangelo Masarati
e01743193d
more coverity issues
2006-04-14 00:17:27 +00:00
Howard Chu
edb1c663fc
Fix translucent modify
2006-04-13 23:00:11 +00:00
Hallvard Furuseth
7948cb0bfd
init_module() typo: Log() -> Log2()
2006-04-13 22:24:23 +00:00
Hallvard Furuseth
d60b89c148
meta_back_db_config: lutil_atou(version,) -> lutil_atoi
2006-04-13 22:23:03 +00:00
Hallvard Furuseth
7a19d8855d
Remove useless assert: unsigned lc->lc_refcnt >= 0
2006-04-13 22:20:55 +00:00
Hallvard Furuseth
6567412f54
schema_destroy(): Handle failed slap_schema_init()
2006-04-13 22:19:19 +00:00
Hallvard Furuseth
c044d32262
slap_loglevel_get() prototype
2006-04-13 22:16:17 +00:00
Howard Chu
f5b815b1b3
ITS#4489 fix slap_tls_ld cleanup
2006-04-13 21:49:25 +00:00
Pierangelo Masarati
bd8514fb1e
address protocol version issues (ITS#4488)
2006-04-13 16:20:00 +00:00
Pierangelo Masarati
423a2c73f4
fix *entry_get() behavior
2006-04-13 16:09:06 +00:00
Pierangelo Masarati
a2a9298080
cleanup
2006-04-13 14:46:16 +00:00
Pierangelo Masarati
ec849bd981
no TLS no party
2006-04-13 12:09:34 +00:00
Pierangelo Masarati
c08f05f0c0
group SlapReply search flags
2006-04-12 14:02:15 +00:00
Kurt Zeilenga
eb9a3c1876
unifdef -DSLAP_ACL_HONOR_DISCLOSE
...
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Kurt Zeilenga
444ec670e3
really fix it
2006-04-11 22:27:41 +00:00
Kurt Zeilenga
809331582b
Fix bad edit - like cause of ITS#4484
2006-04-11 22:26:52 +00:00
Kurt Zeilenga
cc2ad31bba
remove more LDBM cruft
2006-04-11 18:56:11 +00:00
Kurt Zeilenga
2e2d036490
remove LDAP_DEVEL around lightweight dispatcher code
...
(presently in 2.4)
2006-04-11 18:34:09 +00:00
Pierangelo Masarati
dfc8e7f6b8
better fix for ITS#4483
2006-04-09 22:29:42 +00:00
Pierangelo Masarati
666e0677ca
re-fix previous commit
2006-04-08 15:59:59 +00:00
Pierangelo Masarati
3d13b08a44
fix network-timeout commit
2006-04-08 14:45:45 +00:00
Pierangelo Masarati
cc8109db06
fix previous commit
2006-04-08 14:45:19 +00:00
Pierangelo Masarati
0500576056
add support for old proxyAuthz encoding; allow to workaround buggy implementations of the new version (now RFC4370)
2006-04-08 11:12:30 +00:00
Kurt Zeilenga
037d513aee
Move LDBM to the attic
2006-04-08 04:24:48 +00:00
Kurt Zeilenga
c48338233e
s/LDBM/BDB/
2006-04-08 04:24:12 +00:00
Kurt Zeilenga
fd2d6bcca3
s/ldbm/hdb/
2006-04-08 04:21:03 +00:00
Pierangelo Masarati
6a293c65b3
line up network-timeout with back-meta
2006-04-07 09:08:37 +00:00
Howard Chu
c1019fbfbd
More for ITS#4323 fix
2006-04-07 04:17:44 +00:00
Howard Chu
4c754ec249
Fix typo
2006-04-07 03:08:43 +00:00
Howard Chu
c6d0edc3b7
Use TLS context stuff in syncrepl
2006-04-07 02:57:39 +00:00
Howard Chu
7a5d12cc51
Add TLS options to bindconf struct
2006-04-07 01:49:19 +00:00
Pierangelo Masarati
8c1b8d3f7b
actually, if a connection is already in the AVL tree, use it if not binding; otherwise use a tainted one; taint connections that must be freed when refcnt goes to zero
2006-04-07 01:28:56 +00:00
Howard Chu
76bf5d4c76
Use new TLS SSL_CTX support
2006-04-07 01:25:46 +00:00
Pierangelo Masarati
0f1023b6c7
pedantic cleanup
2006-04-06 23:55:09 +00:00
Pierangelo Masarati
267486bfad
fix ITS#4479
2006-04-06 23:48:55 +00:00
Kurt Zeilenga
8fb8b17c04
Code which doesn't hanlding allocation failure should use
...
ch_ routines, not SLAP_ macros
2006-04-06 21:44:05 +00:00
Kurt Zeilenga
1b9d68d6ba
cleanup
2006-04-06 21:29:38 +00:00
Pierangelo Masarati
b03d8abcde
don't leak if realloc fails (ITS#4477)
2006-04-06 19:13:41 +00:00
Pierangelo Masarati
c6ab0790d1
don't leak if realloc fails (ITS#4477); s/new/newptr/
2006-04-06 19:07:48 +00:00
Hallvard Furuseth
a070e6c05f
Avoid sprintf buffer overrun if huge hostname
2006-04-06 09:28:19 +00:00
Howard Chu
daec2febfb
ITS#4476 revert connection_write processing back into main thread
2006-04-06 04:34:37 +00:00
Hallvard Furuseth
b4586b2f84
Fix for the previous ITS#4323 fix: for(expr;...) -> for(i=expr;...)
2006-04-05 14:15:34 +00:00
Howard Chu
c76eb501ab
Revert cache-purge task, go back to purging inline
2006-04-05 07:17:11 +00:00
Howard Chu
0ad714d61e
Additional fix for ITS#4323, must propagate search result controls
2006-04-05 07:03:25 +00:00
Kurt Zeilenga
45d0479d37
Reverse last commit. Wrong tree.
2006-04-05 00:40:53 +00:00
Kurt Zeilenga
31d64d4642
No LogTest in re23
2006-04-05 00:39:46 +00:00
Howard Chu
2bf9afd828
ITS#4323 allow lower overlays to work on master database
2006-04-05 00:27:16 +00:00
Hallvard Furuseth
eca5f7bf2d
ITS#4472: Make t_rwlock a lock pointer instead of a lock, and malloc/free it.
...
That way, realloc(qm->templates...) won't move the ldap_pvt_thread_rdwr_t data.
2006-04-04 23:12:58 +00:00
Howard Chu
04dae5a020
ITS#4442 just log refint failures, client only cares about main request
2006-04-04 22:16:24 +00:00
Pierangelo Masarati
674c98fa7d
honor stop on error
2006-04-04 19:48:22 +00:00
Pierangelo Masarati
e21f57cf05
complete previous commit (protect binds)
2006-04-04 18:45:59 +00:00
Pierangelo Masarati
543396c804
make sure only on bind at a time occurs; release resources only when appropriate
2006-04-04 17:41:50 +00:00
Pierangelo Masarati
2e9f2995ec
only wait if no entry was returned
2006-04-04 17:41:13 +00:00
Howard Chu
3bfe4a7f77
plug leaks
2006-04-04 10:58:08 +00:00
Howard Chu
abb01fa437
cleanup
2006-04-04 10:47:42 +00:00
Howard Chu
fc61aab12b
plug leak
2006-04-04 10:31:01 +00:00
Howard Chu
6a50826676
plug leaks
2006-04-04 10:27:28 +00:00
Howard Chu
548270776d
Plug leak
2006-04-04 10:12:55 +00:00
Howard Chu
272211fbcd
Same as ITS#4464, don't call cache_return_entry with NULL entry
2006-04-04 09:56:34 +00:00
Pierangelo Masarati
79df3e9c3c
don't add unnecessary message
2006-04-03 22:06:12 +00:00
Pierangelo Masarati
14cbf4bc3e
make sure an invalid connection is always released as appropriate
2006-04-03 21:56:30 +00:00
Pierangelo Masarati
aecfb85793
immediately return sizelimitExceeded if appropriate
2006-04-03 21:14:14 +00:00
Pierangelo Masarati
070c9d9f07
make sure rs->sr_err is fine
2006-04-03 00:33:34 +00:00
Pierangelo Masarati
c853ba1f0e
more on recovery (ITS#4429)
2006-04-03 00:32:59 +00:00
Hallvard Furuseth
19a0d82937
Init & destroy so.s_mutex around syncprov_findbase() call in syncprov_op_search
2006-04-02 23:49:57 +00:00
Hallvard Furuseth
b2f79aa42e
Initialize and destroy lc_lai.lai_mutex
2006-04-02 23:47:13 +00:00
Howard Chu
c63d1f04f8
plug leaks
2006-04-02 21:16:06 +00:00
Hallvard Furuseth
da0c0360e4
Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
2006-04-02 19:54:24 +00:00
Hallvard Furuseth
c2f210a128
Return a value (0) from auditlog_db_close() and auditlog_db_destroy()
2006-04-02 16:40:39 +00:00
Hallvard Furuseth
909f5e6ae9
Cast %ld format arg to long
2006-04-02 16:38:46 +00:00
Hallvard Furuseth
b90c3d6fd3
Add missing snprintf args in debug output
2006-04-02 16:37:52 +00:00
Hallvard Furuseth
6c772f2057
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2006-04-01 23:52:42 +00:00
Hallvard Furuseth
581c1ff6c7
Cast ctype.h char arguments to unsigned char
2006-04-01 23:44:42 +00:00
Hallvard Furuseth
7ead463927
Remove suspicious whitespace from makefile
2006-04-01 23:29:41 +00:00
Pierangelo Masarati
44a75a03c0
allow overlays to inject an abandon without returning SLAPD_ABANDON
2006-04-01 18:59:26 +00:00
Pierangelo Masarati
46cb141185
seems to fix the equivalent of ITS#4429 in back-meta; had to give up per-target conn-ttl and idle-timeout
2006-04-01 18:56:39 +00:00
Pierangelo Masarati
e21ec88c88
fix previous commit (ITS#4465)
2006-04-01 15:31:35 +00:00
Pierangelo Masarati
3aac54f089
fix bound check (ITS#4449)
2006-04-01 15:22:13 +00:00
Pierangelo Masarati
fc89650cce
add a cleanup handler for binds (ITS#4465)
2006-04-01 15:21:00 +00:00
Pierangelo Masarati
7cba7d0b39
don't use uninitialized mutexes
2006-03-31 23:07:48 +00:00
Pierangelo Masarati
2f366c3a52
initialize the connection_pool in server mode only
2006-03-31 23:04:13 +00:00
Howard Chu
c002351982
cleanup
2006-03-31 22:24:39 +00:00
Howard Chu
65079f768e
Cleanup NULL check
2006-03-31 22:05:01 +00:00
Howard Chu
8c990ff2e9
plug leaks
2006-03-31 21:59:39 +00:00
Kurt Zeilenga
28191d7642
don't call cache_return_entry_rw with e of NULL
2006-03-31 21:03:51 +00:00
Howard Chu
c41a151d1e
Cleanup
2006-03-31 12:53:32 +00:00
Howard Chu
0af1940f3f
plug leaks
2006-03-31 12:20:04 +00:00
Howard Chu
90c8a53db4
plug leaks
2006-03-31 11:15:26 +00:00
Howard Chu
8cbd5ecc13
Cleanup
2006-03-31 10:45:23 +00:00
Howard Chu
bb9d5b1100
Plug leaks, fix coverity errors
2006-03-31 09:33:46 +00:00
Pierangelo Masarati
ac8c1f2a26
fix multiple response messages; add overall sleep time
2006-03-30 23:49:51 +00:00
Kurt Zeilenga
5487575086
Add link to FAQ entry on BDB tuning
2006-03-30 17:56:56 +00:00
Pierangelo Masarati
02966c3d1c
fix handling of expired connections (ITS#4429; need to look at back-meta as well)
2006-03-29 01:26:42 +00:00
Pierangelo Masarati
bacd1f170f
leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457)
2006-03-28 21:45:54 +00:00
Pierangelo Masarati
e673b4d9ad
propagate pretty DN (ITS#4456)
2006-03-28 19:20:01 +00:00
Pierangelo Masarati
0a465343fb
cleanup
2006-03-27 00:31:38 +00:00
Pierangelo Masarati
51e1ab59cd
streamline handling of simple bind by global overlays (ITS#4454)
2006-03-26 23:03:43 +00:00
Pierangelo Masarati
1418b2c5b1
fix previous commit: actually free the connection in case of failed bind
2006-03-25 01:12:27 +00:00
Pierangelo Masarati
fd5208c18f
destroy bind connection after failed bind (ITS#4428)
2006-03-25 00:33:42 +00:00
Pierangelo Masarati
00073c8cac
fix operational attrs return with chain overlay (ITS#4431); misc cleanup
2006-03-24 22:49:51 +00:00
Pierangelo Masarati
3160c03dab
cleanup previous commit
2006-03-23 23:01:14 +00:00
Pierangelo Masarati
3437406a0b
honor "chase-referrals no" (ITS#4447)
2006-03-23 21:01:19 +00:00
Pierangelo Masarati
324431062b
refuse illegal values for "threads" (ITS#4433)
2006-03-20 12:12:28 +00:00
Pierangelo Masarati
9019ea74ee
fix leak
2006-03-19 23:26:12 +00:00
Luke Howard
486721d531
Fix build if LDAP_X_TXN is undefined
2006-03-10 02:44:32 +00:00
Kurt Zeilenga
ffee887d71
Update certificate schema to use IANA assigned OIDs
2006-03-08 20:07:25 +00:00
Kurt Zeilenga
71511a0569
more txn infrastructure
2006-03-08 05:54:10 +00:00
Howard Chu
afa10c3486
Add "subord" alias for subordinate scope
2006-03-07 22:39:09 +00:00
Kurt Zeilenga
815c178edc
control/TXN cleanup
2006-03-07 22:05:57 +00:00
Kurt Zeilenga
4a87798893
Remove developer's assert
2006-03-07 21:48:25 +00:00
Kurt Zeilenga
8788a2af36
Disallow pre/post reads in transactions (haven't yet specified
...
protocol mechanism to return update response controls).
2006-03-07 20:31:46 +00:00
Howard Chu
e30be8748a
Fix prev commit
2006-03-07 12:55:27 +00:00
Howard Chu
2c7f300619
FIx olcMirrorMode keyword
2006-03-07 12:48:46 +00:00
Kurt Zeilenga
247536744e
Some more txn infrastructure
2006-03-07 08:07:21 +00:00
Kurt Zeilenga
662051cd16
cleanup
2006-03-07 07:19:15 +00:00
Kurt Zeilenga
fad69dbef8
Additional TXN changes
2006-03-07 02:21:27 +00:00
Kurt Zeilenga
8ac8d70a55
TXN protocol element parsers (without any backend support)
...
Misc cleanup
2006-03-07 00:48:14 +00:00
Pierangelo Masarati
3861c47316
queue implicit binds (ITS#4409)
2006-03-03 16:27:00 +00:00
Kurt Zeilenga
4c64b8626d
Add support for GSER-encoded certificateExactAsssertion values
2006-03-03 04:54:49 +00:00
Pierangelo Masarati
a3f4f0b2db
map result codes as required (ITS#4419)
2006-03-02 00:35:12 +00:00
Luke Howard
fa1f4d3c38
slapi_ch_bvdup() should be implemented in terms of ber_dupbv()
2006-03-01 16:29:31 +00:00
Howard Chu
df91c3ef33
ITS#4372 add auditlog to build
2006-02-27 11:20:08 +00:00
Howard Chu
7b5528d68b
ITS#4417 backglue must pass intermediate responses transparently.
...
syncprov must prevent send_ldap_result from being called for an
in-progress persistent search.
2006-02-27 09:20:55 +00:00
Luke Howard
cd18c6cb4d
Fix slapi_valueset_count() for no value case
2006-02-27 05:21:11 +00:00
Luke Howard
8c674299bf
Fix memory smasher in slapi_valueset_free()
2006-02-27 03:44:40 +00:00
Luke Howard
8a3e5eb1b8
Add SLAPI_OPERATION_MSGID
...
Add SLAPI_IS_INTERNAL_OPERATION
2006-02-20 09:30:28 +00:00
Pierangelo Masarati
41f963644c
be conservative in reading subtree-exclude
2006-02-16 23:37:42 +00:00
Ralf Haferkamp
df7757b1fb
fixed last commit
2006-02-16 13:22:37 +00:00
Ralf Haferkamp
1195d6946b
Error out if creating the back-config entries fails when converting from
...
config file to config backend. [ITS: #4407 ]
2006-02-16 11:16:22 +00:00
Howard Chu
e18a6ab7f9
ITS#4406 don't cache attrsonly results
2006-02-16 08:16:49 +00:00
Kurt Zeilenga
0532ecfccd
No longer hide cancel.
2006-02-16 05:05:52 +00:00
Kurt Zeilenga
8c8ea049cb
Macro cleanup
2006-02-16 05:01:29 +00:00
Pierangelo Masarati
af0d2b1d2a
add support for "subtree-exclude"
2006-02-16 01:26:39 +00:00
Pierangelo Masarati
fa72882808
fix error message
2006-02-16 01:10:45 +00:00
Luke Howard
ec023f9777
remove c_pb, it is no longer needed
2006-02-16 00:14:38 +00:00
Kurt Zeilenga
377aa0be68
ITS#4404: fix typo in ValuesReturnFilter control OID, add
...
temporary server-side support for old OID.
2006-02-15 21:30:35 +00:00
Ralf Haferkamp
93d5e01390
some more debug logging
2006-02-15 17:25:45 +00:00
Howard Chu
937bc5bbb7
Fix ITS#4401 teardown persistent clients when unconfiguring
2006-02-15 07:38:17 +00:00
Kurt Zeilenga
cbc11c9233
unifdef -DLDAP_NULL_IS_NULL
2006-02-14 23:18:12 +00:00
Luke Howard
727a16ca55
Remove SLAPI references
2006-02-14 09:21:30 +00:00
Luke Howard
dab5803a59
Use bi_db_{open,close} to run SLAPI start/close plugins
2006-02-14 09:20:50 +00:00
Kurt Zeilenga
3db579c414
Fixed misuse of matched entry
2006-02-13 21:35:58 +00:00
Luke Howard
bfaf2a805f
Add sequential modify overlay to supported overlays
2006-02-13 02:24:26 +00:00
Kurt Zeilenga
3f7241826a
fix typos
2006-02-12 07:03:12 +00:00
Pierangelo Masarati
53c40fac27
rework connection handling on multiple binds with the same connection
2006-02-11 17:40:28 +00:00
Howard Chu
a5eef48123
Fix ITS#4395, check for non-read/write epoll events
2006-02-10 18:27:50 +00:00
Kurt Zeilenga
d2d1eb786b
Improved bignum detection/use
2006-02-10 08:21:02 +00:00
Luke Howard
4954adb7c1
formatting cleanup
2006-02-10 07:40:23 +00:00
Howard Chu
0cc7ed6d55
ITS#4394 fix segfault
2006-02-10 00:31:17 +00:00
Howard Chu
bf81549c88
Prefer long long to BIGNUM or GMP
2006-02-09 07:48:19 +00:00
Howard Chu
9eca89acc8
Improve prev commit
2006-02-09 07:02:40 +00:00
Howard Chu
6344d36df0
Same as ITS#4385, must wake listener after submitting job to runqueue
2006-02-09 06:53:49 +00:00
Howard Chu
88c3a5a5b6
Add debug message when deleting nonpresent entries
2006-02-08 21:24:43 +00:00
Luca Scamoni
d4ad06e788
s/olcMultiMaster/olcMirrorMode
2006-02-08 10:16:20 +00:00
Howard Chu
e183b5d093
s/multimaster/mirrormode/ we don't want folks confusing this with real
...
multimaster.
2006-02-08 05:48:41 +00:00
Pierangelo Masarati
6275c6ecdc
make sure no invalid candidate gets used (had a core for i == META_TARGET_MULTIPLE)
2006-02-07 18:51:47 +00:00
Howard Chu
a4d161cff6
More unifdef SLAPD_MULTIMASTER cleanup
2006-02-07 01:05:57 +00:00
Pierangelo Masarati
f4c578cb31
delete all conns cached for a single client->proxy connection (partially addresses ITS#4387)
2006-02-06 21:39:56 +00:00
Howard Chu
83c259a207
Cleanup prev commit
2006-02-06 20:39:25 +00:00
Howard Chu
0e6aa53cd1
Unifdef SLAPD_MULTIMASTER, use config setting instead
2006-02-06 04:45:12 +00:00
Howard Chu
fe3b6d0071
ITS#4384 rework entryCSN handling, retrieve from incoming request
...
if it was provided. Always check and graduate, regardless of shadow status.
2006-02-05 01:09:48 +00:00
Howard Chu
f96e6378d6
filter2bv can't de-normalize UUIDs, must do it explicitly for back-ldap
...
in test045
2006-02-05 01:05:38 +00:00
Pierangelo Masarati
f0d6ac3e0b
debug cleanup
2006-02-04 15:50:22 +00:00
Howard Chu
ec7e2af34a
delete now redundant memsets
2006-02-03 19:37:12 +00:00
Pierangelo Masarati
140bc77e50
(blind) fix to ITS#4386 (uninitialized var)
2006-02-03 18:06:00 +00:00
Kurt Zeilenga
4bf9eb2365
fix comments
2006-02-03 04:10:29 +00:00
Pierangelo Masarati
9fd59d812d
format error message as LDIF (do not assume the error messages do not contain fancy chars; ITS#4382)
2006-02-02 21:01:29 +00:00
Howard Chu
71d439aba7
Use "pcache" dynamic debug level
2006-02-02 08:31:15 +00:00
Howard Chu
0ef7742328
Reparse unknown debug flags after config is read to allow use
...
of dynamically registered debug levels
2006-02-02 08:30:56 +00:00
Howard Chu
57c25cbd68
Fix negative caching again, be sure it's really from zero entries returned
2006-02-02 02:52:54 +00:00
Pierangelo Masarati
54aefe30f7
implement proxy long-lived connection TTL
2006-02-01 23:10:12 +00:00
Pierangelo Masarati
0e2b26986e
do not assume the matching rule synta has a validate handler (ITS#4380)
2006-02-01 21:53:58 +00:00
Howard Chu
f50316f141
Use LDAP_DEBUG_CACHE instead of TRACE. Delete remove_mutex.
2006-02-01 19:31:35 +00:00
Howard Chu
297d12c808
ITS#4376 add missing parameters in config_generic_wrapper
2006-01-28 08:26:21 +00:00
Howard Chu
bedac8bd60
Fix negative caching, only do it on Success
2006-01-27 22:55:28 +00:00
Kurt Zeilenga
a3fce95ffc
Add note about contrib/slapd-modules
2006-01-25 22:12:16 +00:00
Howard Chu
a970038b0c
ITS#4373, fix prev commit
2006-01-25 19:06:16 +00:00
Luke Howard
667d3c1a37
fix typo
2006-01-25 14:12:51 +00:00
Howard Chu
3d3ba13f92
ITS#4369 add log messages for delta syncrepl ops
2006-01-25 01:47:48 +00:00
Howard Chu
bebfc49d71
ITS#4370 always init slap_daemon mutexes
2006-01-25 01:36:18 +00:00
Kurt Zeilenga
f5b9ff7940
unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
...
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Howard Chu
fdc89d2604
ITS#4365 reset frs.sr_nentries before searching in syncprov_playlog
2006-01-23 22:23:00 +00:00
Luke Howard
0c0abfe917
slapi_filter_dup() can now use filter_dup()
2006-01-23 21:23:36 +00:00
Howard Chu
51c5916149
ITS#4364 add filter_dup, don't use str2filter to dup filters.
2006-01-23 20:53:52 +00:00
Howard Chu
3407467ca2
ITS#4361, 4362 fix autorecovery logic, add ALOCK_NOSAVE flag to record
...
txn/non-txn status of the environment.
2006-01-22 13:51:33 +00:00
Howard Chu
bf0692d5ba
ITS#4360 must init c_minfree
2006-01-22 05:11:23 +00:00
Pierangelo Masarati
44abcdfa2f
fix previous commit
2006-01-21 16:08:01 +00:00
Pierangelo Masarati
5360a5dc21
cleanup
2006-01-21 10:42:21 +00:00
Pierangelo Masarati
42bf993798
on't use freed memory; streamline parse error reporting
2006-01-21 10:41:41 +00:00
Howard Chu
2b0bccc74c
ITS#4357 Solaris occasionally returns ENOSYS when selecting on a descriptor
...
in the midst of closing. Instead of special casing EBADF, ENOSYS, and
WSAENOTSOCK, just count if any error occurs two or more times in a row,
and log if so. Don't treat any error as fatal unless it occurs many times
in a row (SLAPD_EBADF_LIMIT).
2006-01-20 08:13:54 +00:00
Pierangelo Masarati
05088318df
need normalized timestamp as well, although this is a SINGLE-VALUE attr
2006-01-19 23:20:45 +00:00
Howard Chu
c2b660f3d7
ITS#4355 timestamps must be normalized
2006-01-19 22:16:23 +00:00
Luke Howard
f341270a46
Permissive support for LDAP_MOD_INCREMENT -- treat absence of attribute
...
as if attribute existed with a value of 0
2006-01-19 22:06:24 +00:00
Howard Chu
4361a942ab
Add ability to cache negative results and specify negative TTL on templates
2006-01-18 02:59:06 +00:00
Howard Chu
03f28de8bb
ITS#4225 added proxyCacheQueries parameter for configuring max_queries
2006-01-17 19:51:50 +00:00
Pierangelo Masarati
5ffc8c2588
further cleanup
2006-01-16 23:28:08 +00:00
Pierangelo Masarati
324174fc76
refine previous commit (error out before actual add)
2006-01-16 23:14:21 +00:00
Pierangelo Masarati
fa4e093f0c
ITS#4337: renaming not implemented yet(need a better fix)
2006-01-16 22:58:36 +00:00
Howard Chu
9b2ee679e8
Fix WAKE_LISTENER
2006-01-15 15:40:53 +00:00
Howard Chu
a4a85e03c1
ITS#3950 delete gratuitous yield()s
2006-01-15 13:33:29 +00:00
Pierangelo Masarati
a029490fe8
let overlays define if they must appear exactly once in a chain, and if they must be global/per-db only, and holler in case
2006-01-14 18:02:35 +00:00
Pierangelo Masarati
7f826af5fd
also restore original o_bd
2006-01-14 17:47:54 +00:00
Pierangelo Masarati
bad81cb0d1
fix previous commit
2006-01-14 17:24:06 +00:00
Pierangelo Masarati
31578ca431
preserve original o_bd field (global overlays; part of fix to ITS#4336)
2006-01-14 16:57:14 +00:00
Pierangelo Masarati
da921ed175
cleanup
2006-01-14 16:51:39 +00:00
Pierangelo Masarati
d168b49464
make back-meta conform with man page
2006-01-14 15:28:28 +00:00
Pierangelo Masarati
63e80ef12e
rootdn can exceed limit on number of dynamic objects
2006-01-14 11:17:10 +00:00
Pierangelo Masarati
72d2ee4d19
address ITS#4332; might remove dynamicObject counting
2006-01-14 11:12:56 +00:00
Pierangelo Masarati
e720c15c4d
tolerate that config_get_vals() returns success with no values (ITS#4341)
2006-01-14 10:21:47 +00:00
Pierangelo Masarati
f3dba23fbb
previous commit contradicts man page; see comment in code
2006-01-14 10:03:11 +00:00
Pierangelo Masarati
af83c5e242
"relay" needs suffix and more cleanup (ITS#4340)
2006-01-14 09:56:35 +00:00
Howard Chu
f16d101033
Log select() failure at DEBUG_ANY, since it triggers a shutdown.
2006-01-13 20:28:31 +00:00
Howard Chu
84429e8bcb
ITS#4338 delete extraneous slapd_close() calls. Descriptors that were in
...
the event set must be removed using slapd_remove() and the whole sequence
must be protected with the slap_daemon.sd_mutex to close them properly.
Otherwise it will wind up closing valid, freshly opened sockets, or closing
dead sockets twice, etc. It's unnecessary to do any close management here
since connection.c already does the correct teardown sequence.
2006-01-13 17:30:03 +00:00
Howard Chu
b85926a2c1
ITS#4339 attributeoptions patch from Ralf Haferkamp @ SuSE
2006-01-13 16:42:34 +00:00
Pierangelo Masarati
e393f47465
allow slapo-chain to be instantiated without any specific config statement...
2006-01-13 10:41:54 +00:00
Kurt Zeilenga
48c34d254f
Update proxied authorization implementation to use IANA
...
assigned result code.
2006-01-12 22:55:56 +00:00
Pierangelo Masarati
7124ec615e
make sure appropriate limits are in place (ITS#4336)
2006-01-12 22:48:02 +00:00
Howard Chu
2ba87c6fe6
ITS#4334 Must propagate connection_destroy to captive backend.
2006-01-12 15:40:52 +00:00
Howard Chu
797cffb9b3
Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch.
2006-01-12 08:40:09 +00:00
Pierangelo Masarati
3a58263037
add comment about run-time registered extop/control compatibility
2006-01-12 08:16:18 +00:00
Howard Chu
a2e4d2f463
Fix prev commit
2006-01-12 03:40:08 +00:00
Pierangelo Masarati
90fad5a3a3
(incorrect) variable used before set (ITS#4331)
2006-01-11 21:30:53 +00:00
Pierangelo Masarati
1a217516f0
allow control handlers to be replaced
2006-01-11 19:36:18 +00:00
Pierangelo Masarati
9795721f7a
improve back-meta retry capabilities (ITS#4328)
2006-01-11 19:33:44 +00:00
Howard Chu
34cefbe0ad
ITS#4324 don't auto-recover in slapcat. Don't trigger a recovery if
...
DB_CONFIG has same mtime as DB environment.
2006-01-11 15:38:30 +00:00
Pierangelo Masarati
7038044c91
in abnormal cases, error may be sent twice
2006-01-11 15:32:34 +00:00
Pierangelo Masarati
0dce854ce4
complete fix to back-ldap (ITS#4315?); not sure dobind should actually be treated as a bind...
2006-01-11 12:11:59 +00:00
Pierangelo Masarati
c9ef14afca
fix typos in previus commit
2006-01-11 08:36:37 +00:00
Howard Chu
3ecd52e0b8
Don't update in-memory cookie until db update succeeds
2006-01-11 08:10:17 +00:00
Howard Chu
3e682cdac4
Propagate local errors up, fix test045
2006-01-11 07:37:42 +00:00
Pierangelo Masarati
de80985c95
don't allow multiple relay lines (ITS#4322)
2006-01-10 20:30:35 +00:00
Howard Chu
a9844efa70
ITS#4319 fix check for need_shutdown/slap_shutdown()
2006-01-10 18:32:09 +00:00
Pierangelo Masarati
7368ffb77a
don't idassert anon2anon (ITS#4321)
2006-01-10 13:17:31 +00:00
Pierangelo Masarati
e3a81f17c7
comment no longer required
2006-01-10 02:10:07 +00:00
Pierangelo Masarati
9bcb37b5c1
refine fix to ITS#4320
2006-01-10 02:05:54 +00:00
Pierangelo Masarati
cc51777312
check pointers (ITS#4320)
2006-01-10 01:53:29 +00:00
Pierangelo Masarati
f3c2c7ba48
use slab memory for proxyauthz
2006-01-09 20:00:51 +00:00
Howard Chu
13fdab9509
Optimizations for containment checks
2006-01-09 19:35:03 +00:00
Howard Chu
a393b68656
Plug memleak when query isn't added to cache
2006-01-09 18:00:11 +00:00
Howard Chu
7ce9e7b7c6
Tone down debug messages
2006-01-09 17:27:57 +00:00
Pierangelo Masarati
779e26df2d
apparently Statslog() doesn't really differ any more from just Log()...
2006-01-09 16:28:02 +00:00
Howard Chu
42ec7b40b1
Streamline answerability test
2006-01-09 16:22:55 +00:00
Pierangelo Masarati
21be582df7
use a placeholder to mark that there is no process in the runqueue (ITS#4318)
2006-01-09 15:45:59 +00:00
Pierangelo Masarati
543c588772
don't send error with back-meta
2006-01-09 15:13:29 +00:00
Pierangelo Masarati
6995603a3d
refine fix to ITS#4315; apply it to back-meta as well
2006-01-09 14:20:37 +00:00
Howard Chu
2be7cf6114
ITS#4316 fix to make attrset subsets work as documented.
2006-01-09 13:56:25 +00:00
Howard Chu
8538223def
TS#4315 fix prev commit, spinning in ldap_back_dobind
2006-01-09 09:37:52 +00:00
Howard Chu
2b39a26150
ITS#4315 fix bind concurrency issue
2006-01-09 09:14:53 +00:00
Luke Howard
c51a71e5c2
Add -s option to slapadd to disable schema checking
2006-01-08 20:18:14 +00:00
Luke Howard
90a6c71d32
ITS#4291
2006-01-08 14:11:29 +00:00
Luke Howard
e60724422b
ITS#4311
2006-01-08 14:07:19 +00:00
Pierangelo Masarati
a6203bd1ef
improve previous commit
2006-01-07 12:35:02 +00:00
Pierangelo Masarati
bfad4e8b46
fix entryExpireTimestamp description
2006-01-07 12:26:59 +00:00
Pierangelo Masarati
17bb32af28
enable new response/cleanup playlist #ifdef LDAP_DEVEL
2006-01-07 11:40:39 +00:00
Pierangelo Masarati
39959c3192
release entry before sending results (ITS#4313)
2006-01-07 11:39:18 +00:00
Pierangelo Masarati
b21c869ac3
silence (harmless) warnings
2006-01-07 11:13:40 +00:00
Pierangelo Masarati
697df7cc06
silence warning
2006-01-07 11:06:32 +00:00
Howard Chu
7b9fc0e377
wake listener when scheduling qtask so it can run immediately
2006-01-06 20:38:14 +00:00
Pierangelo Masarati
08fe5e7026
register OID for entryExpireTimestamp
2006-01-06 18:39:40 +00:00
Pierangelo Masarati
339b9c371e
rfc2589 support (ITS#4293)
2006-01-06 17:46:52 +00:00
Pierangelo Masarati
a17df0e810
ITS#4310 seems to affect also back-ldbm
2006-01-06 17:44:19 +00:00
Pierangelo Masarati
e484ebf9c8
complete ACI commit
2006-01-06 17:28:59 +00:00
Pierangelo Masarati
a54ca7a6ce
factor ACI code out of slapd; now it can only use dynacl layer
2006-01-06 17:12:35 +00:00
Pierangelo Masarati
45cda82eb1
allow load_extop to replace an existing handler (not by default, though)
2006-01-06 17:08:54 +00:00
Pierangelo Masarati
090945b89e
allow proxying of dynamic objects (irrespective of the support provided to dynamic objects); but back-meta does not support extended ops yet...
2006-01-06 17:08:06 +00:00
Pierangelo Masarati
906acc2b30
resource release (more is needed: a report is coming...)
2006-01-06 16:34:20 +00:00
Pierangelo Masarati
18beda81a0
allow proxying of dynamic objects (irrespective of the support provided to dynamic objects)
2006-01-06 16:33:14 +00:00
Pierangelo Masarati
3037a199d4
part of o_csn memory handling cleanup
2006-01-06 16:32:33 +00:00
Pierangelo Masarati
857a43d398
o_csn memory handling cleanup and more resource release
2006-01-06 16:31:57 +00:00
Pierangelo Masarati
62497187c7
cleanup
2006-01-06 16:31:07 +00:00
Pierangelo Masarati
b7ed9571db
check if handler is being installed twice (needs work to allow replacement)
2006-01-06 16:30:43 +00:00
Pierangelo Masarati
2f81cc64b1
since o_csn is always allocated on the thread's slab, and since CSNs always have the same length, reuse memory (part of o_csn memory handling cleanup)
2006-01-06 16:26:36 +00:00
Pierangelo Masarati
4dd4ecd620
move supporting exops to bvarray
2006-01-06 16:25:31 +00:00
Pierangelo Masarati
693697bfd9
cleanup callback freeing
2006-01-06 16:24:37 +00:00
Pierangelo Masarati
f9a104bf4d
allow backend_attribute to check access to "entry" and "children" pseudo-attributes
2006-01-06 16:24:07 +00:00
Pierangelo Masarati
2c21dbd56f
cleanup
2006-01-06 16:23:17 +00:00
Pierangelo Masarati
5354f2d4e6
plug one-time leaks
2006-01-06 16:22:47 +00:00
Pierangelo Masarati
80dac35c5e
cleanup previous commit
2006-01-06 16:04:07 +00:00
Pierangelo Masarati
d384ab5ad9
allow addiion of suffix entry when default referral is defined (ITS#4310)
2006-01-06 14:50:43 +00:00
Howard Chu
a614a1c16e
Cleanup task declarations
2006-01-06 04:06:18 +00:00
Howard Chu
e82ce6444c
ITS#4308 fix cache flush task interval
2006-01-06 03:51:56 +00:00
Howard Chu
a53fc12578
ITS#4306 fix for syslog with NULL string on modify
2006-01-06 00:19:56 +00:00
Pierangelo Masarati
f7994da153
fix ITS#4307
2006-01-05 21:38:31 +00:00
Pierangelo Masarati
12b6e804a5
fix search of specific connection (ITS#4300)
2006-01-05 21:25:06 +00:00
Pierangelo Masarati
b18ba481cf
re-fix ITS#4260
2006-01-05 21:22:50 +00:00
Pierangelo Masarati
4a481a83d3
improve previous commit; now passes all tests
2006-01-05 13:57:34 +00:00
Pierangelo Masarati
3974bb0e44
plug leaks
2006-01-05 11:07:06 +00:00
Pierangelo Masarati
9586fed42f
all in all, valgrind was right; this now works as intended
2006-01-05 11:05:40 +00:00
Pierangelo Masarati
44e3b0b481
experimental fix to callback looping
2006-01-04 21:13:57 +00:00
Pierangelo Masarati
92b1ad358d
fix previous commit
2006-01-04 13:30:34 +00:00
Pierangelo Masarati
8c0ad9021a
fix self<access> for "users" (ITS#4299)
2006-01-04 00:52:07 +00:00
Pierangelo Masarati
bccb029786
fix issue with mixed attributes/objectClasses in exclusion lists (ITS#4298)
2006-01-03 23:33:50 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
7e535f8018
__should__ fix ITS#4296
2006-01-03 18:07:01 +00:00
Pierangelo Masarati
83929308a5
stringify no longer needed
2006-01-02 17:43:03 +00:00
Pierangelo Masarati
fdce5f2f7e
fix another crasher
2006-01-02 17:36:48 +00:00
Pierangelo Masarati
0eb5023550
fix crasher in previous commits
2006-01-02 17:27:50 +00:00
Pierangelo Masarati
912dd6f083
fix {add,delete} access (ITS#4295)
2006-01-02 16:44:36 +00:00
Pierangelo Masarati
3f2bb04ac0
this bug highlighted ITS#4295 issue
2006-01-02 16:42:22 +00:00
Pierangelo Masarati
c67c99e3bd
clarify generated password issue
2006-01-02 16:20:39 +00:00
Luke Howard
b55557e30b
Remove new_rdn/old_rdn - handled by frontend
2006-01-02 15:40:45 +00:00
Luke Howard
df2503d2b4
Remove new_rdn/old_rdn - handled by frontend now
2006-01-02 15:39:06 +00:00
Luke Howard
e7f164773e
Remove RDN checks/logging -- now done by frontend
2006-01-02 15:38:04 +00:00
Pierangelo Masarati
a119fe3df0
return the new password if the exop is performed by the database (ITS#4294)
2006-01-02 12:44:38 +00:00
Pierangelo Masarati
8e7e8c4d04
allow modules to register callbacks for dynamic data in root DSE
2006-01-02 08:57:56 +00:00
Pierangelo Masarati
fc358465d7
allow generic exops to slip thru
2006-01-02 08:19:35 +00:00
Pierangelo Masarati
9c7aca5b47
fix indentation
2006-01-02 08:18:29 +00:00
Luke Howard
3f6daa4680
Initialize sml_type
...
Don't clobber sml_type when converting SLAPI mods
2006-01-01 14:25:09 +00:00
Luke Howard
1c0f49dda3
Backout accidental private part of previous commit
2006-01-01 09:24:19 +00:00
Luke Howard
b6fffd1417
Add orr_modlist member to request structure, containing a list of
...
modifications to be applied by the backend atomically with a modify
RDN request.
Handle updating of RDN values in frontend.
Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
eb734a167b
add severity-aware logging (ITS#4282)
2005-12-27 16:29:37 +00:00
Pierangelo Masarati
aecf0f4164
typos in comments (very pedantic...)
2005-12-26 17:00:12 +00:00
Pierangelo Masarati
0fa9578f48
handle when URIs are null
2005-12-26 16:55:50 +00:00
Luke Howard
dc166c08b8
Fix regression in SLAPI ACL plugins, call with frontendDB pblock
2005-12-24 17:15:13 +00:00
Luke Howard
cbf33d4fb1
Handle LDAP_MOD_INCREMENT in acl_check_modlist()
2005-12-24 16:02:15 +00:00
Luke Howard
d4c9c3b60e
Use local SSF for internal SLAPI operations (probably need to do same
...
in connection_fake_init()) too)
2005-12-24 13:16:48 +00:00
Luke Howard
ac64f4806b
Fix CLDAP regression
2005-12-24 11:00:28 +00:00
Luke Howard
d8647e5c07
Create SLAPI object extensions in connection_fake_init()
2005-12-24 10:59:46 +00:00
Luke Howard
c723a77e1c
Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler
...
where merge controls was not called)
2005-12-24 09:20:06 +00:00
Luke Howard
dcfd499eca
Set ors_slimit in slap_read_controls so that slap_send_search_entry()
...
check passes
2005-12-24 07:40:12 +00:00
Luke Howard
3ba381a862
Fix compile error when LDAP_CONNECTIONLESS is defined
2005-12-24 07:16:35 +00:00
Kurt Zeilenga
d1bc820b2f
fix ITS#4283/4 segfaults
2005-12-23 02:20:11 +00:00
Pierangelo Masarati
20dc92fe25
cleanup debug handling
2005-12-22 22:33:32 +00:00
Howard Chu
a48f7b6f93
ITS#4278 set ml->sml_type
2005-12-21 20:43:14 +00:00
Pierangelo Masarati
8d4418b044
fix handling of bind-timeout
2005-12-21 17:28:27 +00:00
Kurt Zeilenga
e50fc1833d
Add UUIDPretty
...
Likely should add UUID-named-entry test case to test026...
2005-12-20 23:25:44 +00:00
Kurt Zeilenga
439af9ec10
(Quick)fix UUID naming attributes
2005-12-20 22:36:51 +00:00
Pierangelo Masarati
8c2ceeb605
don't idassert anonymous unless explicitly configured (ITS#4272)
2005-12-20 20:43:14 +00:00
Pierangelo Masarati
8346de462b
silence warning
2005-12-20 20:36:05 +00:00
Pierangelo Masarati
4a86a767ab
more unparsing buffer overflow cleanup
2005-12-20 15:33:50 +00:00
Pierangelo Masarati
81bafb9935
fix potential overflow in syncrepl_unbind() and related helpers
2005-12-20 14:31:16 +00:00
Pierangelo Masarati
e2fb0213ed
note to developers
2005-12-20 14:03:04 +00:00
Pierangelo Masarati
46a88603dd
add more checks on input values
2005-12-20 13:07:38 +00:00
Howard Chu
e6f624b48a
ATTRSONLY doesn't take a value (ITS#4146, #4266 )
2005-12-20 12:18:01 +00:00
Pierangelo Masarati
3517bdf260
revert previous commit(s); clarify usage of "-s" in slapd(8).
2005-12-20 08:20:16 +00:00
Howard Chu
059257aeaf
cleanup db_close
2005-12-20 00:55:39 +00:00
Howard Chu
684c01ed1f
ITS#4259 revert prev commit, fixed in alock.c instead.
2005-12-20 00:48:15 +00:00
Howard Chu
28ed7a26a7
ITS#4259 ignore alock_close on zero slot
2005-12-20 00:46:51 +00:00
Howard Chu
5b7f102ad2
ITS#4259 don't try to alock_close if we never opened...
2005-12-20 00:44:05 +00:00
Howard Chu
4dbc76ebef
Fix ITS#4267, don't bother with unique_search if no relevant attributes
...
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Pierangelo Masarati
6650f07f50
allow (and use) symbolic names for syslog levels
2005-12-19 22:55:30 +00:00
Pierangelo Masarati
0c75d26060
make the message one-line
2005-12-17 00:41:17 +00:00
Pierangelo Masarati
5b26601fd0
fix syslog level parsing
2005-12-17 00:40:46 +00:00
Pierangelo Masarati
7941652ed4
do exactly what requested
2005-12-16 22:27:57 +00:00
Pierangelo Masarati
ce3c024557
slapdn calls shutdown without startup
2005-12-16 22:24:53 +00:00
Pierangelo Masarati
9f2e86c8e3
cleanup error logging
2005-12-16 19:01:05 +00:00
Pierangelo Masarati
9e3a22bf4a
always provide a NULL o_private to be_entry_get (ITS#4184)
2005-12-16 18:35:25 +00:00
Pierangelo Masarati
96dd70da28
fix memory handling
2005-12-16 16:19:17 +00:00
Pierangelo Masarati
b984e616c3
remove support for control as the operation is now incompatible
2005-12-16 15:01:59 +00:00
Kurt Zeilenga
a6127452f5
restrict assertion control to appropriate requests
2005-12-16 14:26:14 +00:00
Pierangelo Masarati
1c523e3548
anticipate sr_err/sr_ref cross-check, so that the right error gets logged
2005-12-16 11:33:11 +00:00
Pierangelo Masarati
266c6ad1ea
plug one-time leaks; misc cleanup
2005-12-16 01:58:36 +00:00
Pierangelo Masarati
e841c3b73b
reset bi_attrs after reindexing (ITS#4260)
2005-12-16 00:44:13 +00:00
Pierangelo Masarati
53d41587ad
__should__ fix ITS#4262; please review
2005-12-16 00:04:51 +00:00
Pierangelo Masarati
e788a5c380
first part of fix to ITS#4262
2005-12-15 23:46:23 +00:00
Howard Chu
8a9761bc3f
ITS#4238 don't hide syncrepl control from rootDSE
2005-12-15 23:05:12 +00:00
Howard Chu
dd3d53fd85
Fix ITS#4263
2005-12-15 22:52:31 +00:00
Pierangelo Masarati
9df97ba114
use macros to handle retry
2005-12-15 19:14:54 +00:00
Pierangelo Masarati
76a089086b
forgot binds
2005-12-15 17:54:13 +00:00
Pierangelo Masarati
d86a46cc33
shortcut to allow restricting all operations
2005-12-15 17:46:37 +00:00
Pierangelo Masarati
93e8395e30
log what is being modified
2005-12-15 17:45:31 +00:00
Pierangelo Masarati
4538422dc9
better handling of internal operations
2005-12-15 13:47:25 +00:00
Pierangelo Masarati
f0ee55c9df
fix filter generation (back-ldap uses string form)
2005-12-15 13:07:56 +00:00
Pierangelo Masarati
62d4ae9058
a back-ldap consumer segfaults when accessing members of conn...
2005-12-15 11:55:46 +00:00
Pierangelo Masarati
430aff35bb
assume operations with version set to 0 are internal, and use LDAPv3
2005-12-15 11:39:46 +00:00
Pierangelo Masarati
fcda57e90f
use macros instead of numbers...
2005-12-13 20:11:26 +00:00
Pierangelo Masarati
bd975514de
add (and document) customizable bind-timeout
2005-12-12 15:57:58 +00:00
Pierangelo Masarati
361a97108b
minor cleanup
2005-12-12 14:33:34 +00:00
Pierangelo Masarati
e113e18bb6
more about sizelimit disclose issue in back-meta (ITS#4213)
2005-12-11 23:39:09 +00:00
Pierangelo Masarati
8687dace5b
allow per-replogfile pid/args file & replication interval (ITS#3523)
2005-12-10 12:25:27 +00:00
Pierangelo Masarati
b681c634c4
allow per-replogfile pid/args file (ITS#3523)
2005-12-10 11:52:44 +00:00
Pierangelo Masarati
d72b89b53a
allow any base for debug level
2005-12-10 11:52:08 +00:00
Pierangelo Masarati
93d0ef91e6
allow parsing of numbers in whatever base (ITS#4257)
2005-12-09 18:11:07 +00:00
Pierangelo Masarati
da03eb0390
normalize value in "exact" attrval clause (ITS#4255)
2005-12-09 10:33:01 +00:00
Pierangelo Masarati
335633d9eb
add comment
2005-12-09 10:31:41 +00:00
Howard Chu
3d4eeba5d1
Fix ITS#4133, reset subtree search req_dn
2005-12-09 02:08:08 +00:00
Howard Chu
b81ed2c106
Fix ITS#4084, onelevel searches cannot return NO_SUCH_OBJECT if the base
...
was already found.
2005-12-09 01:20:05 +00:00
Howard Chu
553b2884ab
cache LRU concurrency improvements, reorder DB accesses for consistency
2005-12-09 00:20:18 +00:00
Howard Chu
3e062a3f35
ITS#4254 fix lock ordering
2005-12-08 23:45:47 +00:00
Pierangelo Masarati
1b42fde372
implement (per-target) per-conn proxy-side idle-timeout (ITS#4115); revitalize (per-target) network-timeout in back-meta; fix issue with connection initialization error in ldap_back_retry(); cleanup configuration of back-ldap
2005-12-07 17:35:02 +00:00
Pierangelo Masarati
a4f800413d
unlink pid/args files only if actually touched (ITS#4251)
2005-12-07 14:47:00 +00:00
Howard Chu
51f9ef7ab9
Improve previous commit
2005-12-07 12:09:00 +00:00
Howard Chu
32fe0ead9f
Distinguish error message for frontendDB config
2005-12-07 11:34:16 +00:00
Pierangelo Masarati
47b4f99363
warn if "excessive" thread number is set (ITS#4249)
2005-12-07 09:58:54 +00:00
Pierangelo Masarati
447b065abd
rework previous commit?
2005-12-07 09:51:12 +00:00
Howard Chu
2bb6555726
ITS#4250 bdb_idl_delete needs to check for Range
2005-12-07 01:54:50 +00:00
Pierangelo Masarati
24887642dc
don't search max CSN if don't have a value; try the operational_attrs if entryCSN is not in attrs
2005-12-07 01:30:28 +00:00
Pierangelo Masarati
ed0bed72b9
plug leaks
2005-12-06 23:10:14 +00:00
Pierangelo Masarati
e0a28ee53f
remove unused var
2005-12-06 23:06:55 +00:00
Pierangelo Masarati
6930e84f81
plug leaks...
2005-12-06 22:56:58 +00:00
Pierangelo Masarati
e9169c2b46
use helper to destroy modrdn modifications; plug leaks...
2005-12-06 22:56:36 +00:00
Pierangelo Masarati
0b0aed319a
use helper to destroy modrdn modifications; send result after commit\!...
2005-12-06 22:56:07 +00:00
Pierangelo Masarati
f29447d9de
use helper to destroy modrdn modifications...
2005-12-06 22:55:30 +00:00
Pierangelo Masarati
662cb94e06
helper to destroy modrdn modifications...
2005-12-06 22:54:51 +00:00
Pierangelo Masarati
c226563da4
fix various memory leaks and handling issues
2005-12-06 22:06:29 +00:00
Pierangelo Masarati
2ea72234aa
return more appropriate error code
2005-12-06 20:04:52 +00:00
Pierangelo Masarati
64c1a3f1a6
relax the check on objectClass (may be equal)
2005-12-06 20:04:20 +00:00
Pierangelo Masarati
5909a4d636
don't return the dummy empty string
2005-12-05 22:41:25 +00:00
Pierangelo Masarati
5f8f4554ff
cleanup
2005-12-05 15:21:49 +00:00
Howard Chu
bb1984eb3e
Fix mod delete by ordered index
2005-12-05 11:46:56 +00:00
Howard Chu
10d8ae3c51
Tweak syncrepl messageID
2005-12-05 11:46:30 +00:00
Pierangelo Masarati
2422e6aaab
fix compilation without debugging (ITS#4245)
2005-12-05 10:39:38 +00:00
Howard Chu
3165691cbf
ITS#4241 write pid / args file before starting backends
2005-12-02 11:47:10 +00:00
Howard Chu
5e3820fd7a
ITS#4237 don't update sc_prev after a callback has been freed.
2005-12-01 00:48:38 +00:00
Kurt Zeilenga
5218ddae7e
ITS#4229: update DB_CONFIG for -q option
2005-11-29 20:28:02 +00:00
Howard Chu
a342ee4d88
ITS#4227 delta-sync should use subtree search
2005-11-29 11:44:43 +00:00
Howard Chu
dcaa6aa830
ITS#4226 must close cursor when limiting candidate check
2005-11-29 11:34:47 +00:00
Pierangelo Masarati
b2e673c37a
add check on duplicate rules (may be too strict?)...
2005-11-29 10:34:59 +00:00
Pierangelo Masarati
fed3c18e88
allow dynlist to take over dyngroup
2005-11-29 10:02:05 +00:00
Pierangelo Masarati
7841f4f538
complete merging of dyngroup into dynlist; add back-config support
2005-11-29 02:10:47 +00:00
Pierangelo Masarati
976d6b4b66
fix return code in case the asserted DN does not exist (ITS#4224)
2005-11-29 00:09:39 +00:00
Howard Chu
a0d9bd7890
ITS#4223 don't store negative results in IDL cache
2005-11-28 22:53:03 +00:00
Pierangelo Masarati
22f05c6785
add support for backend/overlay obsolete names...
2005-11-28 14:13:54 +00:00
Pierangelo Masarati
26d802ee53
add dyngroup compare functionality to dynlist
2005-11-28 11:34:46 +00:00
Pierangelo Masarati
6459cbb7ce
allow comma-separated descriptive log levels, so that tests can be run, e.g., with "SLAPD_DEBUG=stats,stats2"; s/ldap_debug/slap_debug/
2005-11-28 10:55:07 +00:00
Pierangelo Masarati
3a563c2fcb
cleanup OID comments
2005-11-28 10:53:52 +00:00
Pierangelo Masarati
52a827466a
fix previous commit
2005-11-28 10:38:01 +00:00
Howard Chu
1360f9fa80
More for prev commit - set entryCSN as well.
2005-11-28 05:27:42 +00:00
Pierangelo Masarati
4fe032e9be
add very preliminary support for <draft-sermersheim-ldap-distproc>
2005-11-27 23:23:59 +00:00
Pierangelo Masarati
26a83119fd
cleanup
2005-11-27 23:19:17 +00:00
Pierangelo Masarati
1e01082e10
s/chain-cache-uris/chain-cache-uri/
2005-11-27 23:18:47 +00:00
Pierangelo Masarati
84bb488ec2
allow to register (and expose) a supported feature
2005-11-27 23:17:57 +00:00
Kurt Zeilenga
d24a5f6f0f
Update description
2005-11-27 02:10:01 +00:00
Kurt Zeilenga
0d56ddda04
unifdef -DBDB_SUBENTRIES -DLDBM_SUBENTRIES
2005-11-27 01:03:03 +00:00
Howard Chu
21f91438b6
Drop monitor_back_db_config()
2005-11-26 23:35:45 +00:00
Howard Chu
475b35b847
ITS#4220 - add warnings for unsupported modules. Note that back-monitor
...
causes a warning due to its no-op bi_db_config entry point. Unimplemented
entry points are supposed to be NULL.
2005-11-26 21:32:11 +00:00
Pierangelo Masarati
ed098b4136
fix previous commit (overlay initializer prototypes were incorrect)
2005-11-26 17:04:51 +00:00
Howard Chu
b831ebba7d
ITS#4218 streamline frontend/overlay access_allowed. Probably need to
...
do the same for acl_group and acl_attribute.
2005-11-26 07:53:07 +00:00
Kurt Zeilenga
48cb85865d
Remove some unnecessary #ifdefs
2005-11-26 07:38:18 +00:00
Kurt Zeilenga
c106f49029
Primitive handling of dontUseCopy (always error).
2005-11-26 07:09:59 +00:00
Kurt Zeilenga
bfba08c103
Remove lint
2005-11-26 04:02:13 +00:00
Howard Chu
80143b5fc6
Fix ITS#3717 - set restriction on all backends
...
Fix ITS#4217 - gentleHUP is a normal shutdown condition
2005-11-25 23:16:10 +00:00
Howard Chu
d84ffb62a6
ITS#4210 don't setup indexing threads if no indexing is defined.
2005-11-25 22:50:25 +00:00
Pierangelo Masarati
b3c8a976ec
use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings
2005-11-25 22:17:24 +00:00
Howard Chu
abc13afcc9
ITS#4198 initialize logdb contextCSN from main DB contextCSN
2005-11-25 21:51:49 +00:00
Howard Chu
72fee93e31
ITS#4209 release entry when it exists.
2005-11-25 21:40:33 +00:00
Howard Chu
4f15618201
op->ors_slimit is always intact now.
2005-11-25 20:52:25 +00:00
Howard Chu
255f1e494f
Don't touch op->ors_slimit.
2005-11-25 20:50:34 +00:00
Howard Chu
7a2f05016c
Don't decrement op->ors_slimit, just compare with rs->sr_nentries.
2005-11-25 20:44:56 +00:00
Pierangelo Masarati
44a1f10d97
allow arbitrary base also in tools
2005-11-25 18:34:18 +00:00
Pierangelo Masarati
78d8a07708
frontend/config/monitor cannot be shadow, I bet
2005-11-25 17:10:11 +00:00
Pierangelo Masarati
f3c007229f
detect if trying to make back-monitor shadow
2005-11-25 15:16:54 +00:00
Pierangelo Masarati
6f7b00d891
fix sizelimit commit
2005-11-25 15:08:33 +00:00
Pierangelo Masarati
98936ee3c4
streamline overlay configuration
2005-11-25 12:43:43 +00:00
Pierangelo Masarati
f86543c770
cleanup filter escaping
2005-11-25 12:16:27 +00:00
Pierangelo Masarati
6ab23ef926
add more versatile private API for filter escaping
2005-11-25 10:41:33 +00:00
Pierangelo Masarati
473f3ab840
set limits as appropriate
2005-11-25 01:26:10 +00:00
Pierangelo Masarati
efe575c255
escape filter values (ITS#4212)
2005-11-25 01:13:24 +00:00
Pierangelo Masarati
ea83f6a669
check sizelimit in frontend (ITS#4213)
2005-11-25 00:28:33 +00:00
Pierangelo Masarati
45e188a812
one s/strtol/lutil_atoi/ too much...
2005-11-24 22:53:28 +00:00
Pierangelo Masarati
ce367bcc25
use friendly form for timeouts
2005-11-24 21:21:27 +00:00
Pierangelo Masarati
194aa68dab
always set sr_flags before sending an entry
2005-11-24 21:20:06 +00:00
Pierangelo Masarati
8d19d52467
use time_t for time-related vars
2005-11-24 01:49:06 +00:00
Pierangelo Masarati
9a47e3c81a
use lutil_ato*() whenever appropriate
2005-11-24 01:44:29 +00:00
Pierangelo Masarati
c7ae6680f2
don't expose unnecessary symbols :)
2005-11-24 01:21:34 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Pierangelo Masarati
654181d8d5
silence debug messages
2005-11-24 01:00:28 +00:00
Howard Chu
7a46ab6e04
ITS#4201 undo all bdb_db_open() steps if any step fails.
2005-11-23 23:57:40 +00:00
Pierangelo Masarati
0fd295a321
first round of number/time parsing fixes
2005-11-23 17:29:16 +00:00
Hallvard Furuseth
6b93c656a1
Fix olcChainConfig definition when !LDAP_CONTROL_X_CHAINING_BEHAVIOR
2005-11-23 10:49:47 +00:00
Pierangelo Masarati
990b435ce0
fix return attributes (ITS#4203)
2005-11-23 10:04:33 +00:00
Pierangelo Masarati
59c4fb1fcd
"relax" previous commit; don't leave locks 'round (ITS#4204)
2005-11-23 09:35:44 +00:00
Pierangelo Masarati
de31e7aa91
quick fix to ITS#4204
2005-11-23 08:47:48 +00:00
Pierangelo Masarati
c580a4182e
make controls as strict as possible
2005-11-23 02:01:51 +00:00
Pierangelo Masarati
478360925b
add some integrity checks on input, without changing syntax nor semantics (ITS#4199)
2005-11-23 01:15:01 +00:00
Pierangelo Masarati
51ebb4ee99
prepare log line
2005-11-23 01:13:39 +00:00
Pierangelo Masarati
c1a845165e
add a comment about reworking compare
2005-11-22 19:05:43 +00:00
Pierangelo Masarati
23d893b4cc
run thru the list also in case of FALSE
2005-11-22 18:28:07 +00:00
Pierangelo Masarati
e83f0f900b
set the berval length\! (ITS#4196)
2005-11-22 12:13:07 +00:00
Pierangelo Masarati
133a673e65
don't return matchedDN in the case described in ITS#4195
2005-11-22 11:13:14 +00:00
Howard Chu
3192c5ffc4
ITS#4192 (reverts ITS#4035 patch) always use "cn=config" as the underlying
...
DB's rootDN independently of the configured back-config rootDN.
2005-11-22 10:53:15 +00:00
Howard Chu
575f6e2251
Fix ITS#4194, require config dir to be usable if only -F is specified.
2005-11-22 10:11:06 +00:00
Howard Chu
d0b70826d4
Fix prev commit, don't touch logDB in tool mode at all.
2005-11-22 09:09:52 +00:00
Howard Chu
f2ee760e92
Create auditContainer object automatically.
2005-11-21 05:38:50 +00:00
Howard Chu
9ca041c9a6
Fix retry on stale cookie result
2005-11-21 05:38:28 +00:00
Howard Chu
2b9c8076cc
In hdb_dn2idl_internal, skip cursor get when dkids == 1
2005-11-20 22:32:39 +00:00
Howard Chu
12d2901162
More for ITS#3939
2005-11-20 22:14:57 +00:00
Howard Chu
3429c5a566
ITS#4186 hdb_idl_append() must not alter the tmp input.
2005-11-20 22:02:41 +00:00
Pierangelo Masarati
64156a68b2
fix dumb var initialization
2005-11-20 19:55:07 +00:00
Pierangelo Masarati
4c92090e87
fix compilation when the chaining control is undefined
2005-11-20 19:28:03 +00:00
Howard Chu
3167b29812
Fix back-bdb inequality_candidates to use unchecked limit.
...
Fix syncprov_findcsn to set unchecked limit. (ITS#3939)
2005-11-20 10:39:05 +00:00
Pierangelo Masarati
3bea8f5836
remove pointless test & var
2005-11-20 09:23:43 +00:00
Pierangelo Masarati
4852bf8a58
don't care about empty matched/text #ifdef LDAP_NULL_IS_NULL
2005-11-20 01:59:26 +00:00
Pierangelo Masarati
01bea97a26
don't leak temporary URLs
2005-11-20 01:58:19 +00:00
Pierangelo Masarati
754e59543d
cleanup
2005-11-20 01:39:19 +00:00
Pierangelo Masarati
fbb31b58a1
yet another fix to previous commit
2005-11-20 00:29:35 +00:00
Pierangelo Masarati
b85b28275f
fix previous commit
2005-11-20 00:08:50 +00:00
Pierangelo Masarati
d71a3add92
fix typo in write timeouts argnumbers
2005-11-19 23:23:18 +00:00
Pierangelo Masarati
5bd95600de
allow the chain overlay and the underlying databases to be loaded via back-config
2005-11-19 23:22:50 +00:00
Pierangelo Masarati
39d721504a
plug one-time leaks
2005-11-19 18:44:54 +00:00
Pierangelo Masarati
6d7689b7e3
check we don't exceed userland with config param bits
2005-11-19 18:01:28 +00:00
Pierangelo Masarati
3e7fd464dc
streamline back-ldap/slapo-chain configuration; add the possibility to cache non-configured, anonymous referral URIs
2005-11-19 17:48:33 +00:00
Pierangelo Masarati
7fa4b159bf
fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta
2005-11-19 15:00:50 +00:00
Pierangelo Masarati
1e66d540e1
cleanup for (ITS#4180); has nothing to do with the solution yet...
2005-11-19 14:58:47 +00:00
Pierangelo Masarati
14e2726cce
rework typedefs for functions
2005-11-19 14:58:04 +00:00
Pierangelo Masarati
f4781b1527
minor schema parsing cleanup
2005-11-19 14:57:25 +00:00
Pierangelo Masarati
5d83746abf
improve previous commit; same fix required by objectClasses (ITS#4185)
2005-11-19 00:33:19 +00:00
Pierangelo Masarati
4d3fe81780
roll-back inserts in AVL tree; put back original OID macro in case of error (ITS#4185)
2005-11-19 00:24:04 +00:00
Pierangelo Masarati
aac978d8f9
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:20:01 +00:00
Pierangelo Masarati
55c52c5c72
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:00:39 +00:00
Pierangelo Masarati
429a6f5353
fix wrong response tags (ITS4182; consequence of fixing ITS#4173)
2005-11-17 23:52:56 +00:00
Kurt Zeilenga
79ef5e812f
Fix typo in last commit -- shorten message by removing
...
extraneous information
2005-11-17 22:57:11 +00:00
Pierangelo Masarati
99b450dc00
don't accept modify operations with no modifications (ITS#4183)
2005-11-17 22:45:32 +00:00
Pierangelo Masarati
b2c4a3be6a
fix size limit count (ITS#4181)
2005-11-17 18:55:47 +00:00
Howard Chu
640f33a267
Fix threads vs tool_threads settings
2005-11-17 11:25:48 +00:00
Howard Chu
1340530e41
Fix missing error text
2005-11-17 08:40:46 +00:00
Pierangelo Masarati
28aca605c7
more URI into bindconf
2005-11-16 21:52:14 +00:00
Howard Chu
c5cf54dddf
Fix Add password_hash to not depend on password quality configuration
2005-11-16 18:51:56 +00:00
Pierangelo Masarati
86fc534c8f
improve fix to ITS#4173
2005-11-16 15:58:18 +00:00
Pierangelo Masarati
dd2afd3e3e
refine previous commit...
2005-11-16 14:20:45 +00:00
Pierangelo Masarati
917b77fff1
fix matched handling of slapd-ldap/slapo-chain (ITS#4176)
2005-11-16 14:17:19 +00:00
Howard Chu
a9c95d36be
ITS#4175 wait for worker threads to be ready
2005-11-16 03:22:21 +00:00
Pierangelo Masarati
1762f730fc
partially revert commit
2005-11-16 00:49:54 +00:00
Kurt Zeilenga
8688a96b9f
Additional error detail
2005-11-15 22:45:44 +00:00
Pierangelo Masarati
48ecc89890
don't muck with SlapReply during response (ITS#4173)
2005-11-15 18:27:40 +00:00
Pierangelo Masarati
4dcccd3ca2
valgrind keeps complaining (it makes sense) but the bus error problem disappeared
2005-11-14 23:14:31 +00:00
Pierangelo Masarati
af23be3675
silence warnings...
2005-11-14 21:47:17 +00:00
Howard Chu
a1830a3cd0
Fix for syncprov checkpoint CSN disposal
2005-11-14 19:38:48 +00:00
Pierangelo Masarati
6495247869
initialize back-monitor only if configured (so resources get released at shutdown)
2005-11-14 19:28:28 +00:00
Pierangelo Masarati
e88c4b48e3
don't leak fakeroot save_attrs
2005-11-14 19:16:00 +00:00
Pierangelo Masarati
fe59b0be6e
reset freed resources
2005-11-14 18:38:58 +00:00
Pierangelo Masarati
144ad3657e
handle empty parent (related to ITS#4171)
2005-11-14 18:21:55 +00:00
Hallvard Furuseth
dbb2ceac90
Fix ber_bvchr() vs assert() logic. Declare missing variable for code in #if 0.
2005-11-14 16:23:55 +00:00
Pierangelo Masarati
2bf647fa16
re-fix cast and logic
2005-11-14 15:02:14 +00:00
Hallvard Furuseth
bfd221ae46
Fix void* pointer arithmetic from ber_bvchr()
2005-11-14 14:46:38 +00:00
Hallvard Furuseth
82c73ef51a
Fix pointer cast in assignment
2005-11-14 14:43:25 +00:00
Hallvard Furuseth
aa37b27ab3
Remove unused declaration bdb_tool_ix_rec() and variable bdb
2005-11-14 14:40:01 +00:00
Pierangelo Masarati
1cef82abe9
return the position of the failing verb
2005-11-14 11:23:44 +00:00
Pierangelo Masarati
474dfbc8fd
don't trust strchr/strrchr with bervals
2005-11-13 22:26:53 +00:00
Pierangelo Masarati
910ee45f01
use pooled memory whenever appropriate
2005-11-13 21:51:13 +00:00
Pierangelo Masarati
6eaf2b1ec4
add overlay config schema registry
2005-11-12 16:32:19 +00:00
Howard Chu
ee8a946e8f
Fix Win32 typos
2005-11-12 08:18:28 +00:00
Howard Chu
a028353ca1
declare waking volatile. perhaps it should only be used when NO_THREADS
...
is defined.
2005-11-12 08:11:11 +00:00
Pierangelo Masarati
78bd3bf6a3
handle LDAPv2 when returning timelimit; silence warning
2005-11-11 09:54:07 +00:00
Howard Chu
a88bfa6a08
Rename getline to avoid stdio conflict
2005-11-10 21:25:01 +00:00
Pierangelo Masarati
e108ff00b9
fix log
2005-11-10 12:57:42 +00:00
Pierangelo Masarati
0e1f737774
reset request DN after free; confuses global overlays
2005-11-10 03:42:44 +00:00
Pierangelo Masarati
4537065ffc
further isolation and cleanup of ACI code
2005-11-10 00:52:43 +00:00
Pierangelo Masarati
cbdaf8058f
silence warning
2005-11-10 00:33:19 +00:00
Pierangelo Masarati
d959a7a7b5
add some sanity checks...
2005-11-09 17:08:11 +00:00
Pierangelo Masarati
5ef53ec9e5
fix group/role check (should address ITS#4106)
2005-11-09 16:33:51 +00:00
Pierangelo Masarati
93abd4c616
cannot happen...
2005-11-09 12:58:57 +00:00
Pierangelo Masarati
6315ac9db6
tools log level defaults to "none", so that messages logged with LDAP_DEBUG_ANY show up by default; use "-d 0" to reset (addresses ITS#4044)
2005-11-09 11:53:34 +00:00
Pierangelo Masarati
d88ea9d609
don't open pid/args files in one-shot mode (ITS#4152); bail out if files cannot be opened (port slapd's fix to ITS#4074)
2005-11-09 10:17:04 +00:00
Pierangelo Masarati
1145840994
remove from AVL before freeing...
2005-11-09 03:28:55 +00:00
Pierangelo Masarati
2132b8d57e
plug yet another one time leak
2005-11-09 02:52:28 +00:00
Pierangelo Masarati
2e6cd12216
plug one time leak
2005-11-09 02:48:37 +00:00
Pierangelo Masarati
82d3fbf4e3
fix previous commit
2005-11-09 02:40:34 +00:00
Howard Chu
146b2c5389
ITS#4082 tls ctx requirements are only applicable to servers, or clients
...
with tls_opt_require_cert = TRY or DEMAND. Ignore requirements for clients.
2005-11-08 13:42:10 +00:00
Pierangelo Masarati
419d2925b1
restore the existing BackendDB, in case overlays are in use
2005-11-08 10:09:30 +00:00
Howard Chu
ea92291cb6
ITS#4158 still more
2005-11-08 09:53:38 +00:00
Pierangelo Masarati
255112e702
gdb is much more clever with enums...
2005-11-08 00:40:20 +00:00
Pierangelo Masarati
52db580cdb
error if syncUUID is empty
2005-11-08 00:03:58 +00:00
Howard Chu
6f9aa99d0c
ITS#4158 move SASL bind finalization to bind_cb.
2005-11-07 23:38:52 +00:00
Pierangelo Masarati
1faf38448b
fix root entry delete/add
2005-11-07 01:08:41 +00:00
Pierangelo Masarati
3019716578
fix invalid read
2005-11-07 01:07:59 +00:00
Pierangelo Masarati
d0ca539cc9
fix num args in Debug()
2005-11-06 23:37:52 +00:00
Pierangelo Masarati
7efa22c2b7
fix type issue
2005-11-06 23:34:33 +00:00
Pierangelo Masarati
bdb661440b
fix operational attrs addition
2005-11-06 23:34:03 +00:00
Pierangelo Masarati
dbb88f203b
fix root entry deletion
2005-11-06 23:33:41 +00:00
Pierangelo Masarati
40cac2e37a
fix access checking; fix operational attrs addition
2005-11-06 23:32:52 +00:00
Pierangelo Masarati
4cab386d13
backport write operation timeouts from back-meta to back-ldap; minor cleanup & silence warnings
2005-11-06 23:29:10 +00:00
Pierangelo Masarati
fc2912ba92
move bindconf_[un]parse() into generic API
2005-11-06 23:28:54 +00:00
Pierangelo Masarati
a6453f28f8
silence warnings
2005-11-06 23:27:09 +00:00
Pierangelo Masarati
fd1b1a53f2
add matchedDN; fix and clarify behavior when searching in-directory entries
2005-11-06 23:26:42 +00:00
Kurt Zeilenga
4f63434511
Improve SASL error handling
2005-11-06 22:43:23 +00:00
Howard Chu
0f2ee54e20
ITS#4151 remove extraneous sasl_bind_in_progress manipulation
2005-11-06 04:02:13 +00:00
Howard Chu
ee8bea214a
Fix ITS#4151 - set sasl_bind_in_progress in bind_cb
2005-11-05 22:35:40 +00:00
Pierangelo Masarati
852e4e3109
allow per-target retry in searches; taint invalid connections; don't massage the pseudorootdn (ITS#4150)
2005-11-05 14:44:43 +00:00
Howard Chu
19f6e2d943
ITS#4148 fix replica mods
2005-11-05 08:50:16 +00:00
Pierangelo Masarati
29dfcec866
reverse previous commit
2005-11-04 20:00:03 +00:00
Pierangelo Masarati
acb17be789
fix size/time limit (ITS#4145)
2005-11-04 12:42:39 +00:00
Pierangelo Masarati
a00f337acd
partially revert previous commit
2005-11-04 07:57:54 +00:00
Howard Chu
8f7fbfe60a
ITS#4143 bdb_tool_info should only be non-NULL for QUICK index/add
2005-11-04 02:52:14 +00:00
Pierangelo Masarati
d170fae411
improve previous commit
2005-11-04 01:44:44 +00:00
Pierangelo Masarati
1ec4cf7bba
add a giant mutex around the ldapinfo structure to serialize chaining (need to check for deadlocks...)
2005-11-04 01:42:11 +00:00
Pierangelo Masarati
a9067fc056
free values in case of error
2005-11-04 01:29:48 +00:00
Pierangelo Masarati
a1a68333dc
only add opattrs if not shadow; use helper to extract rdn
2005-11-04 01:27:31 +00:00
Pierangelo Masarati
1249fa93d5
plug one-time leak
2005-11-03 22:51:27 +00:00
Howard Chu
91b3f49d5f
ITS#4128 revert prev fixes, alternate fix used.
2005-11-03 21:56:33 +00:00
Pierangelo Masarati
d3a2a42e85
fix previous commit (addresses ITS#4139)
2005-11-03 21:48:46 +00:00
Howard Chu
06c96f6cf1
Cleanup
2005-11-03 20:38:51 +00:00
Howard Chu
27b197c36d
ITS#4128 use backend_db_init
2005-11-03 20:34:45 +00:00
Howard Chu
c5b44f3660
ITS#4128 use backend_db_init to init the private backend
2005-11-03 20:31:11 +00:00
Kurt Zeilenga
e470116ab3
fix -USLAP_LIGHTWEIGHT_DISPACTHER sl_busy issue
2005-11-03 18:50:04 +00:00
Pierangelo Masarati
0207dcd3f9
import leak plug from slapo-rwm
2005-11-03 15:20:33 +00:00
Pierangelo Masarati
2f63454973
don't leak on exit
2005-11-03 15:08:23 +00:00
Pierangelo Masarati
ac6b3e1415
don't leak massaged referral DN
2005-11-03 14:06:26 +00:00
Pierangelo Masarati
e2b87791ac
release entry, if required; release mapping resources as appropriate on exit
2005-11-03 13:34:43 +00:00
Howard Chu
11f6938162
ITS#4136 fix prev commit
2005-11-03 12:45:57 +00:00
Pierangelo Masarati
2a24cbb5e8
don't leak text/matched
2005-11-03 11:58:06 +00:00
Howard Chu
f7ebf67355
ITS#4135 fix prev commit
2005-11-03 02:40:52 +00:00
Kurt Zeilenga
ecd86725f2
Update result code to IANA-assigned values
...
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
e0ec0a21c2
ITS#4134 additional fix
2005-11-03 00:51:57 +00:00
Howard Chu
f8815bf833
ITS#4099, protect hosts_ctl with tcpd_mutex. From richton@nbcs.rutgers.edu.
2005-11-03 00:47:25 +00:00
Howard Chu
82db113f32
ITS#4134 delete pwdFailureTime on password reset
2005-11-03 00:35:46 +00:00
Howard Chu
9ee48976e2
ITS#4135 remove client socket from frontend control before unbinding
2005-11-03 00:15:50 +00:00
Howard Chu
30869197f8
Fix fastpath for internal clients (e.g. syncrepl) too.
2005-11-02 00:15:41 +00:00
Howard Chu
44fcfb9ed3
Fix fastpath for single-op dispatching
2005-11-01 23:53:01 +00:00
Pierangelo Masarati
7949808924
plug one-time leaks
2005-11-01 18:12:14 +00:00
Pierangelo Masarati
757c34ee4b
s/sprintf/snprintf/
2005-11-01 17:50:57 +00:00
Pierangelo Masarati
22ca0e457e
cleanup
2005-11-01 17:05:32 +00:00
Pierangelo Masarati
7146f4e21f
don't leak matchedDN
2005-11-01 16:47:17 +00:00
Pierangelo Masarati
3cb2bc0c56
various cleanup
2005-11-01 16:36:17 +00:00
Howard Chu
948e19e132
ITS#4132 reset CACHE_ENTRY_ONELEVEL when complete. Fell out from a bad merge.
2005-11-01 15:52:44 +00:00
Howard Chu
dbf69a6ff5
Fix prev commit
2005-11-01 15:44:51 +00:00
Howard Chu
0a509c9c07
Free bind callback
2005-11-01 15:11:54 +00:00
Pierangelo Masarati
3fd5e683f2
fix size of connection array (ITS#4131)
2005-11-01 14:12:12 +00:00
Pierangelo Masarati
cedb88c373
eat up values of removed attrs
2005-11-01 13:42:51 +00:00
Pierangelo Masarati
d3f33d8139
better fix: in case of error during bind, just bail out (very conservative, though)
2005-11-01 11:00:55 +00:00
Pierangelo Masarati
e60d7c7f24
fix incorrect bind error (ITS#4129)
2005-11-01 09:47:30 +00:00
Pierangelo Masarati
e725c8488a
allow descriptions in -d for tools as well; test as much as possible about pid/args files in slaptest
2005-10-31 18:48:12 +00:00
Pierangelo Masarati
e3b9448bd7
allow the "none" log level
2005-10-31 17:46:03 +00:00
Pierangelo Masarati
ea0047295c
fix usage
2005-10-31 16:40:11 +00:00
Pierangelo Masarati
93a6a3647f
check length (FIXME: snprintf return value may not be portable?)
2005-10-31 16:23:27 +00:00
Pierangelo Masarati
0dc6ef59ad
cleanup namespace (ITS#423)
2005-10-31 16:08:33 +00:00
Pierangelo Masarati
183b696e76
address ITS#4127 (please review)
2005-10-31 16:00:51 +00:00
Pierangelo Masarati
48432b1a8d
more about ITS#4128; please review
2005-10-31 15:33:30 +00:00
Pierangelo Masarati
217489bd90
address ITS#4128; please review
2005-10-31 15:27:26 +00:00
Howard Chu
3d60d71ad2
Partial fix for ITS#3850, stop spurious "deferring: binding" messages.
...
Make sure conn state is reset before reply reaches client. Hang still
occurs in RE22, not in RE23.
2005-10-30 09:53:15 +00:00
Howard Chu
fcd3058f83
Fix slap_callback processing, make sure it's safe for callbacks to
...
delete themselves at any time.
2005-10-30 09:50:48 +00:00
Howard Chu
9edea08357
Fix uninit'd rc
2005-10-30 07:42:08 +00:00
Howard Chu
98969cc28e
Fix epoll, just handle wake events in the order they arrived.
2005-10-30 00:50:59 +00:00
Kurt Zeilenga
91db8ccffe
Add commented-out 'top'
2005-10-29 23:36:57 +00:00
Howard Chu
e131aa424b
ITS#4108 fix another accept/read race condition
2005-10-29 15:16:35 +00:00
Pierangelo Masarati
67397c46be
do not return success; frontend already does (ITS#4122)
2005-10-29 12:49:57 +00:00
Howard Chu
1f0e2f8944
Fix debug msg
2005-10-29 04:24:23 +00:00
Howard Chu
4bb234bac8
ITS#4108 Cleanup accept/close race conditions.
2005-10-29 04:17:56 +00:00
Howard Chu
638b84db6e
Cleanup, fix ITS#4120
2005-10-29 02:06:32 +00:00
Howard Chu
4f302fd197
Fix ITS#4119, option char left over after rev 1.185
2005-10-28 22:55:22 +00:00
Howard Chu
4ebed09d81
ITS#4017, additional revisions for DH parameters
2005-10-28 05:35:19 +00:00
Howard Chu
39f39fcb44
reqMod / reqOld must be OctetString to accomodate all possible values
2005-10-28 03:31:04 +00:00
Howard Chu
3200892a95
ITS#4111 fix mask_to_verbs return value
2005-10-28 01:57:40 +00:00
Howard Chu
675cda1b62
Use #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
...
now, it appears to just slow things down.
2005-10-27 13:57:48 +00:00
Howard Chu
8d0ed89832
Fix cache flush / retry sequencing
2005-10-27 13:38:21 +00:00
Howard Chu
d85cb6efbb
Revert to previous IDL cache scheme. Doesn't seem to help much in
...
the threaded case, may be best without it.
2005-10-27 12:00:26 +00:00
Howard Chu
f94968fb5b
Multi-threaded slapindex
2005-10-27 10:34:33 +00:00
Howard Chu
fc621a1c78
Add tool-threads config keyword, init thread pool in tool mode.
2005-10-27 09:29:42 +00:00
Howard Chu
b3c3335418
Fix IDL caching
2005-10-27 01:41:34 +00:00
Howard Chu
888731e6c3
Use sorted array for indexed attrs instead of AVL tree
2005-10-26 08:31:38 +00:00
Howard Chu
08cc40317b
Fix notags/nosubtypes handling
2005-10-26 06:36:34 +00:00
Howard Chu
b67c0123d2
Better IDL cache allocation
2005-10-26 05:24:41 +00:00
Pierangelo Masarati
cfa2eefe3c
fix previous commit
2005-10-25 14:50:05 +00:00
Howard Chu
2f9965c32b
Lower id2entry cache priority in tool mode
2005-10-25 10:54:04 +00:00
Howard Chu
8a69f642b8
hdb doesn't need to fix DNs for slapindex
2005-10-25 08:40:01 +00:00
Pierangelo Masarati
8a5a1ab39f
fix handling of invalid DN-valued attrs (ITS#4107)
2005-10-24 20:22:08 +00:00
Howard Chu
8f5ea1f1d2
substring indexing optimization
2005-10-23 22:38:15 +00:00
Howard Chu
34e154e28b
Add IDL caching for slapadd/slapindex quick mode
2005-10-22 21:41:58 +00:00
Pierangelo Masarati
3ee954de81
fix custom group objectclass/member attribute parsing; let ACI code be built as dynamic module
2005-10-20 23:20:10 +00:00
Howard Chu
a14fd7cc3b
Cleanup unused def
2005-10-18 21:36:06 +00:00
Howard Chu
ed5e8db572
Eliminate long-lived read transaction, we can just set a cursor's locker
...
ID explicitly to our long-lived locker. Should have thought of this before...
2005-10-18 21:35:07 +00:00
Howard Chu
8f7da062f5
ITS#4088 force cursors to use same locker
2005-10-18 20:52:04 +00:00
Kurt Zeilenga
dc616c771f
managedit should be explicitly hidden (it was hidden behind LDAP_DEVEL).
2005-10-17 20:36:21 +00:00
Howard Chu
656c6011bb
Fix epoll, slapd_remove gets called multiple times for the same descriptor.
...
Ignore subsequent calls.
2005-10-17 17:31:48 +00:00
Howard Chu
625e30929c
More matching rules
2005-10-17 12:25:36 +00:00
Howard Chu
c15a509f92
More schema tweaks
2005-10-17 12:19:26 +00:00
Howard Chu
3a47092d3f
Change ModDN back to ModRDN. Legacy...
2005-10-17 11:40:20 +00:00
Howard Chu
0265f85fba
Schema tweaks
2005-10-17 11:38:13 +00:00
Howard Chu
f46ffc3c6a
Fix Bind/Unbind logging, align Search scopes with RFC2255
2005-10-17 08:32:29 +00:00
Howard Chu
6e2c36b03d
Fix noop behavior, don't same TXN twice. Use consistent return code.
2005-10-17 08:09:28 +00:00
Kurt Zeilenga
5c125d19a9
Revise last commit
2005-10-16 20:38:48 +00:00
Kurt Zeilenga
964aa48c37
Fix TLS/SASL handling in new lightweight dispatcher
2005-10-16 20:33:01 +00:00
Kurt Zeilenga
24efc30873
Move slapd_set_read before return
...
(likely wake should be after... hmmm....)
2005-10-16 17:36:30 +00:00
Pierangelo Masarati
d277c5b3d6
silence SLAP_SEM_LOAD_CONTROL related warnings...
2005-10-16 08:58:06 +00:00
Howard Chu
c44210a8bf
ITS#4088 proposed fix
2005-10-16 07:37:36 +00:00
Kurt Zeilenga
c961673d9e
Add descr # to epoll_ctl failed error message
2005-10-16 06:41:55 +00:00
Kurt Zeilenga
533394d641
disable SLAP_SEM_LOAD_CONTROL by default, needs additional review/work
...
Misc. other cleanup
2005-10-16 00:17:58 +00:00
Howard Chu
37e58a73a4
Revert prev commit, use -g option to disable glue instead
2005-10-15 21:52:01 +00:00
Howard Chu
10a696bd15
ITS#4089 use slapcat -n XX to specify just the superior of a glued tree
2005-10-15 20:08:56 +00:00
Pierangelo Masarati
bd5706d8e5
complete fix of slapd-monitor log modify (ITS#4091)
2005-10-15 17:37:18 +00:00
Pierangelo Masarati
57df4bf9c2
fix log level modification via slapd-monitor (ITS#4091)
2005-10-15 15:43:53 +00:00
Pierangelo Masarati
a16521ed4e
fix error message for invalid "uri" args
2005-10-15 12:33:04 +00:00
Kurt Zeilenga
9bc19c5232
Revised lightweight dispatcher -- writers moved into worker threads
...
Presently spawns operations in separate thread to ease clr_read/wake handling.
Seems to perform reasonable well...
2005-10-15 06:54:55 +00:00
Howard Chu
4f4d91d8a9
Fix fallback retries
2005-10-15 06:14:12 +00:00
Howard Chu
1872357e3b
Trim down delta attr list
2005-10-15 05:37:10 +00:00
Howard Chu
f2f948ddf8
Fix delta deletes
2005-10-15 05:13:28 +00:00
Howard Chu
1bd689d5d0
Use generic filter for findbase
2005-10-15 05:13:05 +00:00
Howard Chu
8c8e6293f9
The rest of the reloadHint support...
2005-10-15 03:27:05 +00:00
Howard Chu
17a7ce8de5
Better delta syncrepl support, fallback to full refresh.
2005-10-15 03:26:31 +00:00
Howard Chu
711c702943
Send reloadHint TRUE by default
2005-10-15 00:43:47 +00:00
Howard Chu
d98dee3e19
Add option to enable using the reloadHint. 2.2 consumers never sent this
...
hint. The 2.3 consumer needs it for delta-syncrepl.
2005-10-15 00:31:22 +00:00
Howard Chu
df27731f66
Do some rough bounds checks on the age
2005-10-14 23:29:42 +00:00
Pierangelo Masarati
4744733638
don't copy o_ndn into lc_bound_ndn, otherwise we end up in a bind with DN but no password\!
2005-10-14 23:25:57 +00:00
Howard Chu
860bd2d6a8
Extend age buffer
2005-10-14 23:24:34 +00:00
Howard Chu
4277658ea6
Remove two-digit limitation on days in log purge interval
2005-10-14 23:18:12 +00:00
Kurt Zeilenga
577bfc477e
More cleanup
2005-10-14 22:04:03 +00:00
Kurt Zeilenga
ce96e57298
cleanup
2005-10-14 21:46:44 +00:00
Kurt Zeilenga
40ff060f83
cleanup
2005-10-14 21:37:14 +00:00
Pierangelo Masarati
dfa28bfb41
bail out on invalid pid/args file(s) (ITS#4074); slaptest needs work yet
2005-10-14 21:21:27 +00:00
Kurt Zeilenga
2dfd312fa1
Move connectionless connection init to startup (may not be in the
...
optimal place yet) to simply event management. Needs testing.
Place revent clear calls immediately upon handling of event
(before any work).
Misc. other cleanup
2005-10-14 20:48:01 +00:00
Kurt Zeilenga
e21bba89db
cleanup
2005-10-14 18:47:32 +00:00
Hallvard Furuseth
0bf486b82e
Remove unused variable (modtail in fe_op_modify())
2005-10-14 13:01:14 +00:00
Hallvard Furuseth
78873370c8
constify berval arg to load_extop(), to match usage
2005-10-14 12:57:07 +00:00
Hallvard Furuseth
f21a6f7ef3
Add missing ";" in SLAP_SOCK_SET_INIT
2005-10-14 12:53:14 +00:00
Pierangelo Masarati
b90a496187
fix previous commit (modifyTimestamp didn't get appended to the list); add opattrs to back-monitor mods
2005-10-14 10:02:50 +00:00
Kurt Zeilenga
0b153841a6
Fix prototype
2005-10-14 05:44:28 +00:00
Pierangelo Masarati
b48ace2dfe
more about ITS#4086: fix back-meta as well
2005-10-14 00:43:23 +00:00
Pierangelo Masarati
918405d154
note that "discover" is not supported yet
2005-10-14 00:20:56 +00:00
Pierangelo Masarati
72080136d1
more cleanup
2005-10-14 00:17:51 +00:00
Howard Chu
7eab94c4b5
Fix prev commit for test037
2005-10-14 00:05:43 +00:00
Pierangelo Masarati
f161b7f875
better fix to ITS#4086: treat mapping failures as undefined filter
2005-10-14 00:03:18 +00:00
Pierangelo Masarati
001e565577
temporarily fix ITS#4086
2005-10-13 22:43:46 +00:00
Pierangelo Masarati
ba8027b016
fix back-ldbm build
2005-10-13 22:20:52 +00:00
Howard Chu
7dcb68f6fa
Move CSN invocations to backends
2005-10-13 11:58:44 +00:00
Kurt Zeilenga
4d0de8b3c5
cleanup
2005-10-13 04:33:01 +00:00
Kurt Zeilenga
5085d1f8ff
cleanup
2005-10-13 02:08:14 +00:00
Kurt Zeilenga
6db7e605ee
Align Operation buffers using LBER_ALIGNED_BUFFER
2005-10-12 23:17:28 +00:00
Howard Chu
e66b6188bb
ITS#4078 fix buffer alignment
2005-10-12 17:34:06 +00:00
Kurt Zeilenga
2890a5d035
TLS is configured after listener creation
2005-10-12 16:58:22 +00:00
Howard Chu
1ea0c0dbda
Remove obsolete csn variables
2005-10-12 07:59:51 +00:00
Howard Chu
f2930835ce
ITS#4077. I wonder if we should have an ARG_OCTAL flag to preserve the
...
representation ... ?
2005-10-11 18:57:34 +00:00
Howard Chu
8b783dace6
Use ldap_unbind_ext, don't depend on ldap-int.h
2005-10-11 03:05:13 +00:00
Howard Chu
9aa064434c
Fix writefds init on Windows
2005-10-11 02:56:56 +00:00
Howard Chu
44e9209629
Remove lint
2005-10-11 02:16:09 +00:00
Pierangelo Masarati
644d9000f9
fix ITS#4073
2005-10-10 14:54:14 +00:00
Howard Chu
4b75493252
Improve prev commit
2005-10-09 21:20:40 +00:00
Howard Chu
8204cbc212
ITS#4035 let underlying backend know about updated rootdn
2005-10-09 21:17:18 +00:00
Howard Chu
4f0c386c68
ITS#4072 prevent ldaps listeners when TLS is not configured
2005-10-09 20:04:49 +00:00
Howard Chu
f54bc26357
ITS#4072 ldap_pvt_tls_init_def_ctx() returns LDAP_NO_SUPPORT if not
...
sufficiently configured. Update slapd/slurpd to act appropriately.
2005-10-09 19:55:39 +00:00
Pierangelo Masarati
97614859be
fix ITS#4071
2005-10-08 19:39:56 +00:00
Pierangelo Masarati
03db9632dd
improve previous commit (ITS#4071)
2005-10-08 18:54:03 +00:00
Pierangelo Masarati
5420344f05
allow rwm to work with either the real or the virtual naming context equal to the empty DN
2005-10-08 10:56:10 +00:00
Howard Chu
851c65ac5b
ITS#4068 fix queued UUIDs
2005-10-07 00:31:38 +00:00
Howard Chu
a79ae8da3e
Better fix for req_pwdexop_s
2005-10-06 20:34:30 +00:00
Howard Chu
d973acec0d
Silence valgrind complaint
2005-10-06 20:06:53 +00:00
Howard Chu
ccc1cb5fb3
Fix req_pwdexop definition
2005-10-06 20:04:12 +00:00
Kurt Zeilenga
b78c9dfa00
Add back proper bv_len initialization
...
Need to find and fix test010 properly.
2005-10-06 19:27:53 +00:00
Howard Chu
82998790bb
Cleanup
2005-10-06 19:11:13 +00:00
Howard Chu
8050701f56
Plug memleak
2005-10-06 19:04:39 +00:00
Howard Chu
f14f6472e7
Plug memleaks
2005-10-06 18:45:53 +00:00
Howard Chu
0a41d1db7b
ITS#4017 add TLSDHParamDir for Diffie-Hellman key parameters
2005-10-05 20:07:32 +00:00
Howard Chu
ebb23234ca
Call normalizer directly, not rdnNormalize.
2005-10-05 15:51:34 +00:00
Howard Chu
2027e19e01
Fix rdn timestamp normalization
2005-10-05 08:59:59 +00:00
Howard Chu
f093f6788f
ITS#4066 ignore writes that aren't under the unique_base
2005-10-05 06:18:56 +00:00
Pierangelo Masarati
0d76419984
add missing space (ITS#4061)
2005-10-04 10:02:54 +00:00
Howard Chu
0f69daacac
Don't flush psearch queue in main search, let the qtask do it.
2005-10-04 02:29:25 +00:00
Howard Chu
59155d9029
Fix abandon checks, syncop use count.
2005-10-03 22:59:25 +00:00
Howard Chu
2233041bd0
Fix prev commit op initialization, runqueue startup latency
2005-10-03 04:49:35 +00:00
Howard Chu
da1a1f9133
ITS#4027 select_backend should ignore manageDSAit when glue is in use.
2005-10-03 03:12:32 +00:00
Howard Chu
7486ef93df
Tweak prev commit, avoid rescheduling running qtask
2005-10-02 12:28:50 +00:00
Howard Chu
190d6e768d
Fix runq scheduling
2005-10-02 12:26:02 +00:00
Howard Chu
52e8aaea3c
Fix prev commit modrdn
2005-10-02 10:48:28 +00:00
Howard Chu
4d44d54144
Minimize base lookups
2005-10-02 05:01:45 +00:00
Howard Chu
47a055b59b
Always queue psearch responses (ITS#3671 revisited)
2005-10-02 03:58:00 +00:00
Howard Chu
62f7c85be4
Add slap_overinfo oi_origdb field to point to original BackendDB
2005-10-02 01:23:09 +00:00
Pierangelo Masarati
ada7954667
deal with the case a pseudorootn is not defined
2005-10-01 18:31:14 +00:00
Pierangelo Masarati
01bb0fa1ea
plug selected leaks resulting from ITS#4056 & ITS#4057 implementation; may need further cleanup and reworking to streamline a bit
2005-10-01 18:07:00 +00:00
Howard Chu
d878abf48f
ITS#4049,4051 - verify oldPassword when provided.
2005-10-01 15:12:39 +00:00
Kurt Zeilenga
d72f862fa7
Removed initialization of old.bv_len and new.bv_len cures
...
the recent test010 failure! hmmmm.....
2005-09-30 16:14:50 +00:00
Howard Chu
024c4bb13f
ITS#4050 compare normalized DNs when detecting modrdn
2005-09-30 06:39:37 +00:00
Kurt Zeilenga
9449c5709e
ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
...
longer works well.
2005-09-29 20:30:09 +00:00
Kurt Zeilenga
63e843d200
Remove lint
2005-09-29 20:03:04 +00:00
Hallvard Furuseth
a5ac474f2f
Remove unused variable
2005-09-29 09:32:25 +00:00
Kurt Zeilenga
741029dc87
cannot ignore old password when setting sasl password
2005-09-29 08:05:38 +00:00
Kurt Zeilenga
68ae7408dc
ITS#4049: oldPassword cannot be ignored, error for now
...
Add tests to confirm proper behavior
2005-09-29 08:00:33 +00:00
Kurt Zeilenga
e1029524b6
Refuse empty old and/or new passwords
2005-09-29 07:49:15 +00:00
Kurt Zeilenga
55b8685688
cleanup
2005-09-28 18:03:35 +00:00
Howard Chu
1769485868
Fix prev commit, reset parent == slap_entry_root
2005-09-28 16:08:01 +00:00
Howard Chu
98a13edc39
ITS#4047 fix nested overlay configuration
2005-09-28 08:30:14 +00:00
Howard Chu
20cb8f49f9
ITS#4025 add pretty/normal for pwdAttribute that recognizes descr's as
...
well as numeric OIDs
2005-09-27 16:15:59 +00:00
Howard Chu
12733ab92f
ITS#3996 fix glue/syncprov interaction
2005-09-27 15:10:57 +00:00
Howard Chu
a0db9c1341
Fix dn2id_add/del parent cache updates
2005-09-27 14:11:10 +00:00
Kurt Zeilenga
d10832b0c8
entryUUID schema to use IANA (newly) assigned OIDs
2005-09-26 18:37:50 +00:00
Howard Chu
fc9bce707d
Check log_ops before logging unbind and abandon
2005-09-26 09:49:03 +00:00
Howard Chu
052a4ae6c4
More hdb optimizing - cache subtree IDLs, not just onelevels
2005-09-26 07:30:36 +00:00
Hallvard Furuseth
05f5c7525b
Fix snprintf() format
2005-09-26 04:39:51 +00:00
Howard Chu
86bd3651e1
ITS#4040 move initialization
2005-09-25 06:12:41 +00:00
Howard Chu
5697278574
ITS#4040 fix uniqueMemberMatch when value is zero-length
2005-09-25 06:11:35 +00:00
Howard Chu
9213019114
ITS#4039
2005-09-25 03:43:20 +00:00
Pierangelo Masarati
37f4e80929
hide unused member (will likely be removed)
2005-09-24 18:46:01 +00:00
Pierangelo Masarati
112be0118e
cleanup states/timeout handling in back-ldap/meta; add connection pooling and defer of pseudoroot bind to back-meta
2005-09-24 18:39:26 +00:00
Pierangelo Masarati
e2c9c843e1
fix previous commit; cleanup few 64 bit issues
2005-09-24 17:09:19 +00:00
Howard Chu
bf7194aba9
ITS#3923 make perl_back_open symmetric with perl_back_close
2005-09-23 11:54:48 +00:00
Howard Chu
5fd0e53b15
ITS#4031 don't update syncCookie if it has invalid ctxcsn
2005-09-22 21:22:00 +00:00
Howard Chu
dd21d3a29f
ITS#4030 fix alias deref for Finding, fix alias error code propagation.
2005-09-22 21:12:04 +00:00
Kurt Zeilenga
f3e13ec5f5
Don't use #ifdefs in the inside of a macro
2005-09-19 22:17:22 +00:00
Pierangelo Masarati
ae0b39e3cc
use result of validation (ITS#4028)
2005-09-19 09:06:29 +00:00
Hallvard Furuseth
023d510766
Support POSIX 1003.1-2001 without XSI extensions (ITS #2667 ):
...
Do not use test -a/-o. Use shell features like &&, || or case...esac.
Use grep instead of egrep (but not the not-yet-portable Posix variant grep -E).
Based on a patch from Paul Eggert.
2005-09-17 22:22:15 +00:00
Howard Chu
61d96fa17c
Add dummy reference to librewrite to force it to link
2005-09-17 00:55:50 +00:00
Pierangelo Masarati
b79d4bdce5
issue additional useful warning messages; may eventually turn into errors?
2005-09-16 15:00:13 +00:00
Howard Chu
3a9814e725
Fix prev commit, BIG_ENDIAN was broken
2005-09-16 01:56:36 +00:00
Howard Chu
aa0cc7b835
More hdb tweaks, add radix sort code from mbackes@symas.com
2005-09-16 01:25:40 +00:00
Howard Chu
13154b25e3
Fix SWAP macro
2005-09-15 13:54:26 +00:00
Howard Chu
4a7f5e33bd
More optimizing - try harder to avoid sorting
2005-09-15 08:29:58 +00:00
Howard Chu
20223a9ca5
Fix ISTACK space
2005-09-15 03:59:11 +00:00
Howard Chu
d269703322
Yet another idl_merge fix (test032 failure)
2005-09-15 03:49:52 +00:00
Howard Chu
6411c57028
Fix prev commit, use BDB_IDL_LAST()
2005-09-15 03:19:26 +00:00
Howard Chu
1c2e20527e
Silence return val warnings in prev commit
2005-09-15 02:02:27 +00:00
Howard Chu
9b641006cb
ITS#4029 Fix misplaced lines in prev commit
2005-09-15 01:22:22 +00:00
Howard Chu
37ad7614de
Add syncdata keyword, to select different sync data formats. Defaults
...
to "default", can be set to "accesslog" or "changelog". changelog is
not fully implemented yet.
2005-09-14 15:27:20 +00:00
Howard Chu
285f841bd6
Add a "nopresent" keyword to skip the present phase; for backends that are
...
only used for logging (c.f. accesslog overlay) the present phase is useless.
2005-09-14 15:25:52 +00:00
Howard Chu
5e1ab5aba3
Add CSN management
2005-09-14 15:18:48 +00:00
Howard Chu
f1ffe0076f
Zero out op2
2005-09-14 14:10:25 +00:00
Howard Chu
2babdaab9e
Add flag for only logging successful operations
2005-09-14 09:11:03 +00:00
Howard Chu
9b1d798ad2
Change slap_ad_undef_remove() to slap_ad_undef_promote().
...
AttributeDescriptions must never be freed in a running slapd.
2005-09-14 06:17:59 +00:00
Howard Chu
aa3297aa36
More back-hdb search optimization
2005-09-13 07:55:01 +00:00
Hallvard Furuseth
a2a587c6ca
Add missing comma between Debug() args
2005-09-13 03:35:53 +00:00
Howard Chu
9df4ae7d6b
Fix prev commit
2005-09-12 05:52:55 +00:00
Howard Chu
ab2b541988
Tweak stack size in prev commit
2005-09-12 03:56:21 +00:00
Howard Chu
2dd87ed9e6
Use quicksort instead of heapsort for hdb_idl_sort
2005-09-12 03:54:52 +00:00
Pierangelo Masarati
9129a2f7ee
silence warnings
2005-09-10 18:59:35 +00:00
Pierangelo Masarati
ceb9c15bdd
put logging under Debug(); silence warnings; s/warnings/errors/ #ifdef'd
2005-09-10 18:42:33 +00:00
Pierangelo Masarati
fb3fc81c7e
improved authz_backend detection for internal databases (ITS#4018)
2005-09-10 09:56:29 +00:00
Howard Chu
214e13eecc
Tweak newsuperior error codes
2005-09-10 01:51:34 +00:00
Howard Chu
fc784ad8fd
ITS#2757 remove isroot checks, simplify
2005-09-10 01:49:46 +00:00
Howard Chu
262c44772d
ITS#2757 remove be_isroot checks, simplify...
2005-09-10 01:16:55 +00:00
Howard Chu
f1e05336f1
ITS#3979 restore old (RE21, RE22) search order
2005-09-09 11:43:13 +00:00
Howard Chu
3673cceb6c
ITS#3979 only support tool entry points if root DB has them
2005-09-09 11:37:00 +00:00
Howard Chu
beaa0f2250
ITS#3979 better check for duplicate bi_open functions
2005-09-09 07:40:54 +00:00
Howard Chu
c8f977e1b7
ITS#3981 ch_realloc( addr, 0 ) frees addr, return NULL
2005-09-09 07:06:58 +00:00
Howard Chu
ba39e3fe00
ITS#3989 more fixes
2005-09-09 04:53:56 +00:00
Pierangelo Masarati
866148810e
release resources (ITS#4016)
2005-09-09 02:37:38 +00:00
Howard Chu
d4c3093996
Silence valgrind warnings
2005-09-09 01:44:42 +00:00
Howard Chu
9944c9c461
ITS#4015 silence pointer/integer size warnings
2005-09-08 23:47:19 +00:00
Kurt Zeilenga
bb19302db6
cast pointer to long instead of int to hopefully avoid
...
truncation. Change does at least silence warning.
2005-09-08 21:38:20 +00:00
Pierangelo Masarati
366ef40ceb
plug one-time leaks
2005-09-08 20:46:48 +00:00
Pierangelo Masarati
1c2aef6050
fix format and signedness issues
2005-09-08 20:18:43 +00:00
Howard Chu
aa897eae90
ITS#4010 fixes complaint, larger problem remains
2005-09-08 15:28:36 +00:00
Pierangelo Masarati
daa7b11ff5
don't bother about the port if none is given (ITS#4012)
2005-09-08 15:13:01 +00:00
Pierangelo Masarati
3093f97767
fix messages in previous commit
2005-09-08 14:32:09 +00:00
Pierangelo Masarati
5f20374de1
reject registrations when back-monitor is not configured
2005-09-08 14:23:35 +00:00
Howard Chu
a59c109109
Check errcode from dn2entry before using ei
2005-09-08 11:14:12 +00:00
Howard Chu
d567be70eb
ITS#3989 fix crash - don't access freed psearch records
2005-09-08 02:19:05 +00:00
Howard Chu
2ba90833c7
Misc Windows linking fixes
2005-09-07 10:27:55 +00:00
Howard Chu
c7fe31b06d
ITS#4009 set X-ORDERED extension on olcReplica
2005-09-07 03:30:59 +00:00
Pierangelo Masarati
07fd8431c2
allow "proxied" attributeDescriptions in DN as well (more about ITS#3959)
2005-09-06 17:21:24 +00:00
Pierangelo Masarati
a1ff59f436
pretty the DN as well
2005-09-06 17:19:36 +00:00
Pierangelo Masarati
4687de2062
fix typo (ITS#4005)
2005-09-06 15:17:07 +00:00
Pierangelo Masarati
82af0c95f7
cleanup dynacl usage()
2005-09-06 14:26:53 +00:00
Pierangelo Masarati
42ae82332f
few more fixes
2005-09-06 14:26:06 +00:00
Pierangelo Masarati
85e56eb653
don't lookup rootdn if the password is incorrect (ITS#4004)
2005-09-06 12:35:37 +00:00
Howard Chu
9ec2e2c690
ITS#3807 use a different tokenizer for parsing LDIF values into words.
2005-09-06 09:04:26 +00:00
Howard Chu
e0b42505c1
Add searchFilter var in searchDN session. Would have preferred to confine
...
this to the searchDN context. Please review.
2005-09-06 07:13:14 +00:00
Howard Chu
d89cfddcde
ITS#4003 frontend->be_replogfile can legitimately be set.
2005-09-05 02:42:24 +00:00
Kurt Zeilenga
69dc0282b1
really fix commit before last
2005-09-05 01:47:27 +00:00
Howard Chu
258b31ccad
Moved from back-bdb
2005-09-05 01:32:44 +00:00
Kurt Zeilenga
59a23d7656
Fix typo in last commit
2005-09-05 01:11:45 +00:00
Kurt Zeilenga
b707e1e38c
Move uidNumber and gidNumber into slapd(8)
...
to ensure they are available for ldapi://.
2005-09-05 01:08:40 +00:00
Pierangelo Masarati
61e06b4ef2
all right, don't worry about free() by now
2005-09-04 23:54:30 +00:00
Howard Chu
92909f0682
ITS#3980 fix when master doesn't explicitly reset grace/lock attrs
2005-09-04 23:44:04 +00:00
Pierangelo Masarati
ec532ce885
disable pagedResults or reject
2005-09-04 20:08:35 +00:00
Pierangelo Masarati
35935f4178
silence warning
2005-09-04 20:07:17 +00:00
Pierangelo Masarati
596f21340e
cleanup
2005-09-04 20:00:40 +00:00
Pierangelo Masarati
7fd7001fc2
fix old erroneous commit (ITS#4001)
2005-09-04 19:21:39 +00:00
Howard Chu
0eed18a0e8
Also compile for LDBM
2005-09-04 16:24:16 +00:00
Howard Chu
1e4d973616
ITS#3980, filter out some delete modifications on replicas if target
...
attrs don't exist
2005-09-04 16:22:30 +00:00
Howard Chu
f81ad346ff
ITS#3978: Added alock calls; warns about inconsistency but continues
...
to start. Fails for concurrent access attempts, since ldbm does not
support any concurrency. (So slaptools are prevented from running when
slapd is already active.)
2005-09-04 15:48:44 +00:00
Howard Chu
464fc6b68a
ITS#3978 move alock from back-bdb to slapd
2005-09-04 15:21:57 +00:00
Howard Chu
784554f1bb
ITS#3802, #3999 skip wake_sds in epoll event loop
2005-09-04 15:04:09 +00:00
Hallvard Furuseth
00d898e7f3
Silence warnings
2005-09-03 17:03:36 +00:00
Howard Chu
36db408d0e
Add missing return from rev 1.27
2005-09-02 21:27:49 +00:00
Howard Chu
f4637d60c2
per LDAPext discussion, delete pwdAccountLockedTime on password change
2005-09-02 20:38:05 +00:00
Howard Chu
f1561ac4b5
Bypass all add/modify checks on replicas, the master has done them already.
2005-09-02 20:23:32 +00:00
Howard Chu
fc8b2dda7c
ITS#3989 fix ID used for syncprov_findbase
2005-09-02 10:08:44 +00:00
Howard Chu
d875ecb315
Remove #undef HAVE_EPOLL accidentally committed in rev 1.316
2005-09-01 23:21:46 +00:00
Howard Chu
7539786f01
Fix olcSubordinate OID clash
2005-09-01 12:19:08 +00:00
Howard Chu
8eed3a4bb5
ITS#3992 check bi_dbenv
2005-09-01 12:15:30 +00:00
Howard Chu
4a1eabf257
Moving glue overlay back into slapd core, returning to 2.2 config syntax
2005-09-01 11:45:04 +00:00
Hallvard Furuseth
6daa94dfe7
Fix check for supported operations: Needs be_id2entry_get, not be_entry_get
2005-08-31 23:25:50 +00:00
Hallvard Furuseth
4faa77f440
Reject slapadd -w if not supported (partial ITS#3979 fix)
2005-08-31 23:23:13 +00:00
Hallvard Furuseth
e0a8e693af
Null backend support for slapadd and slapcat
2005-08-31 18:00:40 +00:00
Hallvard Furuseth
fc1514431c
Cleanup: Rename struct null_info.bind_allowed to .ni_bind_allowed
2005-08-31 16:30:32 +00:00
Pierangelo Masarati
4ba83103d9
fix test before releasing resources (ITS#3990)
2005-08-31 15:11:25 +00:00
Howard Chu
be1216819c
ITS#3979 only one glue overlay per tree is allowed
2005-08-31 11:47:18 +00:00
Pierangelo Masarati
a2ea1edb48
save target errors for later evaluation
2005-08-31 01:55:34 +00:00
Pierangelo Masarati
093994cfd5
further refine previous commit
2005-08-30 23:55:15 +00:00
Pierangelo Masarati
6ff4357427
fix previous commit
2005-08-30 21:21:32 +00:00
Pierangelo Masarati
a836a77e27
always init ACLs
2005-08-30 11:00:23 +00:00
Pierangelo Masarati
9baa6f4c99
don't let back-monitor appear __after__ a database that hides it; currently, only <suffix ""> :-( ; make error messages more descriptive
2005-08-30 10:38:11 +00:00
Pierangelo Masarati
b86467e0f8
cleanup previous commit (thanks to Hallvard)
2005-08-30 10:36:24 +00:00
Hallvard Furuseth
27831fcde5
Include "fd=.." in Statslog message "TLS established"
2005-08-29 23:34:42 +00:00
Howard Chu
3fc2e1388a
ITS#3983 fix connection_client_stop, must reset sockbuf
2005-08-29 23:05:32 +00:00
Pierangelo Masarati
7cf72ec000
log UNDEFINED/PROXIED attributeDescription insertion
2005-08-29 10:49:20 +00:00
Pierangelo Masarati
bac1aea2a5
fix previous commit
2005-08-29 09:48:07 +00:00
Pierangelo Masarati
7a85e25402
prettify matchedDN
2005-08-28 14:50:41 +00:00
Howard Chu
ba881c5e6f
In ordered_value_sort, allow zero-length ordered values.
...
In check_vals, log msg when ordered_value_sort fails.
2005-08-28 10:23:10 +00:00
Howard Chu
f8a97897ad
More for ITS#3937, pick up pre-set ldap_syslog values.
2005-08-28 07:15:11 +00:00
Howard Chu
055c1abbdc
ITS#3937 add config_syslog var to track state of loglevel directive,
...
copy to ldap_syslog when in SLAP_SERVER_MODE
2005-08-28 07:11:10 +00:00
Howard Chu
ba268441bc
ITS#3937 tone down informational debug msgs
2005-08-28 07:02:53 +00:00
Howard Chu
975de9aa5b
Consolidate a few more init calls into slap_init(). Fixes ITS#3962,
...
unintentional changed default of TLSVerifyClient.
2005-08-28 03:25:16 +00:00
Pierangelo Masarati
39998dfe8d
prettify matchedDN; fix memory handling
2005-08-27 19:21:43 +00:00
Pierangelo Masarati
97600bf23c
prettify matchedDN; return response code
2005-08-27 19:20:31 +00:00
Howard Chu
b265c37c9b
Additional log msg for config tree processing failures
2005-08-27 10:51:08 +00:00
Howard Chu
29731c1850
Partially revert rev 1.31, must detect send_search errors to propagate
...
errors up when reading config DB.
2005-08-27 10:15:22 +00:00
Howard Chu
a5739b28b3
More for ITS#3900 - olcDefaultSearchBase doesn't belong in root entry
2005-08-27 09:40:06 +00:00
Howard Chu
528acf7504
Finish control implementation
2005-08-27 01:21:51 +00:00
Howard Chu
12beb27e46
Fix typos in error messages
2005-08-27 01:18:47 +00:00
Hallvard Furuseth
f17ffeb925
Rename label "leave" to "done".
...
Tru64 5.1 alpha's <pthread.h> turns "leave" into an exception handling keyword.
2005-08-26 22:23:27 +00:00
Hallvard Furuseth
a1a9507295
Remove unused variable
2005-08-26 21:42:48 +00:00
Pierangelo Masarati
8e3adc2428
fix uninitialized, signedness and other issues (ITS#3854)
2005-08-26 16:52:51 +00:00
Pierangelo Masarati
421f09435d
refine last commit (let "proxied" attrs be registered in between the request and the response...); silence misc signedness warnings
2005-08-26 14:43:15 +00:00
Luke Howard
06600b9a1d
fix slapi_sdn_isempty() logic
2005-08-26 10:46:56 +00:00
Howard Chu
e641222b10
More for ITS#3854
2005-08-26 03:35:42 +00:00
Howard Chu
7e92728db9
Fix another leaked environment.
2005-08-26 02:35:32 +00:00
Hallvard Furuseth
45d60c21dd
slapi_rdn_set_<sdn/rdn>: Void functions, so return nothing - not even void.
2005-08-26 02:26:50 +00:00
Howard Chu
6a4839bd23
Windows mod compatibility
2005-08-26 02:21:07 +00:00
Howard Chu
4cc7efdadc
Revert ITS#3577 patch, breaks Windows build and not needed in RE23.
2005-08-26 02:20:45 +00:00
Howard Chu
5a03f7611f
Fix for Windows mod compatibility, imported symbols cannot be used as
...
constant initializers.
2005-08-26 02:17:13 +00:00
Howard Chu
d7122627fa
Leave pwdPolicySubEntry user-modifiable for now
2005-08-26 00:19:08 +00:00
Pierangelo Masarati
6cb8b14435
allow undefined attrs to be "proxied" (ITS#3959)
2005-08-25 21:14:26 +00:00
Kurt Zeilenga
f07015dad2
Update build tools based upon OPENLDAP_AC work
2005-08-25 20:09:26 +00:00
Pierangelo Masarati
afaf426231
need stricter sanity checks...
2005-08-25 08:57:08 +00:00
Pierangelo Masarati
b90daf83f9
honor onerr on bind
2005-08-25 08:55:55 +00:00
Howard Chu
f6be095299
Don't do anything if this is a syncrepl response.
2005-08-25 06:56:09 +00:00
Howard Chu
143a1cdae1
Must close env before removing it.
2005-08-25 03:00:29 +00:00
Howard Chu
5903ebc1b5
Config fixes
2005-08-24 08:32:03 +00:00
Luke Howard
a99305da41
Allow slapi_sdn_get_parent() to work if only normalized DN is available
2005-08-24 05:11:58 +00:00
Howard Chu
fc1c7d9987
Fix typo in numeric-descend
2005-08-24 02:26:55 +00:00
Howard Chu
c9c1ee10b3
Add LDAP_CONTROL_VALSORT
2005-08-24 02:07:43 +00:00
Howard Chu
6b63e25bc2
Check for numeric syntaxes
2005-08-24 01:52:05 +00:00
Howard Chu
7dde9e0b33
Tweak prev commit, use BER_BVZERO
2005-08-24 01:36:16 +00:00
Howard Chu
c947cfd66a
Fix uninit'd var, check for single-valued attrs
2005-08-24 01:34:49 +00:00
Pierangelo Masarati
c33124e698
make sure a_nvals are as many as a_vals (helps tracking other issues...)
2005-08-23 23:56:47 +00:00
Pierangelo Masarati
ac1488b50d
workaround ITS#3965; if anybody has a better solution...
2005-08-23 22:54:07 +00:00
Howard Chu
ef220ac1ef
Updated for draft 09, allow MANAGE for operational attrs.
2005-08-23 19:37:16 +00:00
Pierangelo Masarati
40c0d3bfa3
harmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS#3964, ITS#3963 still open
2005-08-23 17:38:50 +00:00
Pierangelo Masarati
fb3424f17d
fix use of uninitialized var
2005-08-23 13:02:53 +00:00
Howard Chu
02f52030b0
More for valsort
2005-08-23 10:44:36 +00:00
Howard Chu
57722288f1
Add valsort
2005-08-23 08:52:01 +00:00
Howard Chu
225275407d
Add sorted values overlay
2005-08-23 08:47:38 +00:00
Howard Chu
1f78e2b831
ITS#3961 better fix - provide a context for the main thread. The context
...
must be reset by the caller to clear out temp allocations etc.
2005-08-23 04:12:57 +00:00
Howard Chu
468112e2ba
ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
...
use arbitrary context pointers.
2005-08-23 03:25:21 +00:00
Pierangelo Masarati
075220dd7e
need some minimal timeout otherwise strange issues occur
2005-08-22 18:14:41 +00:00
Pierangelo Masarati
0717a598b6
fix ACIs; few issues remain (e.g. disclose)
2005-08-22 17:59:47 +00:00
Pierangelo Masarati
849ecbcf1f
allow options in dynacl configuration
2005-08-22 16:28:50 +00:00
Pierangelo Masarati
4bc8197dcb
further ACI factoring out & confinement
2005-08-22 16:03:35 +00:00
Pierangelo Masarati
d4ec31f677
fix cleanup on error
2005-08-22 16:01:16 +00:00
Pierangelo Masarati
65f07479ac
fix previous commit
2005-08-22 10:46:57 +00:00
Pierangelo Masarati
de90dbbc52
mutex-protect "undefined" attribute descriptions/objectClasses addition (ITS#3958)
2005-08-22 09:46:17 +00:00
Pierangelo Masarati
a3554aad3a
log the right string
2005-08-22 09:42:51 +00:00
Pierangelo Masarati
ec1042b19e
allow a minimal timeout in compares
2005-08-22 09:42:26 +00:00
Pierangelo Masarati
150bcfcbcb
moved to contrib/slapd-overlays/allop
2005-08-22 09:12:21 +00:00
Hallvard Furuseth
94747c50db
SLAP_OP_* enums are always used. Delete #ifdef SLAPD_MONITOR around definition.
2005-08-21 00:00:09 +00:00
Pierangelo Masarati
5b7f996566
cleanup
2005-08-20 19:50:59 +00:00
Pierangelo Masarati
919781ea45
fix referral logging @STATS2
2005-08-20 19:20:53 +00:00
Pierangelo Masarati
c8ef609ea1
fix (and partially revert) last commit
2005-08-20 19:05:10 +00:00
Pierangelo Masarati
00b5d8c1bc
allow objectClass checking including sups
2005-08-20 19:01:53 +00:00
Pierangelo Masarati
15d1b4d5dd
cleanup locking
2005-08-20 19:00:56 +00:00
Pierangelo Masarati
6bae592866
cleanup objectclass inheritance; don't proceed if initial lookup resulted in a hit with "success" errcode and the base is search; either the filter doesn't match, or the same action is taken twice
2005-08-20 18:00:40 +00:00
Pierangelo Masarati
f227a96053
more for the allop overlay
2005-08-20 11:53:31 +00:00
Pierangelo Masarati
95f65ff352
all-operational overlay: allows to configure part of te DIT so that requests
...
with requested attribute lists empty or containing "*" are expanded
to contain "+" as well, so that all operational attributes are returned.
This may be required to work around dumb clients that interrogate
the rootDSE requesting "*" and expecting operational attributes to be
returned as well. To make it a bit more generic, it can be configured
to do the same for an arbitrary search described by an URI. For example,
overlay allop
allop-URI ldap:///??sub
before any database instantiation causes all searches to return "*","+"
when ors_attrs is NULL or countains "*".
2005-08-20 11:48:13 +00:00
Pierangelo Masarati
fdfcf0406e
need an AUXILIARY objectClass to play with some special error codes (need to update man page as well)...
2005-08-20 11:31:51 +00:00
Pierangelo Masarati
e5d302e84f
normalize/pretty attributes when possible
2005-08-20 11:31:07 +00:00
Kurt Zeilenga
6f99b15ee0
Clarify second all user attrs comment
2005-08-20 07:00:16 +00:00
Kurt Zeilenga
5beeb04346
Clarify attribute comment
2005-08-20 06:58:22 +00:00
Pierangelo Masarati
725423ef4f
couldn't slapcat with ACIs in slapd.conf :)
2005-08-19 00:30:10 +00:00
Pierangelo Masarati
3356017b93
complete ACI syntax exploitation
2005-08-19 00:25:18 +00:00
Pierangelo Masarati
9c02a32b7c
more about matchedDN in back-meta (ITS#3944)
2005-08-18 14:55:28 +00:00
Pierangelo Masarati
ef38cc9501
cleanup
2005-08-18 12:50:48 +00:00
Pierangelo Masarati
66c173deb9
a bit redundant, but works around ITS#3951
2005-08-18 12:14:07 +00:00
Pierangelo Masarati
11211d0dae
strip entryDN from search entries; frontend will reattach it :(
2005-08-18 11:26:29 +00:00
Pierangelo Masarati
e066ec210e
merge sml_managing into sml_flags (SLAP_MOD_MANAGING)
2005-08-18 08:48:10 +00:00
Pierangelo Masarati
9487629061
zero out sml_managing any time a Modifications is built (use calloc?)
2005-08-18 08:12:26 +00:00
Howard Chu
315c4a3b72
ITS#3946 reset lockout status at beginning of all Binds
2005-08-18 07:05:56 +00:00
Luke Howard
2ff5c27f63
Check for NULL in be_match()
...
Use be_match() in backend.c operational processing
2005-08-18 04:34:04 +00:00
Luke Howard
53a15b6820
Use be_match() instead of testing pointer equivalence
2005-08-18 04:12:54 +00:00
Luke Howard
6cf14a777a
Add be_match() macro: one cannot always compare BackendDB pointer
...
values in order to test equivalence, because the overlay engine
may have reset the backend pointer to a temporary copy on the stack.
So, we test pointer equivalence of the BackendDB itself, then of
be_nsuffix -- this macro can be updated if necessary.
2005-08-18 04:12:04 +00:00
Pierangelo Masarati
ef7421b87d
more on manage access level
2005-08-18 02:25:10 +00:00
Pierangelo Masarati
add1add854
condition compile dynacl
2005-08-17 22:41:30 +00:00
Pierangelo Masarati
b2284183f9
more on manage
2005-08-17 22:06:46 +00:00
Pierangelo Masarati
965d00a1dd
allow to manage entryUUID; allow to manage noUserMod attrs during add
2005-08-17 20:53:39 +00:00
Pierangelo Masarati
557f5eb2ca
allow noUserMod attrs write proxying when manageDIT is set (still to work in frontend for add)
2005-08-17 19:40:02 +00:00
Pierangelo Masarati
5873048347
fix return code (prevents clean usage of back-ldap for internal searchs)
2005-08-17 19:38:36 +00:00
Pierangelo Masarati
ec49990d51
ACIs almost entirely factored out of slapd
...
Added OpenLDAPaciSyntax based on ITS#3877 by Nikita Shulga
aci_mask() doesn't exploit the normalized value yet (next step)
The case #define SLAPD_ACI_ENABLED / #undef SLAP_DYNACL should
be removed
2005-08-17 17:14:57 +00:00
Howard Chu
d247840d6b
ITS#3946 use connection_destroy hook to reset lockouts instead of unbind
2005-08-17 16:42:22 +00:00
Pierangelo Masarati
69c6cd5365
fix small issues with dynacl and ACI in general
2005-08-17 14:44:41 +00:00
Pierangelo Masarati
99ea177e05
implement overlapping targets enhancement (ITS#3711)
2005-08-17 08:34:49 +00:00
Pierangelo Masarati
76f52279ef
fix "matched" return and return code (ITS#3944)
2005-08-17 08:25:48 +00:00
Pierangelo Masarati
24befe380c
fix resources release issue
2005-08-17 08:25:10 +00:00
Pierangelo Masarati
c4ab7b1af2
in some cases, back-meta needs to propagate pseudo-root identity even if it's not the authorizing backend
2005-08-17 08:19:37 +00:00
Pierangelo Masarati
ecd99b83dd
set "matched" as appropriate (ITS#3942)
2005-08-17 08:13:24 +00:00
Pierangelo Masarati
88e89bf4e7
cleanup
2005-08-17 08:08:23 +00:00
Luke Howard
d174f6720a
Add read-only SLAPI_X_ADD_STRUCTURAL_CLASS pblock extension.
...
This is necessary to compensate for a regression in the SLAPI
implementation since it moved to an overlay: global add preop
plugins no longer have access to operational attributes,
because slap_mods_opattrs() is called by fe_op_add(), invoked
after the global SLAPI overlay.
(Some of our plugins need to the structural object class of the
to-be-added entry.)
I suppose an option would be to have the SLAPI overlay
optimistically call slap_mods_opattrs() (as long as this can be
called idempotently). If there are any other ideas let me know.
2005-08-17 07:25:27 +00:00
Kurt Zeilenga
65d2925249
ITS#3941: posixGroup should be STRUCTURAL
2005-08-17 07:10:02 +00:00
Hallvard Furuseth
a0b5f5138b
Remove unused label "error_return"
2005-08-16 19:45:50 +00:00
Luke Howard
f68a2b1663
Make sure we release entry lock before sending paged response
2005-08-15 11:27:42 +00:00
Howard Chu
88dd1c5659
More optimization for CSN filter checks
2005-08-15 07:18:19 +00:00
Howard Chu
8c20a11293
Fix prev commit
2005-08-15 05:36:56 +00:00
Howard Chu
71bc69bfff
Optimize FINDCSN case
2005-08-15 00:04:13 +00:00
Howard Chu
b15a72caec
ITS#3931 fix dnRelativeMatch return values
2005-08-14 23:08:20 +00:00
Howard Chu
f4c1eee382
ITS#3935 tweak sessionlog description
2005-08-14 08:35:31 +00:00
Howard Chu
9326c2b313
ITS#3845 allow rootpw to be used for rootdn SASL binds, based on
...
patch from Jason Townsend
2005-08-14 08:00:54 +00:00
Hallvard Furuseth
9873eb7ab0
Add missing Statslog() statements (loglevel stats/stats2):
...
"ABANDON", "STARTTLS", "CANCEL", "WHOAMI", "PASSMOD", "EXT", "INTERM",
"TLS established", SASL and Extended Response "RESULT".
In Statslog output "conn=xx fd=yy closed", append the reason in
"()" unless client or server closed the connection after Unbind.
Still missing Statslog output from a number of failed requests.
2005-08-14 00:14:58 +00:00
Hallvard Furuseth
a222469d0d
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-08-13 21:10:41 +00:00
Pierangelo Masarati
f6ef5170fa
personally, I'm much more comfortable using hex for log levels...
2005-08-13 16:04:40 +00:00
Howard Chu
0246338206
utime is not needed here any more
2005-08-13 13:18:00 +00:00
Howard Chu
c722dd9ca8
Rework auto-recovery logic:
...
Removes ITS#3824 patch.
Adds trace message for ITS#3833.
Streamlines ITS#3607 patch.
2005-08-13 12:59:45 +00:00
Kurt Zeilenga
77173d35e9
Replace PW_GECOS/PASSWD macros
2005-08-12 22:28:17 +00:00
Kurt Zeilenga
eceb493bc0
Use IANA assigned OIDs
2005-08-12 21:24:13 +00:00
Kurt Zeilenga
7dec65ee10
Replace 666 OIDs for Assertion/pre-read/post-read controls with
...
appropriate IANA assigned OIDs, and remove hide.
2005-08-12 18:08:15 +00:00
Pierangelo Masarati
7b9173d0bb
should compile also when #undef HAVE_TLS
2005-08-12 10:51:39 +00:00
Pierangelo Masarati
a23466f64a
should compile also when #undef HAVE_TLS
2005-08-12 10:49:55 +00:00
Kurt Zeilenga
13accb8b28
Not sure why autoheader isn't doing its job...
2005-08-12 06:17:24 +00:00
Pierangelo Masarati
e93c8f18d4
minor cleanup
2005-08-11 23:53:52 +00:00
Pierangelo Masarati
d10250d9f6
add authzSyntax for authzTo/authzFrom attributes; add X-ORDERED 'VALUES' if support for ordered_value_{validate,pretty,normalize} is present; exploit normalization in slap_parseURI (only #ifdef LDAP_DEVEL)
2005-08-11 23:52:17 +00:00
Pierangelo Masarati
53a4d530d9
plug one-time leak
2005-08-11 23:35:47 +00:00
Pierangelo Masarati
2b93e9b376
wrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL)
2005-08-11 23:35:15 +00:00
Pierangelo Masarati
53921b2c1a
fix error message
2005-08-11 21:02:32 +00:00
Pierangelo Masarati
6cd013b254
silence warning
2005-08-11 19:32:28 +00:00
Pierangelo Masarati
c6e2a69f27
fix tls propagation, including rebind
2005-08-11 16:01:24 +00:00
Pierangelo Masarati
e9cb5b0efb
don't get tricked when option separator occurs past end of berval
2005-08-11 02:09:03 +00:00
Howard Chu
ba0996f1c1
ITS#3929 "test -e" doesn't exist on Solaris
2005-08-11 00:27:59 +00:00
Howard Chu
99e2e5d886
Move ldap_pvt_thread_initialize() earlier. (See -devel; same as ITS#3793)
2005-08-10 23:19:47 +00:00
Pierangelo Masarati
0db4013fb0
temporarily fix SLAPD_OVERLAY_ACCESS conflict
2005-08-10 18:53:21 +00:00
Pierangelo Masarati
98363b43a6
enable syncrepl support by default
2005-08-10 16:54:45 +00:00
Howard Chu
6c21412122
Fix backend selection diagnostics
2005-08-10 11:26:32 +00:00
Pierangelo Masarati
f8407435cc
cleanup
2005-08-10 10:25:24 +00:00
Pierangelo Masarati
f38e72b26c
trim use of uninitialized data; please review
2005-08-10 10:21:37 +00:00
Hallvard Furuseth
d50820cdd6
Read LDAPResult.resultCode & ModifyRequest.modification.operation
...
and send SortResult.sortResult as BER ENUMERATED, not BER INTEGER.
libldap: ldap_parse_extended_result, try_read1msg, build_result_ber,
ldap_parse_sasl_bind_result. slapd: do_modify, send_ldap_controls.
2005-08-10 00:54:38 +00:00
Luke Howard
3647cba131
ITS#3924
...
Also, fix slapi_dn_parent() crasher
2005-08-09 05:28:58 +00:00
Pierangelo Masarati
eae2233d0c
don't leak in case of attribute not found
2005-08-09 03:39:12 +00:00
Luke Howard
2e36d49a73
Fix slapi_str2entry()/slapi_entry2str() allocation
2005-08-09 02:56:21 +00:00
Luke Howard
6461a5b7fd
ITS#3924
2005-08-09 02:12:18 +00:00
Howard Chu
c30992f05e
ITS#3922 don't leak ber buffer on decode/parse errors
2005-08-09 00:26:39 +00:00
Howard Chu
28be8691cc
ITS#3922 plug another cookie parsing leak
2005-08-09 00:11:42 +00:00
Howard Chu
0b2a428a29
ITS#3917 don't check csn syntax if schema isn't inited yet
2005-08-08 23:56:40 +00:00
Howard Chu
a99e5846b3
ITS#3917 revert prev commit
2005-08-08 23:45:29 +00:00
Pierangelo Masarati
9f1703d0d3
more (in)sanity stuff
2005-08-08 22:49:54 +00:00
Hallvard Furuseth
f927b77456
Remove unused variables in config_updatedn()
2005-08-08 22:35:38 +00:00
Hallvard Furuseth
64512ad4d7
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-08-08 22:25:56 +00:00
Hallvard Furuseth
7843e7fbb2
Destroy monitor_info.mi_cache_mutex
2005-08-08 21:29:13 +00:00
Pierangelo Masarati
c984c229d6
plug more one-time leaks; rearrange subsystems setup
2005-08-08 20:45:10 +00:00
Hallvard Furuseth
b1e4b27388
#include <ac/ctype.h>, needed by last commit
2005-08-08 20:19:25 +00:00
Pierangelo Masarati
b286c9264b
plug another one-time leak
2005-08-08 20:01:04 +00:00
Pierangelo Masarati
64af435895
ITS#3914 bug was very close to that leak: rwm_dnattr_rewrite() already freed the original value (all this stuff may need work)
2005-08-08 19:49:48 +00:00
Pierangelo Masarati
47351e3b5c
fix yet another leak (not related to ITS#3914, though)
2005-08-08 19:41:10 +00:00
Hallvard Furuseth
3142c03e5a
Fix typo in previous commit (slapi_dn.c -> slapi_dn.lo)
2005-08-08 14:30:34 +00:00
Pierangelo Masarati
cccf35c749
allow textual log levels in command line
2005-08-08 14:01:40 +00:00
Luke Howard
d463430295
Remove slapi_x_be_select()
2005-08-08 13:26:02 +00:00
Luke Howard
d96f3615b3
New file - slapi_dn.c
2005-08-08 13:25:24 +00:00
Luke Howard
7d557f0b0d
Add Slapi_DN API
2005-08-08 13:24:18 +00:00
Howard Chu
ae8a333bc8
ITS#3917 init schema before parsing args
2005-08-08 12:51:38 +00:00
Howard Chu
9365649dad
ITS#3922 fix syncrepl ctxcsn leak
2005-08-08 12:38:19 +00:00