Howard Chu
173330187e
Tweak online_index task interval
2005-04-23 16:58:23 +00:00
Howard Chu
5639c07137
Add hdb symbols, make sure only one indexer runs
2005-04-23 16:16:54 +00:00
Howard Chu
e3b66a409d
ITS#3677 use LDAP_DEBUG_ANY when logging the shutdown reason
2005-04-23 15:55:26 +00:00
Howard Chu
cd1bdf99e2
Add task names to runqueue entries. Display running tasks under
...
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Howard Chu
2d277bef3b
More for dynamic dbenv swapping
2005-04-22 23:02:01 +00:00
Pierangelo Masarati
41aad6e27f
more on error handling reworking; should address ITS#3672 and ITS#3676
2005-04-22 21:43:52 +00:00
Howard Chu
8d0fba2d97
Dynamic environment swapping
2005-04-22 21:35:45 +00:00
Howard Chu
cfc73a837b
Fix prev commit
2005-04-22 21:34:49 +00:00
Howard Chu
9754ccacfd
ITS#3607 use shared memory when configured
2005-04-22 21:18:59 +00:00
Howard Chu
7674aa817f
Fix single-value delete, replace
2005-04-22 21:15:20 +00:00
Howard Chu
855f7d44e9
pwdReset was not supposed to be NO-USER-MODIFICATION
2005-04-22 18:42:52 +00:00
Howard Chu
c49ba400db
Cleanup db_close vs db_destroy steps
2005-04-22 18:07:02 +00:00
Pierangelo Masarati
4ecdb6285d
cleanup
2005-04-22 17:30:59 +00:00
Howard Chu
0398f254ee
Fix checkpoint task start/stop
2005-04-22 15:32:09 +00:00
Howard Chu
6d66968ab0
Cleanup task tracking
2005-04-22 14:50:28 +00:00
Howard Chu
8f78d064ee
Isolate syncrepl stuff in syncrepl.c
2005-04-22 14:38:35 +00:00
Howard Chu
7e27799b95
Fix prev commit
2005-04-22 14:34:10 +00:00
Howard Chu
cc2288b444
Fix bdb_attrinfo_free
2005-04-22 14:21:54 +00:00
Pierangelo Masarati
eda6c5abcb
remove unnecessary call
2005-04-22 12:59:30 +00:00
Howard Chu
5158e46d59
Note draft 8 in comment
2005-04-22 09:10:06 +00:00
Howard Chu
3400b96d71
ITS#3655 patch from Ralf rhafer@suse.de update to draft 8 behavior
2005-04-22 09:09:12 +00:00
Pierangelo Masarati
18d18d25dc
more attr_merge cleanup (please check)
2005-04-21 23:36:37 +00:00
Pierangelo Masarati
22aed7ddf9
add a consistency check
2005-04-21 23:35:00 +00:00
Pierangelo Masarati
17dbf7a49f
fix previous commit
2005-04-21 22:57:49 +00:00
Pierangelo Masarati
95d3db5d25
fix previous commit
2005-04-21 22:22:43 +00:00
Pierangelo Masarati
2d94c4bd52
set alias dereferencing (please check)
2005-04-21 21:19:35 +00:00
Pierangelo Masarati
5fe42e8853
either pass normalized values to attr_merge*() or call attr_merge_normalize*() (fixes ITS#3659)
2005-04-21 21:05:38 +00:00
Pierangelo Masarati
a7b1017f44
partial fix to ITS#3659; still problems in merging values with "permissive" set
2005-04-21 19:55:22 +00:00
Howard Chu
8b6d9467ea
Fix prev commit for component indexer op
2005-04-21 19:54:54 +00:00
Howard Chu
180d28dab7
Fix typo, add Truncate support
2005-04-21 19:46:47 +00:00
Howard Chu
88cdbab5f4
config cleanup handler
2005-04-21 19:31:39 +00:00
Howard Chu
5bf5288be5
Allow shutdown to interrupt the indexer
2005-04-21 19:23:33 +00:00
Howard Chu
5de908e7e1
Dynamic indexing support
2005-04-21 19:04:31 +00:00
Howard Chu
eac3fc3737
Added some delete handlers
2005-04-21 12:45:25 +00:00
Howard Chu
df6701667e
Placeholders for unimplemented Delete handlers
2005-04-21 12:03:35 +00:00
Howard Chu
f5e36e1bbd
Fix dnattr unparsing
2005-04-21 07:15:02 +00:00
Howard Chu
854b433489
Fix X-ORDERED SIBLINGS
2005-04-21 06:39:58 +00:00
Pierangelo Masarati
08a6909f73
add basic support for retry; protect internal bind behind mutexes; rework search, review candidate selection; minor cleanup. Passes concurrency test036
2005-04-21 03:17:31 +00:00
Pierangelo Masarati
471f4772a0
cleanup connection locking
2005-04-21 00:49:35 +00:00
Pierangelo Masarati
c3fd851a59
slightly reduce malloc overhead; minor cleanup
2005-04-20 18:52:10 +00:00
Howard Chu
3f542e1868
Fixes for ordered deletes
2005-04-19 18:37:39 +00:00
Howard Chu
b5ef8ea6f4
More modify support. ACL editing works.
2005-04-19 16:39:48 +00:00
Pierangelo Masarati
410638fda1
fix memory leak (ITS#3669)
2005-04-19 14:31:07 +00:00
Pierangelo Masarati
1dbf872d61
set deref
2005-04-18 09:16:50 +00:00
Pierangelo Masarati
f6d136a99a
fix overlay access control; cleanup
2005-04-18 09:16:26 +00:00
Pierangelo Masarati
f2c4803dbd
someone (e.g. an overlay) might muck with this data (e.g. remove a modification from the list...)
2005-04-17 19:12:46 +00:00
Pierangelo Masarati
623615e2f1
protect macro
2005-04-16 03:13:37 +00:00
Pierangelo Masarati
a141e3badf
enable use of asynchronous call to StartTLS
2005-04-16 02:56:46 +00:00
Pierangelo Masarati
c1b5e84e2d
a) implement a new candidate selection procedure, based on target naming
...
context checking and multiple match resolution via an internal search
b) move the candidate listing in a persistent per-thread buffer
c) fix bind procedure
d) minor cleanup
(a) and (b) should address ITS#2935; (b) and (c) should address ITS#3171
A test is also added
2005-04-16 02:25:41 +00:00
Howard Chu
41d37a335e
ITS#3660 fix BDB verbose calls
2005-04-16 01:24:00 +00:00
Howard Chu
3189027df7
ITS#3661 use MAXPATHLEN, not PATH_MAX
2005-04-15 22:15:46 +00:00
Howard Chu
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +00:00
Howard Chu
46bea91379
ITS#3657 added missing check
2005-04-15 03:57:57 +00:00
Howard Chu
90ccff7163
Fix config_build_entry, normalized attributes
2005-04-14 11:36:37 +00:00
Howard Chu
d1288bf70e
Ignore back-ldif if config directory is inaccessible
2005-04-14 11:16:20 +00:00
Howard Chu
d882ce511d
Generic ordered value support
2005-04-14 10:31:51 +00:00
Howard Chu
562916939e
Add STRIP macro to allow overriding strip on make install
2005-04-14 08:57:07 +00:00
Howard Chu
5ef9978afe
ITS#3616 don't index the dummy context entry
2005-04-13 19:05:56 +00:00
Howard Chu
d9ab73837a
ITS#3647 back-hdb fixes, create unsorted subtree IDLs and sort later.
2005-04-13 11:55:25 +00:00
Howard Chu
1afb2c8e6e
Store modification in back-ldif
2005-04-13 06:56:26 +00:00
Howard Chu
4f95c63211
Fix typo in OMsInteger macro
2005-04-13 06:44:32 +00:00
Howard Chu
60533ad197
More for Modify. Single-valued attrs working.
2005-04-13 06:38:00 +00:00
Howard Chu
1ad2e448c5
Basic Modify framework, still in progress
2005-04-13 05:36:13 +00:00
Howard Chu
18e19a3a52
ITS#3607 more enhancements
...
- recovers correctly, logs status
- for Quick mode, where no transactional environment exists, refuses to
start if the database is inconsistent
- warns of poor performance if DB_CONFIG is not present
- detects changes to DB_CONFIG and forces a recovery
2005-04-13 04:34:15 +00:00
Howard Chu
28af130e89
unifdef BDB_SUBDIRS, was never used
2005-04-13 04:08:43 +00:00
Pierangelo Masarati
a6f8cd07f6
partially revert previous commit (ITS#3652)
2005-04-13 01:03:46 +00:00
Pierangelo Masarati
4a5cef7472
fix access control when no backend could be found (might need work)
2005-04-13 00:01:53 +00:00
Pierangelo Masarati
ec0b3b4b3c
fix access control when no backend could be found (might need work)
2005-04-13 00:00:06 +00:00
Pierangelo Masarati
98294f1125
fix access unparse (ITS#3631)
2005-04-12 23:10:48 +00:00
Pierangelo Masarati
a85603c10b
more on ITS#3652
2005-04-12 22:38:54 +00:00
Pierangelo Masarati
2430af4e8b
fix slapacl when doing cross-database access checking
2005-04-12 22:13:42 +00:00
Pierangelo Masarati
da69eca714
more issues related to slapacl
2005-04-12 20:33:45 +00:00
Pierangelo Masarati
e9ab146a41
fix previous commit in case of access to non existent backend (e.g. rootDSE); add (and document) authzID/DN support
2005-04-12 19:36:56 +00:00
Pierangelo Masarati
387864a9f2
cleanup previous commit
2005-04-12 19:35:53 +00:00
Pierangelo Masarati
239f8fe2b2
fix the fix to previous commit
2005-04-12 17:11:30 +00:00
Pierangelo Masarati
42dda802ba
add comment (see ITS#3652)
2005-04-12 17:01:31 +00:00
Pierangelo Masarati
6f1ebb180e
fix previous commit (ITS#3654)
2005-04-12 16:35:52 +00:00
Howard Chu
bb9011b385
ITS#3648 use slapd runqueue for periodic sync
2005-04-12 12:35:00 +00:00
Howard Chu
fbce032cf2
Fix checkpoint task - must call stoptask before returning
2005-04-12 12:32:48 +00:00
Howard Chu
5aed76fe78
ITS#3573, mark pwdChangedTime, pwdGraceUseTime, pwdExpirationWarned,
...
pwdHistory, and pwdReset NO-USER-MODIFICATION
2005-04-12 10:58:50 +00:00
Howard Chu
d38707a952
Fix slapMode parens
2005-04-12 10:48:22 +00:00
Pierangelo Masarati
d2dd3a616c
hide changes behind specific #ifdef, conditioned by LDAP_DEBUG; always allow access on back-dnssrv
2005-04-12 01:07:30 +00:00
Pierangelo Masarati
f103c78530
cleanup previous commit
2005-04-12 00:34:13 +00:00
Pierangelo Masarati
15016154b6
add ACL hook to overlays
2005-04-12 00:24:04 +00:00
Pierangelo Masarati
50bb034d97
in case of success, release the entry only after global overlays have seen it on the way back
2005-04-12 00:20:16 +00:00
Pierangelo Masarati
159dad3d9f
iptr was unint'd
2005-04-11 21:44:29 +00:00
Pierangelo Masarati
91b4e991be
cleanup & silence warnings
2005-04-11 21:35:34 +00:00
Pierangelo Masarati
e17ec4eb52
call frontend's be_unbind, if any, to honor hooks registered by global overlays (ITS#3649)
2005-04-11 19:12:30 +00:00
Howard Chu
b0627689e8
ITS#3647 fix hdb dn2idl SEGV
2005-04-11 04:00:08 +00:00
Pierangelo Masarati
5affbfa428
add SASL bind for acl-authc; use slap_bindconf
2005-04-10 23:44:06 +00:00
Pierangelo Masarati
c1885efd83
more bindconf cleanup
2005-04-10 23:43:17 +00:00
Pierangelo Masarati
f7ead8f919
apply naming scheme to global/database schema
2005-04-10 22:27:50 +00:00
Kurt Zeilenga
3e800f20bd
<limits.h> cleanup && ITS#3643
2005-04-10 19:32:14 +00:00
Pierangelo Masarati
3546934005
same for objectClass; improve previous commit
2005-04-10 15:40:15 +00:00
Pierangelo Masarati
fa4b1c69d7
Added further consistency checks and a new schema parse error value
...
which should help in debugging schema development for back-config.
The check essentially verifies, when a duplicate attributeType is found,
that the new attributeType definition is an exact duplicate of the
definition already present in the schema.
2005-04-10 15:14:13 +00:00
Pierangelo Masarati
f1870628be
clarify comment
2005-04-10 09:54:21 +00:00
Pierangelo Masarati
53ce94a25d
protect all occurrences of ACL_DISCLOSE
2005-04-09 17:00:40 +00:00
Pierangelo Masarati
59c40035fd
cleanup
2005-04-09 16:50:07 +00:00
Howard Chu
e2a3fc3af3
Preserve OID macros for display in back-config
2005-04-09 16:13:04 +00:00
Pierangelo Masarati
58d4f7fc20
base64 encode passwords in back-config
2005-04-09 15:19:36 +00:00
Howard Chu
a2a28f7b95
ITS#3616 allow adding entry with zero-length DN if the suffix is zero-length
2005-04-09 11:28:06 +00:00
Howard Chu
7aac82d31c
ITS#3616 allow adding entry with zero-length DN if the suffix is zero length
2005-04-09 11:27:35 +00:00
Howard Chu
335e8a8ba7
Don't do ctxcsn checks in Tool mode, don't generate ctxcsn if it's missing
...
and we're also a consumer.
2005-04-09 11:26:31 +00:00
Howard Chu
20eaae2c7c
Silence warnings in prev commit
2005-04-09 11:21:08 +00:00
Howard Chu
f43086d1c1
ITS#3616 fixes for zero-length DN entry. generate context entry on the
...
fly if a modify is attempted and it does not exist.
2005-04-09 11:15:05 +00:00
Howard Chu
90d9791047
ITS#3616 use fake context entry if suffix is empty.
2005-04-09 10:01:13 +00:00
Howard Chu
632d7186c0
Don't crash on update_ctx if context entry has no contextCSN
2005-04-09 10:00:15 +00:00
Howard Chu
0c0cb6a924
ITS#3616 skip naming checks for entry with zero-length DN
2005-04-09 09:59:40 +00:00
Howard Chu
d9df909ba4
ITS#3638 Init ids to zero in bdb_dn2idl
2005-04-09 07:45:14 +00:00
Howard Chu
e90f933e8c
ITS#3646 allow default index
2005-04-09 07:32:51 +00:00
Howard Chu
26a101edce
ITS#3644 include limits.h in config.h, set PATH_MAX in config.h
2005-04-09 06:35:28 +00:00
Pierangelo Masarati
86b697f236
further cleanup; plug memory leak?
2005-04-09 01:00:53 +00:00
Howard Chu
dbb5d00908
ITS#3267 add a comment
2005-04-09 00:56:30 +00:00
Howard Chu
546bc9cf19
ITS#3267 fix out-of-order slapadd
2005-04-09 00:38:18 +00:00
Pierangelo Masarati
14b2b4de13
cleanup
2005-04-09 00:29:06 +00:00
Pierangelo Masarati
09e4da6bef
check parameters
2005-04-09 00:11:31 +00:00
Pierangelo Masarati
b109d018eb
honor disclose
2005-04-08 23:33:03 +00:00
Pierangelo Masarati
64ae69f6df
honor disclose and search access of searchBase; fix potential lock issue; honor abandon
2005-04-08 23:20:37 +00:00
Pierangelo Masarati
9428882682
further improve previous fix
2005-04-08 22:11:56 +00:00
Pierangelo Masarati
7d958d9773
further improve previous fix
2005-04-08 22:06:06 +00:00
Pierangelo Masarati
914f47f253
improve previous fix; return LDAP_REFERRAL to avoid returning result multiple times
2005-04-08 21:58:58 +00:00
Pierangelo Masarati
59b96206a8
cleanup sr_ref
2005-04-08 21:38:38 +00:00
Jong Hyuk Choi
8b53a1f0bb
malloc cleanup
2005-04-08 19:39:58 +00:00
Pierangelo Masarati
889ce515ad
save a malloc; some more cleanup
2005-04-08 19:17:51 +00:00
Pierangelo Masarati
bc97f801bf
fix previous commit
2005-04-08 00:19:01 +00:00
Pierangelo Masarati
4abbf9c610
implement add/delete granularity in write access (ITS#3631)
2005-04-08 00:18:24 +00:00
Pierangelo Masarati
5807c2b379
add dynlist build stuff
2005-04-07 23:51:31 +00:00
Pierangelo Masarati
22490d016a
add dynlist build stuff
2005-04-07 23:35:36 +00:00
Pierangelo Masarati
6e2c78c309
add dynlist.c from SysNet's repository; needs build stuff (when mature)
2005-04-07 22:42:44 +00:00
Pierangelo Masarati
b94a776870
document option '-F'
2005-04-07 20:12:57 +00:00
Howard Chu
9e9e3c988a
Fix access error return
2005-04-07 19:54:37 +00:00
Pierangelo Masarati
d213e99443
line up usage message
2005-04-07 19:32:50 +00:00
Howard Chu
931d7f4a95
Ignore include file records when loading LDIF tree, their contents
...
have already been incorporated into the LDIF.
2005-04-07 05:32:21 +00:00
Howard Chu
15fe667281
On add, sort attributes in schema order to enforce config sequencing
2005-04-07 05:23:23 +00:00
Kurt Zeilenga
b425b15fc8
Improved log message when cannot find entry of desired class
2005-04-07 00:54:06 +00:00
Pierangelo Masarati
0220a25f05
use alias name instead of column name in order by clause (ITS#3629)
2005-04-04 17:41:29 +00:00
Pierangelo Masarati
f1698e30f5
update diagnostics and man pages
2005-04-04 12:24:50 +00:00
Pierangelo Masarati
e0fd9ebf14
cleanup previous commits
2005-04-04 11:19:21 +00:00
Pierangelo Masarati
f43f7b1bfb
cleanup listener permissions
2005-04-04 10:42:50 +00:00
Howard Chu
bf0373b486
Add conn->c_sasl_authz_dn, store SASL authzDN separately from authcDN
2005-04-03 09:38:53 +00:00
Pierangelo Masarati
3eb87b2faa
implement "realdn" by clause in ACLs (ITS#3627; accounting for Howard's remarks)
2005-04-03 01:59:03 +00:00
Pierangelo Masarati
fe1b73c712
implement checking of the whole target entry if no attributes are specified (ITS#3624)
2005-04-03 01:20:36 +00:00
Pierangelo Masarati
f1e2d35bd6
rework few members of slap_bindconf; silence few warnings
2005-04-02 01:33:48 +00:00
Pierangelo Masarati
a736b1041e
clarify the usage of dnParent( dn, dn )
2005-04-01 23:58:38 +00:00
Pierangelo Masarati
8e19437ddc
allow slapdn to return the DN in pretty/normal only mode, without diagnostics, to be used as filter (should allow reading from stdin as well)
2005-04-01 12:59:26 +00:00
Pierangelo Masarati
ae3f784d5b
fix database operations in tool mode (ITS#3622)
2005-04-01 12:20:02 +00:00
Howard Chu
f9917a9c16
Truncate \r if it appears at end of DB_CONFIG lines
2005-04-01 12:06:46 +00:00
Howard Chu
bff244da5b
Add dbconfig directive for creating/writing the DB_CONFIG file
2005-04-01 11:26:43 +00:00
Howard Chu
04f6efbe1c
ITS#3607 more for Win32 portability
2005-04-01 08:10:26 +00:00
Howard Chu
18d1821b1f
ITS#3607, added Win32 lock support
2005-04-01 06:10:06 +00:00