Howard Chu
e49c13b874
More refresh working...
2004-11-21 18:25:02 +00:00
Howard Chu
884ab2e0c7
Getting refresh working
2004-11-21 17:59:21 +00:00
Howard Chu
8632d8cd04
BDB 4.3 compatibility - errcall prototype
2004-11-21 16:50:24 +00:00
Howard Chu
70d3e8f102
Don't bother including <sys/epoll.h> if we're not using epoll.
2004-11-21 02:18:26 +00:00
Pierangelo Masarati
f93d4a31e8
allow a "users" type in ACI
2004-11-20 14:07:07 +00:00
Pierangelo Masarati
cc0353610f
more cleanup and ITS number
2004-11-20 12:12:57 +00:00
Pierangelo Masarati
c75386a279
cleanup fix to ITS#3303
2004-11-20 12:07:39 +00:00
Pierangelo Masarati
40762c524a
fix ITS#3303
2004-11-20 11:55:46 +00:00
Pierangelo Masarati
1e650374c2
add more semantics to the "type" field; fix a bug in anonymous operations; treat children aci_mask() as internal searches
2004-11-20 11:45:05 +00:00
Pierangelo Masarati
e79fbb88cf
move ACIs under a dynamic infrastructure that allows run-time loadable custom access control logic (needs work)
2004-11-20 01:27:03 +00:00
Howard Chu
2a50cbffd1
Use avl_find2, not avl_find
2004-11-20 00:55:58 +00:00
Howard Chu
87c74c2d52
Cleanup, delete test define
2004-11-19 23:45:31 +00:00
Howard Chu
d7c5ccabe9
Use exop_is_write() macro
2004-11-19 23:27:02 +00:00
Howard Chu
59b50101bd
Overlay for serializing modifications of a specific entry without
...
using backend-specific locks
2004-11-19 23:22:49 +00:00
Howard Chu
c8f49d0337
Add SLAP_EXOP_WRITES flag, expose flags in Operation,
...
add exop_is_write() macro for detecting exops that modify a target entry
2004-11-19 22:19:13 +00:00
Howard Chu
c7a8625da7
Fix waking test
2004-11-19 00:13:00 +00:00
Howard Chu
f0372748e8
Fix prev commit
2004-11-18 23:08:57 +00:00
Howard Chu
f825367acf
Check for sys/epoll.h
2004-11-18 22:07:37 +00:00
Howard Chu
fb7a5d7a55
shutdown on failure in epoll_ctl when adding a socket...
2004-11-18 19:29:24 +00:00
Howard Chu
bf0d729454
Fix prev commit, didn't mean to have HAVE_EPOLL hardcoded
2004-11-18 19:15:21 +00:00
Howard Chu
495ea2c13c
epoll support works
2004-11-18 19:06:14 +00:00
Howard Chu
b4e10e194d
Fix epoll compilation
2004-11-18 17:27:43 +00:00
Howard Chu
b7d4e1a5f1
First pass at macro-izing event handling method. Still only supports
...
select(). If you think this is too ugly, feel free to revert...
2004-11-18 16:41:04 +00:00
Howard Chu
0464155205
Allow a small number of waking events to be outstanding, not just 1
...
(chose 5 arbitrarily)
2004-11-18 15:40:49 +00:00
Howard Chu
69dc60e5ca
Count writers, don't pass w fd_set if there are none
...
Deleted broken/unused FD_MANUAL_COPY code
2004-11-18 00:19:52 +00:00
Pierangelo Masarati
f1187e4165
the caching database may need to inherit ACLs and limits from the proxy
2004-11-17 21:38:14 +00:00
Howard Chu
ecf5581f0d
Fix include path for backend.h when using separate object directory
2004-11-17 20:22:46 +00:00
Pierangelo Masarati
6ff5fce743
FIXME: needs work/cleanup
2004-11-17 19:42:19 +00:00
Pierangelo Masarati
6eec000889
improve diagnostics
2004-11-17 17:55:44 +00:00
Pierangelo Masarati
dd18c8b2a4
revert last commit
2004-11-17 15:56:25 +00:00
Howard Chu
f1ae2e63c1
Fix BDB 4.3 fasttool, flag must be set before opening environment
2004-11-17 15:12:31 +00:00
Pierangelo Masarati
262df940f1
cleanup previous commit
2004-11-17 15:05:59 +00:00
Pierangelo Masarati
bc478dee46
log the right function names
2004-11-17 14:53:03 +00:00
Pierangelo Masarati
437bd421bb
test "entry" as default attribute
2004-11-17 13:43:04 +00:00
Pierangelo Masarati
c7d2cf91fd
cleanup and line up with code
2004-11-16 22:14:21 +00:00
Howard Chu
2415f5085d
Avoid filling the wake_sds when massive numbers of connections close at once.
2004-11-16 20:26:50 +00:00
Pierangelo Masarati
184fc4878a
more on ITS#3396: note that the filter is mandatory, and that the protocol must be ldap://
2004-11-16 18:57:40 +00:00
Pierangelo Masarati
227961178e
fix ITS#3396 (filter in URI replacement must be present)
2004-11-16 18:43:48 +00:00
Pierangelo Masarati
947268c5ee
partially revert previous commit (the "creator" special DN pattern is redundant as "dnattr" is more expressive
2004-11-15 22:57:03 +00:00
Pierangelo Masarati
064eb88ef8
move special dn patterns to style enum; add creator special dn pattern
2004-11-15 22:15:28 +00:00
Pierangelo Masarati
78ddb88960
minor cleanup
2004-11-15 22:10:10 +00:00
Pierangelo Masarati
b29bf83e7e
remove back-*/external.h
2004-11-15 19:45:49 +00:00
Pierangelo Masarati
fcf89c9a3d
add directory in labeledURI for back-bdb/hdb; put overlays in database entry's children
2004-11-15 15:46:56 +00:00
Pierangelo Masarati
2d5ec082dd
cleanup
2004-11-15 14:17:08 +00:00
Pierangelo Masarati
5a91da6624
don't list multiple occurrences of the same overlay
2004-11-15 14:13:54 +00:00
Pierangelo Masarati
ee4c10d5d0
allow backends to automatically install overlays; issue warnings in case of duplicates (fixes ITS#3395 for cases (1.a), (1.b) and (2) simultaneously)
2004-11-15 10:28:33 +00:00
Howard Chu
04b078d6eb
Fix prev commit. I wonder if we should convert the fdset bitvector into
...
an array like winsock does. That would speed up response time for small
number of connections with large FD_SETSIZE, but probably equalize out
as the number of active connections goes up. ??
2004-11-15 04:05:32 +00:00
Howard Chu
a59243ceee
Slight tweak for select descriptor checking
2004-11-14 21:27:53 +00:00
Sang Seok Lim
a90e63fde0
ComponentFilterMatch support for userCertificate
2004-11-14 20:11:38 +00:00
Pierangelo Masarati
9c550e7235
first step towards removing back-*/external.h
2004-11-13 18:52:44 +00:00
Pierangelo Masarati
cd35386935
fix ITS#3391
2004-11-13 18:40:16 +00:00
Pierangelo Masarati
9cff3e39d8
inherit from back-ldap
2004-11-13 18:36:02 +00:00
Pierangelo Masarati
158067a46e
sanity check
2004-11-13 17:27:15 +00:00
Pierangelo Masarati
db4f223c66
improve overlay helpers
2004-11-13 17:20:24 +00:00
Pierangelo Masarati
7ff445d8ae
further cleanup
2004-11-13 15:10:47 +00:00
Pierangelo Masarati
f036fff9e5
further cleanup
2004-11-13 14:57:39 +00:00
Pierangelo Masarati
363fdcd951
no longer required (moved to rwm overlay)
2004-11-13 14:50:34 +00:00
Pierangelo Masarati
253266ef07
import stuff removed from back-ldap
2004-11-13 14:45:18 +00:00
Pierangelo Masarati
f176935a58
remove rewrite stuff -- now delegted to rwm overlay
2004-11-13 14:43:30 +00:00
Howard Chu
3cfbe2ec29
fasttool: BDB 4.3 uses DB_LOG_INMEMORY instead of DB_TXN_NOT_DURABLE
2004-11-13 13:23:33 +00:00
Howard Chu
ab25b43364
Update BDB 4.3 errcall prototype again to silence warnings
2004-11-13 13:22:48 +00:00
Pierangelo Masarati
d7bdb8cb24
disable referral rewrite in default suffix massage
2004-11-13 12:15:40 +00:00
Pierangelo Masarati
34478b3ca6
more on monitor customization
2004-11-12 12:54:42 +00:00
Pierangelo Masarati
5d99b9d747
cleanup
2004-11-12 12:53:19 +00:00
Pierangelo Masarati
f41f1aaac0
initialize var
2004-11-12 12:52:42 +00:00
Pierangelo Masarati
166f9afa34
check validity of naming context
2004-11-12 12:51:53 +00:00
Pierangelo Masarati
018526ff14
fix spurius noSuchObject when base=suffix
2004-11-12 12:51:16 +00:00
Pierangelo Masarati
5b67eecb45
don't hijack members of op for temporaries...
2004-11-12 12:49:43 +00:00
Pierangelo Masarati
7bee593572
cleanup
2004-11-12 12:46:30 +00:00
Pierangelo Masarati
ab94342cc6
silence warnings
2004-11-12 12:45:40 +00:00
Pierangelo Masarati
dd367a2b78
make sure we're comparing the same database
2004-11-11 13:12:34 +00:00
Pierangelo Masarati
91f2a8bc46
remove backed-out code from previous commit
2004-11-11 09:43:15 +00:00
Pierangelo Masarati
79f744f30b
rework static backend initialization
2004-11-11 00:39:19 +00:00
Pierangelo Masarati
be32dce97f
rework static backend initialization
2004-11-11 00:38:11 +00:00
Pierangelo Masarati
0e83717e80
fix return code; fix test (please review)
2004-11-11 00:32:47 +00:00
Jong Hyuk Choi
62febe5dff
fix slap_sl_free() calls in pre / post read controls
2004-11-10 21:38:41 +00:00
Howard Chu
616d7962ef
Fix bind_anon keyword
2004-11-10 18:20:49 +00:00
Pierangelo Masarati
f06f2a6aec
fix ITS#3350 (rewrite/remap will be replaced by the rwm overlay)
2004-11-10 09:56:55 +00:00
Pierangelo Masarati
b349604352
fix ITS#3387
2004-11-10 09:45:02 +00:00
Jong Hyuk Choi
71ac7140b6
fix suspicious capitalization to make subentries control work properly
2004-11-10 03:52:42 +00:00
Jong Hyuk Choi
b6f77e2936
ldapsync fix for recursive deletion (ITS#3385)
2004-11-10 03:52:12 +00:00
Howard Chu
73a666778e
Delete incorrect comments
2004-11-10 01:29:51 +00:00
Howard Chu
e0726c2b55
A bit more...
2004-11-09 03:12:03 +00:00
Pierangelo Masarati
70884b8860
allow to register entries and entry callbacks; radical namespace cleanup
2004-11-08 18:52:27 +00:00
Pierangelo Masarati
c8fd4a203b
allow creation of subsystems whatever order the databases appear
2004-11-08 11:33:53 +00:00
Pierangelo Masarati
3743579870
fix typo in rww; general cleanup
2004-11-08 10:55:33 +00:00
Pierangelo Masarati
b3ec75d032
rework subsystem initialization (can be added dynamically...)
2004-11-08 10:10:15 +00:00
Howard Chu
9dd58533ca
Better cache counting, partially revert 1.85
2004-11-08 07:18:33 +00:00
Howard Chu
504d7ea261
Assist in cache debugging
2004-11-08 04:23:37 +00:00
Ralf Haferkamp
c7a2f95493
Plugged memory leak
2004-11-05 15:29:59 +00:00
Howard Chu
e4c231fe0c
Only use libltdl #if SLAPD_MODULES is defined, otherwise ignore
...
external pwdCheckModules.
2004-11-05 08:57:05 +00:00
Howard Chu
4e56d4b75f
ITS#3376 fix subordinate keyword
2004-11-05 07:51:33 +00:00
Kurt Zeilenga
b29e311ae7
unifdef -DBDB_ALIASES
...
delete dead code
2004-11-05 07:48:15 +00:00
Howard Chu
1d35c8f8ec
ITS#3376 Fix prev commit, handling of replogfile
2004-11-05 07:10:44 +00:00
Howard Chu
db8debbfc8
ITS#3376 table-driven config engine
2004-11-05 06:22:04 +00:00
Howard Chu
9ebcc83796
Minor cleanup of prev commit
2004-11-04 03:10:03 +00:00
Howard Chu
3d23a4d2c5
Consolidate redundant code
2004-11-04 02:59:34 +00:00
Ralf Haferkamp
93cec8b694
- Added autoconf test for CRL capable OpenSSL Version
...
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Howard Chu
aa7ed3d8c8
Incomplete skeleton
2004-11-02 04:51:06 +00:00
Sang Seok Lim
55b4021183
Misc cleanup
2004-11-01 19:10:54 +00:00
Sang Seok Lim
2ed313e7f2
Bug fix: return value check
2004-11-01 18:59:33 +00:00
Howard Chu
14b0d4fdad
Fix hdb cache kid counts
2004-10-31 22:07:15 +00:00
Howard Chu
7087ffa2ca
ITS#3356 - when purging cache, free entryInfo if node has no children
2004-10-31 13:04:27 +00:00
Howard Chu
501f749c05
Don't access entry after commit; it may be gone if the cache is full
2004-10-30 23:48:26 +00:00
Pierangelo Masarati
3b46fd7cde
silence warnings (some cleanup required)
2004-10-30 11:40:40 +00:00
Jong Hyuk Choi
42f8426b5b
patch for ITS#3379
2004-10-28 21:40:42 +00:00
Ralf Haferkamp
5704a2ef6e
CRL checking options for ldap.conf and slapd.conf
2004-10-28 18:50:38 +00:00
Jong Hyuk Choi
1d618e0964
move componentCertificate to test.schema for now
2004-10-27 22:01:19 +00:00
Kurt Zeilenga
33f8164c58
Remove 'componentCertificate', doesn't belong in 'core.schema'.
2004-10-27 21:37:40 +00:00
Sang Seok Lim
20965abe9c
remove a componentCertificate attribute from the organizationalPerson objectclass
2004-10-27 20:14:29 +00:00
Sang Seok Lim
2353678647
Header file for component.c
2004-10-27 19:53:26 +00:00
Sang Seok Lim
71e78dd7f9
Component Matching module
...
See "contrib/slapd-modules/comp_match/README" to understand
what's the purpose of this patch is and how to use it.
2004-10-27 19:37:02 +00:00
Howard Chu
02cf375603
ITS#3369 - be is seldom NULL, now test for be == frontendDB
2004-10-27 16:28:12 +00:00
Howard Chu
0c9c90a3e9
ITS#3365 - fix leaking bdb locks when evaluating dynamic groups
2004-10-27 14:52:18 +00:00
Howard Chu
e7ec96fc6d
ITS#3358 - make bdb_cache_lru_add skip entries that are being deleted
2004-10-27 14:01:12 +00:00
Pierangelo Masarati
fbe8243b86
warn when using "replogfile" or "replica" inside monitor database
2004-10-27 11:34:27 +00:00
Kurt Zeilenga
30fdb0e0ca
Fix LDAP Intermediate Response tag values.
...
with code to accept old values.
2004-10-20 21:47:40 +00:00
Kurt Zeilenga
a99731b001
Fix typo
2004-10-19 03:06:16 +00:00
Kurt Zeilenga
e983616d75
More NEW_LOGGING removal
2004-10-19 01:40:38 +00:00
Howard Chu
e6a12272cc
BDB 4.3 compatibility
2004-10-16 22:10:32 +00:00
Howard Chu
84ce549016
define DB_VERSION_FULL to simplify version checks
2004-10-16 21:59:58 +00:00
Howard Chu
1d0e99858a
Free old op->o_sync_csn before allocating new one. (Internal operations
...
using the same op structure, such as in refint overlay, cause a memleak
otherwise.) Probably should be using tmpmem for this.
2004-10-16 21:32:45 +00:00
Pierangelo Masarati
71035d3aa1
fix typo when string keys are used
2004-10-16 16:16:57 +00:00
Jong Hyuk Choi
6db389efd9
further cleanup of search data upon exit, abandon, cancel
2004-10-16 16:10:00 +00:00
Howard Chu
ca0bf91bba
BDB 4.3 compatibility, if the reader TXN is deadlocked we must abort
...
and recreate it.
2004-10-16 13:07:01 +00:00
Jong Hyuk Choi
0af878ac3f
syncrepl consistency patch: utilize BDB txn rollback
2004-10-12 17:53:50 +00:00
Kurt Zeilenga
38c7e86d67
ITS#3311: check sasl_auxprop_add_plugin return
...
cleanup
2004-10-11 20:52:31 +00:00
Jong Hyuk Choi
4efd705cc3
syncrepl consistency patch
2004-10-09 09:26:16 +00:00
Kurt Zeilenga
03712dcc3e
Conditionally add SIGTRAP signal handler
2004-10-09 04:55:41 +00:00
Kurt Zeilenga
2ad0485ea5
ITS#3362: Fix typo in dNSDomain def'n.
2004-10-08 17:41:02 +00:00
Pierangelo Masarati
9eabe1365b
improve memory allocation in sets
2004-10-08 15:07:22 +00:00
Pierangelo Masarati
56ee97ba1b
further cleanup of sets
2004-10-08 00:54:19 +00:00
Pierangelo Masarati
2f6f6f6a07
"optimize" sets: since the attr part must be an attribute, use the AttributeDescription
2004-10-08 00:28:16 +00:00
Pierangelo Masarati
559cf8bfb1
revert previous commit
2004-10-08 00:27:26 +00:00
Pierangelo Masarati
58edfcca31
improve previous commit
2004-10-07 23:38:17 +00:00
Pierangelo Masarati
aa2e9413f1
fix previous commit
2004-10-07 22:31:36 +00:00
Pierangelo Masarati
e5ade14256
improve previous commit; now attrs in URI, if any, are added to that in the [<dn>]/<attr> form
2004-10-07 20:44:01 +00:00
Pierangelo Masarati
6a9bf9765e
add URI search to sets; documentation to come...
2004-10-07 17:05:48 +00:00
Howard Chu
1df6d76269
Add ppolicy_hash_cleartext config keyword, hash Adds as well as Modifies.
...
Changed check_pw_quality callback to pass entry's Attributes in final arg.
2004-10-07 04:07:17 +00:00
Howard Chu
374cd32eb6
Add a retry for entry_get too. (oops)
2004-10-07 02:55:51 +00:00
Pierangelo Masarati
2b74930cb0
s/free/slap_sl_free/
2004-10-06 23:53:30 +00:00
Pierangelo Masarati
4afaf4042a
minor cleanup
2004-10-06 22:20:30 +00:00
Pierangelo Masarati
4204aee7b9
extend the availability of submatches to non-regex DN patterns
2004-10-06 22:03:33 +00:00
Howard Chu
95550f21a2
Fix prev commit
2004-10-06 07:26:35 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Pierangelo Masarati
02828499f0
cleanup & silence warnings
2004-10-05 21:41:41 +00:00
Jong Hyuk Choi
db4bc08d8c
misc cleanup
2004-10-05 00:33:00 +00:00
Jong Hyuk Choi
4241325600
simplify attrs parsing and process objectClass differently
2004-10-05 00:30:15 +00:00
Pierangelo Masarati
2ccbe388b5
fix global configuration patch (ITS#3353)
2004-10-04 21:05:13 +00:00
Pierangelo Masarati
bf8e890ea7
fix global configuration patch (ITS#3353)
2004-10-04 20:57:14 +00:00
Pierangelo Masarati
0c1f1f959f
minor cleanup
2004-10-04 20:55:09 +00:00
Pierangelo Masarati
6ef9689b3f
fix string_expand error cases; cleanup
2004-10-04 20:52:58 +00:00
Pierangelo Masarati
e10186f1a5
add support for entryUUID and entryCSN operational attributes (entryUUID is honored in filters as well)
2004-10-04 01:19:53 +00:00
Pierangelo Masarati
87a63d3b5d
improve previous commit; consistently use dn/ndn; add support for LDAP_SCOPE_SUBORDINATE
2004-10-03 21:08:54 +00:00
Pierangelo Masarati
796dce8657
add (and honor) a (configurable) baseObject to workaround ldap_entries view for RDBMSes that do not support UNION in views
2004-10-02 17:33:32 +00:00
Pierangelo Masarati
fa8ee16d38
cleanup naming; minor fixes
2004-10-02 12:05:42 +00:00
Sang Seok Lim
258d0d3da2
Bug fix : msiing SLAPD_GLOBAL
2004-10-02 01:01:00 +00:00
Howard Chu
bbe986b94e
Add a retry for failed connections
2004-10-01 12:00:41 +00:00
Howard Chu
55f12a7eee
Add a retry for failed connections
2004-10-01 11:16:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Pierangelo Masarati
60d4aaba54
fix, rework and optimize search base; allow orphaned entries addition
2004-09-28 23:27:39 +00:00
Howard Chu
62b6b32633
Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
...
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Howard Chu
e014144f98
Move time parsers from ppolicy.c to liblutil; preserve greater precision
2004-09-28 12:23:37 +00:00
Howard Chu
fc44ed4593
Tweak exact hashing in prev commit
2004-09-28 04:13:09 +00:00
Howard Chu
bf7c7a22d6
ITS#2661: configurable substring index lengths
...
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Pierangelo Masarati
39195e48a3
minor cleanup
2004-09-27 23:04:34 +00:00
Pierangelo Masarati
0fc89b6203
more cleanup
2004-09-27 22:16:21 +00:00
Pierangelo Masarati
b2cd66c0d8
fix ITS#3346
2004-09-27 22:04:20 +00:00
Jong Hyuk Choi
e8f30c8d0b
preserve attrs="*"
2004-09-27 16:16:53 +00:00
Pierangelo Masarati
c2c27c6839
fix csne destroy
2004-09-27 08:11:04 +00:00
Pierangelo Masarati
d2c08ed8d3
misc syncrepl cleanup/fixes
2004-09-26 23:00:35 +00:00
Pierangelo Masarati
d026e2c9f7
preformat "conn=%lu op=%lu"
2004-09-26 23:00:00 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Pierangelo Masarati
2e9d64741c
put overlays in alphabetical order
2004-09-26 22:53:54 +00:00
Pierangelo Masarati
b09663d784
consistently check return value of BindParam*; rework macros to ease parameter binding; always add data length to string values (may need to specialize for integers)
2004-09-25 18:11:06 +00:00
Pierangelo Masarati
02cfafdded
add column size to SQLBindParameter when SQL_CHAR parameter type is used
2004-09-25 11:38:00 +00:00
Kurt Zeilenga
f0190506f1
ITS#3344: initialize threads early
2004-09-25 05:36:06 +00:00
Jong Hyuk Choi
292c568f36
a fix to prev commit
2004-09-25 03:21:30 +00:00
Kurt Zeilenga
31a6de16b0
ITS#3345: reorder includes to workaround Pth signal redefine problem
2004-09-25 01:47:02 +00:00
Jong Hyuk Choi
dda85fafe9
rework of slap_mods2entry dup
2004-09-24 08:19:50 +00:00
Jong Hyuk Choi
c7d4f2841e
back out prev commit
2004-09-24 07:26:44 +00:00
Jong Hyuk Choi
e4d199d7bb
A follow-on commit to the previous @oc support change to use anlist
2004-09-23 19:23:17 +00:00
Jong Hyuk Choi
5c0581b184
Modified @oc supprot code to the share anlist routines; Revised anlist routines
2004-09-23 02:48:14 +00:00
Pierangelo Masarati
0055675bfc
improve candidate selection when filtering by objectClass
2004-09-22 23:17:32 +00:00
Jong Hyuk Choi
a116c2fb5e
a memory fix for slap_mods2entry(): don't trim mods array - trim it outside
2004-09-21 03:08:07 +00:00
Howard Chu
89b03a1c7e
Make ppolicy_add consistent with ppolicy_modify - don't add pwdChangedTime
...
opattr on replicated entries.
2004-09-21 00:14:28 +00:00
Jong Hyuk Choi
34280359b5
misc bug fix for @oc support
2004-09-20 19:44:05 +00:00
Luke Howard
0ac9b6889e
Remove unused variable if not compiling with HAVE_TLS - NB slapd always
...
exposes register_certificate_map_function(), as better to return an error
if a plugin is compiled to use it and slapd is not built with HAVE_TLS
than failing with an unresolved symbol
2004-09-20 04:06:25 +00:00
Luke Howard
eb9720c802
Add register_certificate_map_function() native plugin API for registering
...
alternate X.509 peer normalization function
2004-09-20 03:52:39 +00:00
Kurt Zeilenga
2647a615ce
value_match cleanup
2004-09-18 06:04:57 +00:00
Kurt Zeilenga
7f773613f8
component cleanup
2004-09-18 02:32:06 +00:00
Jong Hyuk Choi
ffbb5d4ed2
*oc support in attr list
2004-09-18 02:07:41 +00:00
Kurt Zeilenga
d600afca9f
cleanup
2004-09-18 02:05:01 +00:00
Kurt Zeilenga
9c9d1917ce
ITS#3333 fix presence and substrings
2004-09-18 01:59:43 +00:00
Kurt Zeilenga
d4c7dfe847
cleanup
2004-09-18 01:19:07 +00:00
Kurt Zeilenga
ef1ebe0b2c
descriptors are case insenstive (ITS#3334)
2004-09-18 00:21:29 +00:00
Kurt Zeilenga
a997b94f1f
ITS#3333 fix for compare
...
filterentry cleanup
2004-09-17 22:07:29 +00:00
Kurt Zeilenga
9c5768cd8e
Initial ITS#3333 fix
...
(needs to be applied to other filter cases)
2004-09-17 21:43:28 +00:00
Sang Seok Lim
452fc403dd
Bug Fix : removing problematic counter increment
2004-09-17 16:49:38 +00:00
Jong Hyuk Choi
c60dca5c1e
free default_referral
2004-09-14 01:04:28 +00:00
Jong Hyuk Choi
86aa3728b9
referral mem leak fix
2004-09-14 01:03:08 +00:00
Jong Hyuk Choi
7dc0487341
support for syncrepl attr list in file (both attrs and exattrs)
2004-09-14 01:02:18 +00:00
Pierangelo Masarati
55e251e6e8
lots of cleanup; few improvements; fix RDN selection bug when creating connection dynamic entries; rework entries ordering - now it's more intuitive and regular; optimize counters update
2004-09-12 22:12:58 +00:00
Jong Hyuk Choi
1fe8f20516
release syncinfo mem upon syncrepl failure as well as shutdown
2004-09-11 22:37:21 +00:00
Kurt Zeilenga
444c49827c
Fix result codes
2004-09-11 20:01:03 +00:00
Pierangelo Masarati
9eca1bd75e
fix previous commit...
2004-09-11 17:46:00 +00:00
Pierangelo Masarati
c07979b968
fix previous commit when GMP is not defined
2004-09-11 17:29:05 +00:00
Pierangelo Masarati
c04bebe750
minor improvements
2004-09-11 16:16:41 +00:00
Pierangelo Masarati
a637926bf2
use GMP for multiple precision in counters
2004-09-11 16:15:53 +00:00
Pierangelo Masarati
7dc5a0bb83
fix negative counters; prepare for imrpved count of sent data
2004-09-11 11:05:41 +00:00
Pierangelo Masarati
48b7292fc6
blind update to new tests
2004-09-11 11:05:01 +00:00
Jong Hyuk Choi
98dc97bcb9
memory leak fixes
2004-09-11 02:02:09 +00:00
Kurt Zeilenga
3869e3b84d
Add localSSF slapd.conf(5) directive to set SSF associated
...
with ldapi:// sessions.
2004-09-10 22:35:24 +00:00
Kurt Zeilenga
0fa3715e04
ITS#3326: fix slaptest shutdown
2004-09-10 17:15:33 +00:00
Kurt Zeilenga
31cfbb90df
Use a statically allocated globals
...
Still failing on Freebsd 4.
2004-09-09 19:07:46 +00:00
Kurt Zeilenga
0b331b8159
changing a malloc to a calloc shouldn't change behavior, but
...
this change seems to causes test007 to fail on some systems
(e.g., FreeBSD 4).
2004-09-09 06:16:03 +00:00
Kurt Zeilenga
910076d26f
Add additional DN matching rules.
2004-09-09 03:56:58 +00:00
Kurt Zeilenga
741f9ea383
Add initial dnSubtreeMatch.
...
Should reuse other DN routines.
Need to add various other DN matching rule functions.
This commit, combined with entryDN and slapcat -a, should
fully address ITS#3112.
2004-09-09 02:07:27 +00:00
Kurt Zeilenga
f1f18f7b93
improve last commit
2004-09-08 21:53:46 +00:00
Kurt Zeilenga
c54a8de9c8
Fix entryDN matching
2004-09-08 21:51:12 +00:00
Kurt Zeilenga
cdd94c7aa1
Add "slapcat -a filter" support
2004-09-08 21:44:28 +00:00
Kurt Zeilenga
ee66a01b8c
Add entryDN MRA support. This is intended to be used:
...
(entryDN:isSubordinate:=dc=example,dc=net)
isSubordinate should be implemented in component matching terms
2004-09-07 21:10:28 +00:00
Kurt Zeilenga
f9c9219f98
Add presence and equality support for entryDN,
...
extensible matching (the main objective) coming soon.
(This stuff should really be table driven (for extensibility reasons).)
2004-09-07 20:58:46 +00:00
Kurt Zeilenga
f317696520
cleanup
2004-09-07 20:18:07 +00:00
Kurt Zeilenga
61d0fd3667
Fix OID assignment
2004-09-07 05:27:30 +00:00
Kurt Zeilenga
756a677482
entryDN is dynamic
2004-09-07 05:06:50 +00:00
Kurt Zeilenga
094bc99b83
Initial entryDN implementation.
...
Need to implement filter support (for entryDN and subschemaSubentry).
Fixed hasSubordinate assert() bug in entry filters
2004-09-07 05:00:33 +00:00
Kurt Zeilenga
7e2fe5babe
Use shtool(1) (to a limited degree, more use would simplify things)
...
Fix ITS#3285 (relative linking of slap tools).
2004-09-05 03:24:28 +00:00
Pierangelo Masarati
431acda61b
trying to make names consistent
2004-09-04 10:23:40 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Kurt Zeilenga
64c5fa4a9d
ITS#3320: 'restrict' cleanup
2004-09-03 21:49:13 +00:00
Jong Hyuk Choi
76dfffafe4
fix for test019 glitch
2004-09-03 12:16:15 +00:00
Jong Hyuk Choi
899848181d
added avl_free() at the end of do_syncrep2()
2004-09-02 18:12:37 +00:00
Howard Chu
88e2771bca
ITS#3309 better fix, add op->ord_csn in frontend and use it in backend.
2004-09-02 11:05:13 +00:00
Jong Hyuk Choi
320ab38e45
use of NULL ctx in slap_modrdn2mods
2004-09-01 16:27:19 +00:00
Jong Hyuk Choi
70fda7725a
revert prev commit to normalizers
2004-09-01 16:01:36 +00:00
Howard Chu
559b746437
Avoid gratuitous reindexing of cn and objectclass in syncrepl_updateCookie
2004-09-01 04:18:56 +00:00
Howard Chu
5c1c0902b4
ITS#3309 fix syncrepl psearch propagation of Delete operations
2004-09-01 03:23:36 +00:00
Kurt Zeilenga
17d920063a
subsequent allows/disallows directives should be additive
2004-09-01 00:34:34 +00:00
Kurt Zeilenga
1ece02dc7d
cleanup
2004-09-01 00:23:34 +00:00
Jong Hyuk Choi
6baa9b1e2b
use ch_malloc for normailzed values
2004-08-31 14:22:56 +00:00
Jong Hyuk Choi
e6df94946d
patch for ITS#3296 - do not use sl_malloc on normalized attr values
2004-08-31 13:47:33 +00:00
Kurt Zeilenga
7f22fd5b45
Add note about test.schema
2004-08-30 22:43:38 +00:00
Kurt Zeilenga
c01e9a109d
On second thought, reverse that commit.
...
Rather not promote use of the old schema.
2004-08-30 22:33:18 +00:00
Kurt Zeilenga
efbef99de7
krbName may be useful without old k4bind
2004-08-30 22:28:21 +00:00
Kurt Zeilenga
4d1e5d90a5
Zap old krb5-kdc schema.
2004-08-30 22:23:50 +00:00
Pierangelo Masarati
a469dc6741
fix previous commit
2004-08-30 07:30:01 +00:00
Jong Hyuk Choi
6f9025423f
ITS#3289 - exattrs support
2004-08-29 22:28:28 +00:00
Jong Hyuk Choi
a6c08d747f
Use global alloc for now
2004-08-29 20:01:21 +00:00
Jong Hyuk Choi
71f45bd40b
Further fixes for ITS#3297
2004-08-29 19:19:22 +00:00
Kurt Zeilenga
c449fdd217
TLS SSF does not imply a transport_ssf.
2004-08-28 21:58:20 +00:00
Kurt Zeilenga
89772e9bdd
Replace compfilter.schema with test.schema, which now
...
holds a single attribute type 'componentTest'. Fix
up test031 to avoid modification of standard schema.
(Not sure why this attribute is needed, tests likely
should operate on userCertificate and other existing
attributes which complex syntaxes.)
2004-08-28 19:41:13 +00:00
Kurt Zeilenga
fea393c077
cleanup
2004-08-28 19:26:59 +00:00
Kurt Zeilenga
b2aa91b22d
cleanup
2004-08-28 17:55:05 +00:00
Kurt Zeilenga
429be3c137
Add FIXME comment regarding improper return of unavailableCriticalExtension
...
Misc Clean.
2004-08-28 13:45:53 +00:00
Sang Seok Lim
d997105915
.conf and .schema files for test31-component-filter
2004-08-28 03:53:41 +00:00
Kurt Zeilenga
e2f2186aa0
Note fixme
2004-08-28 01:26:34 +00:00
Kurt Zeilenga
49bd9befa4
Referrals should not (except in special cases) be
...
returned for Bind operations, instead invalidCreditials
should be returned.
2004-08-28 01:08:24 +00:00
Kurt Zeilenga
f39d6f80fb
ITS#3275: fix logging
2004-08-28 00:50:15 +00:00
Howard Chu
81265a7872
fix uninit'd be_context_csn for syncrepl
2004-08-28 00:26:35 +00:00
Luke Howard
6cdaa19b96
Remove bogus SLAPI code path which special-cased modlist == NULL
...
This had the effect of setting the result code to LDAP_SUCCESS for modlist == NULL
even on a replica when an update-ref might be set. This was causing a plugin (that
implements the commit phase in a post-op plugin) to write to "read-only" replica.
2004-08-27 19:34:14 +00:00
Kurt Zeilenga
2782b6f46f
cleanup
2004-08-27 19:00:15 +00:00
Kurt Zeilenga
6cde4bdeb3
Move LDAP_COMP_MATCH define from ldap.h to slap.h
2004-08-27 18:53:44 +00:00
Luke Howard
410ca3d1a9
Allow mods to be NULL in slapi_int_ldapmods2modifications()
2004-08-27 17:27:09 +00:00
Luke Howard
8c764e8d63
Fix a SLAPI bug where slapd could crash if a preop plugin changed the mods
...
list and a subsequent plugin aborted the operation -- regardless of the
preop result the frontend must refetch the array of LDAPMods
2004-08-27 17:12:01 +00:00
Sang Seok Lim
78d08a8271
Misc Bug Fix:
...
- Remove unused variables
- Remove the attribute for component filter test in core.schema
2004-08-26 16:43:28 +00:00
Luke Howard
8d1f26b7b6
Check for opinfo->boi_txn before using it - sometimes it is NULL even if
...
opinfo isn't
2004-08-26 10:17:53 +00:00
Luke Howard
400458c9c5
Don't use SLAPI_TARGET_DN for group plugins - it is required elsewhere
2004-08-26 10:04:08 +00:00
Luke Howard
739dcf2193
boi_bdb must be set
2004-08-26 05:27:59 +00:00
Luke Howard
563f73b81d
backend_compute_output_attr() should use actual computed attribute type
...
returned by the plugin, rather than that requested by backend_attribute(),
for ACL checking.
They should of course be the same but this is the "correct" approach from
both a security and readability perspective
2004-08-26 05:18:33 +00:00
Luke Howard
815efedff5
Fix "FIXME" in slapi_attr_add_value() - store normalized value as well as
...
real value
2004-08-26 05:02:21 +00:00
Luke Howard
102cd721ef
Extend backend_attribute() to support computed attributes (SLAPI)
2004-08-26 05:02:01 +00:00
Luke Howard
5f6996c8bf
Add SLAPI_X_GROUP_TARGET_ENTRY so that group plugin can use target entry
2004-08-26 04:24:29 +00:00
Sang Seok Lim
2af6457771
This patch is for a component filter. please refer ITS#3260 for detail
...
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".
2004-08-26 00:06:39 +00:00
Howard Chu
05e7632c30
ITS#3301 fix prev commit, don't fail op on DB_NOTFOUND
2004-08-25 20:53:39 +00:00
Luke Howard
d45b89823f
Support pre-operation and post-operations for backend_group()
...
This allows computed attribute plugins to also provide their attributes to
the ACL engine, for example
2004-08-25 15:20:19 +00:00
Pierangelo Masarati
ba7bb04ed3
check if "rootdn" is defined
2004-08-25 14:29:40 +00:00
Howard Chu
5cba217006
ITS#3301 check for dn2entry failure
2004-08-25 13:55:55 +00:00
Luke Howard
2316461b93
Remove unused variable
2004-08-25 12:31:43 +00:00
Pierangelo Masarati
81b5755364
try with "order by"...
2004-08-25 12:09:05 +00:00
Luke Howard
ea6f5bad65
This patch fixes some subtle interactions between SLAPI and syncrepl. Due to
...
SLAPI always assigning connection and operation IDs of zero for internal
operations, such operations would cause a stale contextCSN to be returned from
slap_get_commit_csn(). As a result, SLAPI internal updates would be invisible
to replicas until an external update was made. Also, SLAPI internal operations
never called slap_graduate_commit_csn() which leaked pending CSNs.
Also included in this patch is a general cleanup of some of the SLAPI code.
Note that we need to use a separate mutex on conn_nextid to avoid a deadlock
where a post-operation plugin tries to acquire connections_mutex, having locked
the per-connection mutex, while the listener thread tries to acquire the
per-connection mutex (having locked connections_mutex). connection.c needs to
be fixed to acquire mutexes in the same order.
2004-08-25 11:52:55 +00:00
Pierangelo Masarati
e745d15f02
remove cruft
2004-08-25 11:32:47 +00:00
Pierangelo Masarati
53483e012d
more definitive improvements; now write operations are consistent; plugged some more leaks/invalid frees; tests are more complete. IBM db2 doesn't pass write test because the entries are written in a different order; need to write a script that sorts the results...
2004-08-25 10:41:13 +00:00
Pierangelo Masarati
752bffb16c
write test is almost working for ibmdb2 as well...
2004-08-24 17:08:30 +00:00
Pierangelo Masarati
d25ade71e9
need to perform a select after adds...
2004-08-24 15:37:10 +00:00
Pierangelo Masarati
aae3c074f1
cleanup
2004-08-24 15:16:06 +00:00
Pierangelo Masarati
aaf52b28ff
further fixes
2004-08-24 15:01:39 +00:00
Pierangelo Masarati
be3c14e4f4
ready for test...
2004-08-24 11:45:33 +00:00
Pierangelo Masarati
a8674f59d7
fix various issues; line up with new tests
2004-08-24 10:31:02 +00:00
Pierangelo Masarati
00f1c085cf
move call to frontend API
2004-08-24 09:29:11 +00:00
Pierangelo Masarati
23cbd59126
- proxy cache erroneously returns the filtering attributes
...
and the objectClass right after caching, even if not requested,
while subsequent searches are fine;
- the response callback needs be apended at the end of the
callback list, otherwise the resulting entries are cached
before other overlays can alter them
- the callback structure and its contents needs be freed
2004-08-24 09:24:55 +00:00
Pierangelo Masarati
809e623cd9
add paged results support to back-ldap
2004-08-24 09:19:33 +00:00
Luke Howard
4fdefa106f
ITS#3297 (double free)
2004-08-24 01:20:49 +00:00
Luke Howard
253f66041f
Harmonize bvptr2obj_copy() with values2obj_copy() - ie. don't fail if NULL
...
is passed in.
2004-08-23 03:59:07 +00:00
Pierangelo Masarati
19ea555ca3
blind update of IBM db2 example data
2004-08-21 09:48:49 +00:00
Pierangelo Masarati
b7c0b9ed7f
further improve tests; line-up with code
2004-08-21 09:45:14 +00:00
Pierangelo Masarati
6956e3d483
cleanup previous commit
2004-08-21 09:38:58 +00:00
Pierangelo Masarati
467524ef92
handle referrals correctly; allow to add suffix entry; fix multiple values add bug; cleanup
2004-08-21 09:38:08 +00:00
Jong Hyuk Choi
37db80eadb
attrs=*,+ becmoes the default behavior when attrs are not specified in syncrepl definition. When attrs are specified, operational attributes other than objectClass, structuralObjectClass, and entryCSN need to be explicitly specified to be included in the replication content.
2004-08-20 16:26:58 +00:00
Pierangelo Masarati
0ed0cd66bf
more on back-sql test
2004-08-20 16:12:49 +00:00
Pierangelo Masarati
f59089b5b0
now PostgreSQL seems to work...
2004-08-20 15:24:39 +00:00
Pierangelo Masarati
930f415673
update of RDBMS data for test031
2004-08-20 14:27:32 +00:00
Pierangelo Masarati
d12fdece77
allow to search for "auxiliary" objectClasses (i.e. those in ldap_entry_objclasses); allow to return all objectClasses including "auxiliary"; various cleanup
2004-08-20 12:06:03 +00:00
Pierangelo Masarati
6b8fd66364
split entry_free in entry_clean ...
2004-08-20 12:01:15 +00:00
Howard Chu
af8cb90ed8
ITS#3289 - add SLAP_AT_DYNAMIC flag for dynamically generated attributes.
...
Set flag for hasSubordinates and subschemaSubentry. Strip dynamic attributes
before storing entries in syncrepl.
2004-08-19 23:39:45 +00:00
Howard Chu
f2ee179c3f
ITS#3291 delay use of slap_known_controls until all configuration is done
2004-08-19 12:10:22 +00:00
Howard Chu
91033d6552
Reworked fix for ITS#3140 - add access parameter to backend_attribute
2004-08-18 17:14:22 +00:00
Howard Chu
d504ae047e
More for ITS#3288 be_pcl_mutex fixes
2004-08-18 16:43:19 +00:00
Howard Chu
c7313c09b4
More fixes for prev commit
2004-08-18 15:23:37 +00:00
Howard Chu
3081f2df88
Delete unused be_context_csn_mutex
2004-08-18 10:54:58 +00:00
Howard Chu
77ba70be13
Fix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex
2004-08-18 10:53:34 +00:00
Howard Chu
77df33a164
Fix crash on modify if userpassword didn't exist yet
2004-08-15 22:23:58 +00:00
Pierangelo Masarati
bde0761a04
should fix ITS#3265
2004-08-12 10:33:49 +00:00
Pierangelo Masarati
05b81e623d
cleanup attr flags; provide a helper
2004-08-06 17:29:59 +00:00
Pierangelo Masarati
7760b20f7f
fix permissive; cleanup
2004-08-06 16:40:48 +00:00
Pierangelo Masarati
bfb6465533
cleanup
2004-08-06 16:40:15 +00:00
Pierangelo Masarati
41569c5ed7
fix attr_merge() usage; cleanup
2004-08-06 16:39:45 +00:00
Pierangelo Masarati
4297cbaed2
fix attr_merge() usage
2004-08-06 16:38:41 +00:00
Pierangelo Masarati
9300a9415f
fix malformed test and var initialization
2004-08-06 16:14:05 +00:00
Pierangelo Masarati
559397c44a
allow to compare on hasSubordinates
2004-07-31 10:42:28 +00:00
Jong Hyuk Choi
9978007997
slapadd -i <rid list> fix
2004-07-31 00:03:58 +00:00
Pierangelo Masarati
9dcdeef319
don't recompute userattrs
2004-07-30 17:34:47 +00:00
Pierangelo Masarati
614e5a9de6
make sure sun_path is cleared out before accept()
2004-07-30 09:56:22 +00:00
Pierangelo Masarati
7b4a51cc28
further improve loglevel selection
2004-07-29 12:39:51 +00:00
Pierangelo Masarati
f33b51832a
allow to use names to set loglevel
2004-07-29 00:10:03 +00:00
Pierangelo Masarati
7507596ccc
minor cleanup
2004-07-28 23:48:08 +00:00
Jong Hyuk Choi
8b5b2e715b
should not assert(0) in UUIDValidate
2004-07-28 17:27:52 +00:00
Jong Hyuk Choi
95e56c6243
Patch for ITS#3259
2004-07-28 17:24:54 +00:00
Pierangelo Masarati
d723dbc34b
in case of early exit, frontendDB might be uninitialized
2004-07-27 21:15:33 +00:00
Pierangelo Masarati
cd9a9c628d
frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080)
2004-07-26 21:26:34 +00:00
Pierangelo Masarati
cc60b5ce76
cleanup previous fix; maybe the advanced url parsing funcs should go in some ldap_pvt.h header?
2004-07-26 08:31:01 +00:00
Pierangelo Masarati
9f6f5491fe
slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay
2004-07-25 23:16:40 +00:00
Pierangelo Masarati
392366818e
fix ITS#3254
2004-07-25 22:57:52 +00:00
Howard Chu
d9927adf88
Fix ITS#3255, boi_bdb comparisons
2004-07-25 21:10:41 +00:00
Howard Chu
05fd32498d
Fix spurious warning for fasttool keyword when running in Server mode
2004-07-25 19:49:24 +00:00
Pierangelo Masarati
075a450b49
cleanup
2004-07-24 17:10:29 +00:00
Pierangelo Masarati
cd7540feee
cleanup URI parsing/checking (fixes ITS#3253)
2004-07-24 11:17:03 +00:00
Pierangelo Masarati
a7b55f4f44
assert administrative identity instead of the required one if doing auth check in non-caching mode
2004-07-23 00:11:05 +00:00
Pierangelo Masarati
32d9856fb1
hack to handle cases where o_req_dn = o_req_ndn
2004-07-22 23:48:04 +00:00
Pierangelo Masarati
07f010a01f
fix previous fix
2004-07-22 23:03:04 +00:00
Howard Chu
dd7003cf9f
Added linearindex option for slapindex. Improves performance when database
...
size exceeds dbcache size by minimizing cache thrashing.
2004-07-22 22:32:37 +00:00
Howard Chu
f9f22058e7
ITS#3178 add "fasttool" option to disable transaction logging in tool mode
2004-07-22 22:14:35 +00:00
Howard Chu
bff0b64cb3
One more Windows tweak
2004-07-20 21:42:00 +00:00
Howard Chu
39fbae025e
Windoes compatibility tweaks
2004-07-20 21:40:33 +00:00
Pierangelo Masarati
52a49e0840
improve manual and make naming contexts uniform; NOTE: backwards compatibility not preserved
2004-07-20 00:46:20 +00:00
Pierangelo Masarati
b29808f4ae
cleanup function name in log
2004-07-20 00:32:43 +00:00
Pierangelo Masarati
dbb4593d75
rework passwd_extop to comply with rwm requirements...
2004-07-20 00:22:05 +00:00
Pierangelo Masarati
4c16e67094
minor cleanup
2004-07-19 21:43:03 +00:00
Pierangelo Masarati
1bbdcba854
add {creators|modifiers}Name to all entries
2004-07-19 21:42:11 +00:00
Howard Chu
ebd1832d21
Required by backover.c -r1.22
2004-07-19 20:25:43 +00:00
Howard Chu
e918210fc2
Required by backover.c -r1.22
2004-07-19 20:01:26 +00:00
Pierangelo Masarati
b94d5e17e2
rework op/rs structures to deal with opeartional attributes
2004-07-18 21:44:29 +00:00
Pierangelo Masarati
448e2dcad4
fix empty uniqueMember dn portion (ITS#3247)
2004-07-18 21:40:16 +00:00
Pierangelo Masarati
47415023b4
startup and shutdown backends only if not in dryrun mode
2004-07-18 21:36:39 +00:00
Pierangelo Masarati
5992a9b7e6
dnMatch must be called with valid args
2004-07-18 21:34:01 +00:00
Pierangelo Masarati
256d845f08
helpers for special attribute lists
2004-07-18 21:33:15 +00:00
Howard Chu
a14bda1df4
strptime is unreliable, just parse time ourselves
2004-07-18 18:28:16 +00:00
Howard Chu
26b4758938
Make sure hdb gets signed chars for len comparison
2004-07-18 12:29:52 +00:00
Hallvard Furuseth
af5ab4f196
Add missing format argument for 'unhandled idassert-method' error message.
2004-07-18 07:16:34 +00:00
Hallvard Furuseth
9c9c92a6a4
Fix coredump in slap_sasl_check_authz() due to wrong LDAP_LOG() format string.
2004-07-18 07:14:07 +00:00
Hallvard Furuseth
b81b0216a9
Split string literal to keep it below ANSI C's allowed 509-char limit.
2004-07-18 00:47:35 +00:00
Pierangelo Masarati
6a02b9b4fd
don't ask for attributes
2004-07-17 17:06:03 +00:00
Pierangelo Masarati
512a70af47
more cleanup
2004-07-17 15:35:06 +00:00
Pierangelo Masarati
6aca8c16c6
cleanup
2004-07-17 15:15:59 +00:00
Pierangelo Masarati
854863f0b6
normalize authcDN (ITS#3246); don't touch databases when running slapadd in dryryn mode (ITS#3244); release lock when acquiring entry in tool mode (ITS#3245)
2004-07-17 14:45:07 +00:00
Pierangelo Masarati
5a32683d02
to be safe, always start backends and database
2004-07-16 16:42:57 +00:00
Pierangelo Masarati
dc5f95cd3e
uninitialized var
2004-07-14 08:18:26 +00:00
Pierangelo Masarati
02c5b51717
cleanup; fix loop
2004-07-14 01:34:46 +00:00
Pierangelo Masarati
56303ce55a
cleanup
2004-07-14 01:16:23 +00:00
Pierangelo Masarati
922a7e4488
cleanup; plug potential leak?
2004-07-14 01:10:35 +00:00
Pierangelo Masarati
d02a8cab65
revert previous change; anticipate backend_operational before overlays callbacks (thanks, Howard); rework overlays cycle to allow callbacks to free themselves (thanks Howard)
2004-07-14 00:42:23 +00:00
Pierangelo Masarati
8d03d74bfd
silence warning
2004-07-14 00:22:27 +00:00
Pierangelo Masarati
3b8111f1c4
use a separate field for a modified entry in SlapReply
2004-07-13 22:52:54 +00:00
Pierangelo Masarati
89b284eef5
more on AttributeDescription error messages
2004-07-13 22:49:50 +00:00
Pierangelo Masarati
d58055b7de
swap overlay and internal cleanup
2004-07-13 22:00:28 +00:00
Pierangelo Masarati
d6e3c93001
memory hanling cleanup
2004-07-13 01:00:48 +00:00
Pierangelo Masarati
7011c4f3e2
change flags only if entry massaging goes fine
2004-07-12 22:50:34 +00:00
Pierangelo Masarati
f4a428d060
cleanup
2004-07-12 22:33:44 +00:00
Howard Chu
2954a90483
Add backend_startup_one()
2004-07-12 20:27:33 +00:00
Howard Chu
856a8c1177
Don't bother logging lock failures for tryOnly mode
2004-07-12 20:02:24 +00:00
Howard Chu
3fd4d04168
Release cache locker on db close
2004-07-12 14:29:13 +00:00
Howard Chu
214d3b26c1
Fix for non-thread run
2004-07-12 04:05:26 +00:00
Pierangelo Masarati
22bd2667ce
mostly done...
2004-07-11 22:57:51 +00:00
Pierangelo Masarati
1b85d17afe
minor cleanup
2004-07-11 22:55:57 +00:00
Pierangelo Masarati
4424b9d57f
log what backend is starting (bdb/hdb)
2004-07-11 22:52:26 +00:00
Pierangelo Masarati
198b34db35
back-relay doesn't like this
2004-07-11 22:52:01 +00:00
Howard Chu
2d4f58bbf6
Make sure DB result codes are returned to caller; add missing retries to
...
callers of bdb_cache_find_id().
2004-07-10 19:06:20 +00:00
Howard Chu
3dedb0839c
Remove redundant code from previous patch
2004-07-10 18:26:05 +00:00
Pierangelo Masarati
7679f37b1d
fix previous commit (needs work)
2004-07-10 15:15:01 +00:00
Pierangelo Masarati
8a9c5bb0f8
make sure we only get here when everything is fine
2004-07-10 11:41:28 +00:00
Pierangelo Masarati
1c2759e689
cache backend was not started up
2004-07-10 11:37:48 +00:00
Howard Chu
22f895a4bb
Minor cleanup
2004-07-10 04:48:07 +00:00
Howard Chu
d6c68cdf48
Fix prev commit
2004-07-09 17:44:50 +00:00
Howard Chu
e5ffb0c466
Use previously unused Backend->be_context_csn
2004-07-09 17:27:23 +00:00
Howard Chu
ebc8bb0d83
Use long-lived per-thread TXNs for loading entries from DB.
...
Make sure only one thread tries to load a given entry at a time.
Bump up the DB environment's max TXNs to accomodate the new TXNs.
2004-07-09 17:00:07 +00:00
Ralf Haferkamp
b8113c5df9
ITS#3226: Clear attribute flags after schema_check failed
2004-07-09 11:18:42 +00:00
Jong Hyuk Choi
70314bd98b
SLAP_IDL_CACHE macro removed
2004-07-09 03:31:52 +00:00
Pierangelo Masarati
2afdce8334
cleanup AD stuff (ITS#3225)
2004-07-09 00:14:15 +00:00
Pierangelo Masarati
3c7a3f78dd
further improve error log clarity
2004-07-07 23:01:22 +00:00
Pierangelo Masarati
81d89ddd63
validate/pretty before normalizing... (ITS#3218)
2004-07-06 22:02:52 +00:00
Kurt Zeilenga
36e75e10af
reverse last commit
2004-07-05 21:45:01 +00:00
Kurt Zeilenga
35cbe6fe84
fix typos in last commit
2004-07-05 21:44:12 +00:00
Kurt Zeilenga
191941c2cf
better ssf related error messages
...
cleanup
2004-07-05 21:41:10 +00:00
Howard Chu
6b59008f26
Plug mem leaks
2004-07-05 21:00:09 +00:00
Howard Chu
5ab38cfa5f
Better fix for ITS#3213, plug mem leaks. Also fix postread response.
2004-07-05 20:08:20 +00:00
Pierangelo Masarati
277d921945
clear shared connections when ldap_result fails with -1 (typically, remote server is down); fixes ITS#3217
2004-07-04 23:35:18 +00:00
Howard Chu
c3984d9f59
Plug memleak from ITS#2895
2004-07-04 04:56:36 +00:00
Howard Chu
56103a575b
Fix misplaced unlock in prev commit
2004-07-03 21:06:34 +00:00
Howard Chu
473b8cb7db
Re-order EntryInfo/DB locks to fix deadlocks
2004-07-03 20:03:14 +00:00
Howard Chu
42e0814247
Fix prev commit
2004-07-03 16:17:54 +00:00
Howard Chu
f696f7ab55
Fix: LRU corruption, HDB rename detection, Ctxcsn assert failure
2004-07-03 15:47:44 +00:00
Pierangelo Masarati
a0c28f4d7f
fix matchedValue (ITS#3209); might need work
2004-07-03 11:17:11 +00:00
Pierangelo Masarati
b72657acf0
typo in comment
2004-07-03 11:16:22 +00:00
Pierangelo Masarati
74f224583b
quick fix for ITS#3215; needs work to re-enable ACI caching, if possible at all
2004-07-02 16:45:06 +00:00
Ralf Haferkamp
3286e13a2c
reset o_next pointer before freeing the operation (otherwise an assertion
...
failure in slap_op_free is possible)
2004-07-02 14:57:35 +00:00
Howard Chu
356d862974
unifdef old code
2004-07-02 12:06:03 +00:00
Howard Chu
b8273cba9b
Fix pointer conflict with backglue
2004-07-02 11:59:05 +00:00
Howard Chu
bec599a954
Qualify some structure fields
2004-07-02 11:34:16 +00:00
Jong Hyuk Choi
a46d84544f
cleanup
2004-07-01 22:40:03 +00:00
Pierangelo Masarati
6465801cfc
beautify comment
2004-06-30 16:26:06 +00:00
Pierangelo Masarati
d8d3bded72
cleanup
2004-06-30 16:25:14 +00:00
Pierangelo Masarati
e779235391
cleanup
2004-06-30 01:17:05 +00:00
Kurt Zeilenga
7a6b0857b6
cleanup
2004-06-29 23:52:18 +00:00
Sang Seok Lim
ad19032bf2
This patch provides support for rdnMatch matching rule and RDN syntax in
...
RFC 3687. For now, both the attribute and assertion values are considered
as RDNs. Refer to ITS#3207 to find related discussion.
2004-06-29 23:36:58 +00:00
Pierangelo Masarati
8f6cce3296
improve logging...
2004-06-29 18:04:30 +00:00
Pierangelo Masarati
e052d7297d
`err' might be used uninitialized
2004-06-29 17:32:43 +00:00
Pierangelo Masarati
5256cbda6c
fix uniqueMemberMatch according to previous fix (related to ITS#3210)
2004-06-29 17:23:54 +00:00
Pierangelo Masarati
c25c3ed9e5
fix nameUID* and uniqueMember* stuff in a consistent manner (related to ITS#3210)
2004-06-29 16:29:00 +00:00
Ralf Haferkamp
498530fc4c
TS#3213: free copy of e_attrs before retrying the transaction in bdb_modify()
2004-06-29 14:52:03 +00:00
Jong Hyuk Choi
2adcccb27d
logging psearch return code
2004-06-28 23:51:17 +00:00
Kurt Zeilenga
6830aca2d1
cleanup
2004-06-28 23:03:01 +00:00
Kurt Zeilenga
537aab8a14
A more strict oidValidate
2004-06-28 22:53:19 +00:00
Pierangelo Masarati
279d629c81
fix nameUID/uniqueMember stuff (ITS#3210)
2004-06-28 22:10:27 +00:00
Pierangelo Masarati
70af36dbf5
trim useless code
2004-06-28 22:01:30 +00:00
Pierangelo Masarati
c84b7502c5
fix oidValidate() when a OID contains a single '0' (ITS#3211)
2004-06-28 22:00:28 +00:00
Pierangelo Masarati
c34a30a149
fix memory usage
2004-06-28 21:51:08 +00:00
Pierangelo Masarati
9a2b8f9d40
honor signedness
2004-06-28 21:20:13 +00:00
Pierangelo Masarati
a7a90609a9
propagate search result (maybe this is not what bdb_psearch() is intended to do...)
2004-06-28 21:08:32 +00:00
Pierangelo Masarati
a4f50c268a
fix typo in comment
2004-06-28 20:59:04 +00:00
Kurt Zeilenga
372a941334
add baseObject as alias for base.
...
cleanup
2004-06-28 06:42:00 +00:00
Jong Hyuk Choi
08949463c5
- use ctxcsn_locker for the ctxcsn add transaction
...
- removal of LOCK_ID_FREE
- misc mem mgmt cleanup
2004-06-28 05:47:36 +00:00
Kurt Zeilenga
fbca1397a3
cleanup
2004-06-27 02:35:48 +00:00
Howard Chu
29f24962be
Fix uninit'd exopflags
2004-06-26 01:17:24 +00:00
Howard Chu
5fd7534f79
Fix previous commit, deleting under suffix...
2004-06-25 20:04:16 +00:00
Howard Chu
826b177877
More locking cleanup (ITS#3201, etc)
2004-06-25 05:29:33 +00:00
Jong Hyuk Choi
22df3f94e4
internal operation return value processing cleanup
2004-06-25 02:27:02 +00:00
Kurt Zeilenga
e8b2c7f3be
Fix wrong error when using operative attribute in
...
objectclass definition (ITS#3205)
2004-06-25 01:05:49 +00:00
Howard Chu
3c68fc1f14
ITS#3201 fix conflict with BDB internal locks
2004-06-24 23:50:10 +00:00
Howard Chu
f7f6861a26
ITS#3201 fix conflict with BDB internal locks
2004-06-24 23:35:18 +00:00
Howard Chu
c63817b9bd
ITS#3201 partial fix. still encountering deadlocks.
2004-06-24 17:56:43 +00:00
Kurt Zeilenga
8bca3b42f9
Rework pre/post read controls to handle retry conditions...
...
(and plug leaks)
2004-06-23 06:56:23 +00:00
Kurt Zeilenga
e23b0f677f
Move pre/post read calls into outer transaction.
...
Need to fix retry handling.
2004-06-23 06:02:49 +00:00
Jong Hyuk Choi
ec9d21e094
use ltid if it exists; use NULL otherwise.
2004-06-23 05:10:18 +00:00
Kurt Zeilenga
ee7dfb2ab9
cleanup
2004-06-23 03:09:13 +00:00
Jong Hyuk Choi
bc6b28a650
using write lock in accessing pslist
2004-06-23 02:07:12 +00:00
Jong Hyuk Choi
81c59404e9
use txn locker if it exists; get one otherwise.
2004-06-23 02:00:00 +00:00
Kurt Zeilenga
e5a37f2125
SLAPD_DISCONNECT v -1 cleanup
...
misc other cleanup
2004-06-23 01:04:52 +00:00
Kurt Zeilenga
83476f2d98
Add pre-read FIXME comment
2004-06-22 23:44:35 +00:00
Jong Hyuk Choi
28bd88d289
more timelimit cleanup
2004-06-22 23:23:37 +00:00
Jong Hyuk Choi
b459e59394
patch for ITS#3173
...
- passing transaction ptr to psearch
2004-06-22 23:22:16 +00:00
Kurt Zeilenga
4e6ed7072d
cleanup
2004-06-22 19:49:00 +00:00
Jong Hyuk Choi
3917d2b15d
limit checking in syncrepl
2004-06-22 18:15:29 +00:00
Pierangelo Masarati
d8eff4d1b5
use hard limit instead of returning adminLimitExceeded when requested limit exceeds hard; improve (and document) syntax; modify test025 accordingly
2004-06-22 09:43:41 +00:00
Pierangelo Masarati
445067260e
asserts contradict the comment above and are basically wrong
2004-06-22 08:40:53 +00:00
Pierangelo Masarati
528b6c7e25
clear pagedresults_state if reusing an inactive connection; prepare for more consistent behavior of pagedResults control
2004-06-21 21:31:55 +00:00
Pierangelo Masarati
eb6dcbe246
fix ITS#3196; more to do
2004-06-21 17:51:28 +00:00
Pierangelo Masarati
5ff789e379
fix pagedResults dangling pointer in parsing cookie (ITS#3089)
2004-06-21 17:49:03 +00:00
Pierangelo Masarati
120470e1d6
clarify usage for internal searches
2004-06-21 09:10:46 +00:00
Jong Hyuk Choi
a1308f8dfa
syncrepl retry code fix for correct timing
2004-06-21 07:03:49 +00:00
Pierangelo Masarati
1f70ad82f2
clean up unnecessary checks; don't use SASL native authz if authz ID is not static, because back-ldap pools connections...
2004-06-21 00:57:12 +00:00
Pierangelo Masarati
eca48b6f20
not sure that cyrus-sasl doesn't honor empty authz; need to check
2004-06-20 23:21:40 +00:00
Pierangelo Masarati
5bfb9fd590
make authz mode selection fully manual, plus more cleanup
2004-06-20 22:42:36 +00:00
Pierangelo Masarati
176e5542bb
fix erroneous logging
2004-06-20 22:42:04 +00:00
Pierangelo Masarati
7fe1acca92
add shortcut for 'users'; but, very important, cleanup rewrite replacement to authz-regexp
2004-06-20 22:41:24 +00:00
Luke Howard
4eaef6a37d
Do not crash if computed attribute has no values - necessary for range retrieval
...
support
2004-06-20 18:04:01 +00:00
Pierangelo Masarati
5d843b2b13
detect mechs that are known to perform native authz
2004-06-19 18:32:55 +00:00
Pierangelo Masarati
f34b11760a
allow a hidden parameter to instruct the proxy that the SASL mech can do native authz; will disappear as soon as I can detect it automnatically
2004-06-19 18:18:26 +00:00
Pierangelo Masarati
97f96aaaa6
cleanup limits for internal searches...
2004-06-19 17:07:36 +00:00
Pierangelo Masarati
96fe39e99f
minor cleanup
2004-06-19 15:17:41 +00:00
Pierangelo Masarati
e6065fb20d
li->be didn't work; since it seems to be unnecessary, it's been removed; please check
2004-06-19 15:16:51 +00:00
Pierangelo Masarati
344edca731
protocol only allows positive integers; remove checks
2004-06-19 10:40:24 +00:00
Pierangelo Masarati
c06208527c
protocol only allows positive integers; check, just in case...
2004-06-19 10:32:17 +00:00
Pierangelo Masarati
a689d81536
typo?
2004-06-19 10:02:53 +00:00
Pierangelo Masarati
7e833d90a7
implement server side of "max" limit
2004-06-19 10:02:27 +00:00
Kurt Zeilenga
18a68380f6
More paged results cleanup
2004-06-18 23:12:03 +00:00
Kurt Zeilenga
4b2fcbc14d
Fix nentries logging
2004-06-18 23:10:26 +00:00
Kurt Zeilenga
aa9627e61c
Don't return useless estimate.
2004-06-18 23:07:56 +00:00
Kurt Zeilenga
c5601aad66
Fix last commit... needs $srcdir
2004-06-18 22:21:01 +00:00
Kurt Zeilenga
73202e3910
Fix typo in last commit
2004-06-18 19:12:00 +00:00
Pierangelo Masarati
42f3b3d87b
improve parsing - first step
2004-06-18 09:11:53 +00:00
Jong Hyuk Choi
763f8c76ee
syncrepl retry-on-error code
2004-06-18 05:04:03 +00:00
Kurt Zeilenga
2478fdf2ec
A very basic DB_CONFIG example
2004-06-18 04:49:08 +00:00
Jong Hyuk Choi
ef0a404729
revert pervious change
2004-06-18 02:59:47 +00:00
Pierangelo Masarati
40e42fcd11
res is already freed by ldap_parse_reference() (ITS#3190)
2004-06-17 18:27:51 +00:00
Kurt Zeilenga
87c28866de
cleanup
2004-06-16 23:49:35 +00:00
Pierangelo Masarati
a317f01dc1
improve pagedResults ignoring (hopefully)
2004-06-16 15:26:21 +00:00
Kurt Zeilenga
0ae37bd468
Add SLAP_BFLAG_NOLASTMODCMD backend flag. When set, use of
...
the lastmod command will fail. To be set by backends
(e.g., back-ldap) which force the value of SLAP_DBFLAG_NOLASTMOD
database flag.
2004-06-16 04:47:21 +00:00
Howard Chu
06f3bfb7f9
More for ITS#3188
2004-06-16 03:29:02 +00:00
Kurt Zeilenga
7537d3d843
Partial fix for ITS#3188.
...
As Howard noted, additional fixes may be needed in other update routines.
2004-06-15 21:13:40 +00:00
Kurt Zeilenga
6826810ea7
allow logging to USER and DAEMON (ITS#3187)
2004-06-15 07:22:48 +00:00
Jong Hyuk Choi
5ac9de4d36
More backglue fix: do not return NO_SUCH_OBJECT when the base object is located above the subordinate database in search
2004-06-14 23:41:13 +00:00
Pierangelo Masarati
6c41f12ff1
fix build when #define BACKSQL_TRACE
2004-06-14 20:04:36 +00:00
Pierangelo Masarati
ba3dde6d16
return pagedResultsControl with empty cookie at end of search (ITS#3161)
2004-06-12 18:22:53 +00:00
Pierangelo Masarati
c0490482d6
ignore the control if page is larger than requested sizelimit (as per RFC)
2004-06-12 17:37:37 +00:00
Pierangelo Masarati
4c685bfd1e
clarify no limits in (internal) searches
2004-06-12 17:32:20 +00:00
Pierangelo Masarati
0c49718e82
clean up search limits enforcement
2004-06-12 17:31:45 +00:00
Pierangelo Masarati
8e3fba7e1e
silence a few (mostly harmless) warnings
2004-06-12 15:08:59 +00:00
Howard Chu
8138b5258f
ITS#3182 ? clear ctrls after sending paged response
2004-06-12 12:29:18 +00:00
Howard Chu
d57b404889
back-hdb fixes for ITS#3063
2004-06-12 12:27:22 +00:00
Pierangelo Masarati
d1b692ceb4
clarify no limits in (internal) searches
2004-06-12 11:33:21 +00:00
Howard Chu
7c7754b956
Better fix for ITS#3063, #3186
2004-06-12 07:39:24 +00:00
Howard Chu
9cf45220d2
ITS#3186 don't print error when empty DN "" is the only thing missing
2004-06-12 05:29:55 +00:00
Howard Chu
0b24ae9a12
Fix prev commit
2004-06-12 05:29:07 +00:00
Howard Chu
b9e3f66c7c
Add glue for root DB (ITS#3063)
2004-06-12 04:31:17 +00:00
Howard Chu
591acac04f
Another crash for ITS#3063
2004-06-12 03:25:15 +00:00
Kurt Zeilenga
25166f8166
cleanup
2004-06-11 00:14:01 +00:00
Kurt Zeilenga
ed4811039e
cleanup
2004-06-09 05:20:57 +00:00
Jong Hyuk Choi
aa61c0b122
ITS#3180 Fix
2004-06-08 02:54:21 +00:00
Jong Hyuk Choi
f60f2d5048
Fix typo
2004-06-08 02:52:59 +00:00
Howard Chu
932d924f50
ITS#3170 fix uninit'd mod.sml_nvalues
2004-06-03 23:09:25 +00:00
Kurt Zeilenga
248e73c7e1
TLS availability should check slapd's context not the default context.
2004-06-02 17:38:04 +00:00
Kurt Zeilenga
b438e6b533
ITS#3166: correct slapi_entry_attr_get_* return types
...
patch provided by Martin Evans
2004-06-01 22:07:57 +00:00
Jong Hyuk Choi
43045c0d71
Fixing backglue behaviors
...
1) Return NO_SUCH_OBJECT if base object cannot be located
2) Does not search databases that are superior to the base object of the search
2004-06-01 20:17:11 +00:00
Howard Chu
14ca92e851
load_ucdata is now a no-op
2004-05-31 05:44:04 +00:00
Kurt Zeilenga
3dcc2bf092
cleanup
2004-05-31 04:01:03 +00:00
Jong Hyuk Choi
5e761b1ea3
Fix for backglue limit checking
2004-05-31 02:03:39 +00:00
Jong Hyuk Choi
b85ba35ba7
Patch for ITS#3133
2004-05-31 02:01:59 +00:00
Kurt Zeilenga
2ec6755eda
Don't shortcut scope base searches. Base scope searches can be
...
useful to ensure target entry exists.
2004-05-30 22:15:39 +00:00
Howard Chu
0bcb9c3150
Fix ITS#3155
2004-05-27 08:54:34 +00:00
Howard Chu
2c0d735aa7
Fix ITS#3160, decrement conn->c_n_ops_pending when removing an op from
...
the conn->c_pending_ops queue.
2004-05-27 08:45:27 +00:00
Pierangelo Masarati
650ca42066
provide support for usage()
2004-05-26 12:29:17 +00:00
Pierangelo Masarati
06782dac3b
remove '-S'; improve usage()
2004-05-25 17:42:06 +00:00
Pierangelo Masarati
417f709978
fix previous commit
2004-05-25 13:35:04 +00:00
Pierangelo Masarati
cab43a6816
infrastructure for '-o <option>[=<value>]' args
2004-05-25 10:44:51 +00:00
Howard Chu
7488f557cd
Fix entry_get, only check mapped attr if attr was provided
2004-05-25 04:54:32 +00:00
Kurt Zeilenga
6e17b60648
add command line option (-S) to enable SLP registration (ITS#3132)
...
off by default. Option assignment is temporary, should be replaced
with "-o slp=<ON|off>".
Based upon patch submitted by Ralf Haferkamp (SuSE).
2004-05-24 23:28:52 +00:00
Kurt Zeilenga
5a7f9858fe
cleanup
2004-05-24 23:23:50 +00:00
Luke Howard
ab48d0295d
slapi_ldap_init() / slapi_ldap_unbind()
2004-05-24 05:28:43 +00:00
Luke Howard
ba686c399b
slight optimization - use ldap_bv2dn()
2004-05-24 03:43:53 +00:00
Luke Howard
f9b719f56e
Implement slapi_entry_{get,set}_uniqueid
2004-05-23 16:04:27 +00:00
Luke Howard
e932093f47
Fix breakage
2004-05-23 15:51:58 +00:00
Luke Howard
4c2e3eeda4
Add slapi_entry_add_rdn_values(), slapi_entry_rdn_values_present(), slapi_entry_schema_check() API
2004-05-23 15:47:23 +00:00
Luke Howard
71d473f09f
Implement slapi_rdn2typeval and slapi_dn_plus_rdn
2004-05-23 12:43:59 +00:00
Luke Howard
f62d1aac4e
Implement slapi_entry_size()
2004-05-23 12:12:43 +00:00
Luke Howard
13e657ffa8
Implement slapi_entry_has_children()
2004-05-23 12:06:47 +00:00
Pierangelo Masarati
a18e199e0d
more on identity assertion
2004-05-22 17:26:02 +00:00
Howard Chu
910101a267
ITS#3064 don't reset sync interval to zero on PERSIST
2004-05-21 23:53:14 +00:00
Howard Chu
88e2a06b5e
ITS#3151 always reschedule consistency_check task
2004-05-20 00:13:05 +00:00
Howard Chu
73fa8b7dd9
ITS#3153 only cache queries with at least one entry
2004-05-19 23:37:14 +00:00
Howard Chu
464866d57b
Fix normalized mods in slap_entry2mods (ITS#3144, ITS#3152)
2004-05-19 23:20:04 +00:00
Howard Chu
a11553c212
Always normalize entries (ITS#3152, ITS#3144)
2004-05-19 23:19:24 +00:00
Howard Chu
69ff27f9d6
ITS#3150 fix uninit'd return_val
2004-05-19 22:07:06 +00:00
Kurt Zeilenga
a3df8a82b4
cleanup
2004-05-19 19:39:40 +00:00
Kurt Zeilenga
420bd2ff40
cleanup
2004-05-19 19:23:01 +00:00
Howard Chu
681431e73a
Fix prev commit, test015 works again
2004-05-19 07:31:22 +00:00
Howard Chu
9a758383fa
ITS#3146 plug extended match memory leaks
2004-05-18 09:11:38 +00:00
Kurt Zeilenga
13c70ed410
fix up error handling, including disallowing sync+pagedResults combinations.
2004-05-15 19:26:48 +00:00
Pierangelo Masarati
fa0f020503
need to defer this...
2004-05-15 10:11:43 +00:00
Pierangelo Masarati
cdebc4d376
more on idassert: SASL bind/authz
2004-05-15 10:11:10 +00:00
Pierangelo Masarati
8b954144d6
reflect Kurt's comments on ID assertion
2004-05-14 10:01:22 +00:00
Kurt Zeilenga
74bfae5c22
cleanup
2004-05-14 04:48:44 +00:00
Pierangelo Masarati
657e580bbe
fix schema initialization when built as module...
2004-05-13 23:33:14 +00:00
Pierangelo Masarati
20140992a6
cleanup
2004-05-13 22:59:14 +00:00
Pierangelo Masarati
2e09e645ba
promoted proxyAuthz to STATS log level
2004-05-13 22:47:24 +00:00
Pierangelo Masarati
1543d3b95b
fix previous commit :)
2004-05-13 22:19:16 +00:00
Pierangelo Masarati
3b38676dd3
complete idassert options
2004-05-13 22:12:46 +00:00
Pierangelo Masarati
a10fe8e098
caught nasty empty DN bug
2004-05-13 22:12:24 +00:00
Pierangelo Masarati
66ddf62922
add idassert code (undocumented yet)
2004-05-13 20:25:53 +00:00
Pierangelo Masarati
3eebd5bb21
expose slap_sasl_matches() to allow external matching of authz* stuff; fix backwards compatibility bug for "dn:<pat>" as a shortcut to "dn.exact:<pat>"
2004-05-13 20:22:27 +00:00
Pierangelo Masarati
08a8e7b8c3
empty ID should be fine according to draft-weltman-ldapv3-proxy
2004-05-13 20:18:37 +00:00
Howard Chu
c0075d57b4
better fix for prev commit
2004-05-13 00:46:52 +00:00
Howard Chu
ee0af2b9d5
ITS#3137 defer schema loading until overlay configuration
2004-05-13 00:38:24 +00:00
Pierangelo Masarati
f109f1eb6d
fix ITS#3140
2004-05-12 23:29:42 +00:00
Pierangelo Masarati
0caf54b429
typo in error message
2004-05-07 21:53:44 +00:00
Pierangelo Masarati
d40e5a365a
fix DN_SEPARATOR() and clarify its use
2004-05-07 09:03:05 +00:00
Pierangelo Masarati
b34cf02488
more on fixing escaped semicolon in normalized DN
2004-05-07 02:18:08 +00:00
Pierangelo Masarati
80449c42d9
fix escaped semicolon bug in back-bdb
2004-05-07 02:09:06 +00:00
Pierangelo Masarati
dddee82680
cleanup
2004-05-06 14:51:14 +00:00
Luke Howard
b44a79965e
Fix ITS#3131 properly - set operation SSF to MAX(TLS, SASL) SSFs
2004-05-06 03:27:45 +00:00
Luke Howard
1bdbb9e4f5
ITS #3131 - propagate SSF to syncrepl operation
2004-05-05 05:41:43 +00:00
Kurt Zeilenga
a3bbc8adec
Update substr indexing macros to better separate
...
initial/final string settings from any string settings.
2004-05-04 22:31:57 +00:00
Pierangelo Masarati
d7ff03d4be
allow consistent modification of readOnly and restrictedOperation attributes
2004-05-02 22:08:12 +00:00
Pierangelo Masarati
05fbf1cc97
add restrictedOperation to databases; modification to come soon
2004-05-01 18:55:52 +00:00
Pierangelo Masarati
25a054a487
improve restricted exop
2004-05-01 18:55:23 +00:00
Pierangelo Masarati
03c64541d4
add granular op restriction
2004-05-01 17:53:37 +00:00
Pierangelo Masarati
9284fbf8ad
remove lint and cleanup namespace
2004-05-01 15:17:43 +00:00
Kurt Zeilenga
05463503e8
ITS#3118: fix objectIdentifierFirstComponentMatch for schema elements
2004-04-28 20:10:21 +00:00
Kurt Zeilenga
81d31dc721
ITS#3118: initial fix: (objectClasses=2.5.6.0) works
...
need to add special handler to allow (objectClasses=top) to work
2004-04-28 05:12:53 +00:00
Pierangelo Masarati
5e5e0cd98a
quick hack for ITS#3118; may need work
2004-04-28 00:09:25 +00:00
Pierangelo Masarati
60b05c643d
STRLENOF cleanup
2004-04-27 21:40:54 +00:00
Howard Chu
2349373daf
Don't allow changes to the monitor database
2004-04-27 12:18:42 +00:00
Pierangelo Masarati
932c79eac5
set schema first, so it can be used, e.g., in ACLs
2004-04-27 12:04:46 +00:00
Kurt Zeilenga
510eb8dff2
Blind portability fix
2004-04-27 07:23:04 +00:00
Howard Chu
9644d6d820
Added readOnly attribute, can be toggled on individual databases.
2004-04-27 01:56:38 +00:00
Kurt Zeilenga
5f2497910b
ITS#3115: don't increment argument to TOLOWER macro
2004-04-26 23:13:19 +00:00
Pierangelo Masarati
e1268a943b
scan all results for multiple entries; fail in case more than one entry is returned, regardless of matches
2004-04-26 22:47:08 +00:00
Pierangelo Masarati
1f9c26e69f
do not return entry pointer in case of failure
2004-04-26 22:46:13 +00:00
Pierangelo Masarati
0265f31b5b
fix size test in internal search for bdb/hdb
2004-04-26 21:47:02 +00:00
Kurt Zeilenga
bfd09a16a2
Use AC_STRERROR_R
2004-04-26 19:16:14 +00:00
Pierangelo Masarati
af842eb734
fix comment
2004-04-26 17:50:39 +00:00
Howard Chu
9b38cd2572
ITS#3109 - added slap_tls_ctx
2004-04-26 01:10:49 +00:00
Pierangelo Masarati
2919bc09ac
minor improvements
2004-04-26 00:17:58 +00:00
Pierangelo Masarati
ff0df4b6aa
add group authz
2004-04-25 23:59:06 +00:00
Pierangelo Masarati
0cd5b9f766
parsing bug (does not affect RE22)
2004-04-24 17:47:24 +00:00
Pierangelo Masarati
3c1c61c5ef
log slapi config read failure (partial fulfilment of ITS#3098)
2004-04-24 11:43:52 +00:00
Pierangelo Masarati
b69a2acdf5
use fist backend only if there is no global ACL (ITS#3100)
2004-04-20 19:26:02 +00:00
Pierangelo Masarati
dd0e285b12
experimental ACL scope correctness test
2004-04-20 19:16:21 +00:00
Pierangelo Masarati
b9dcdbb2d8
rename macro accordingly to new authz naming
2004-04-20 19:12:56 +00:00
Pierangelo Masarati
1c952c8a7e
revert prevuos NULL o_bd commit
2004-04-20 15:18:06 +00:00
Pierangelo Masarati
dd1f2772a5
cleanup
2004-04-20 14:55:18 +00:00
Pierangelo Masarati
4d3a49b33f
improve slapacl
2004-04-20 14:55:02 +00:00
Pierangelo Masarati
30f697beeb
improve dn.one="" fix
2004-04-20 14:50:16 +00:00
Pierangelo Masarati
537a4cae02
global ACLs were not used because op->o_bd is set to &backends[0] if NULL
2004-04-20 14:42:48 +00:00
Pierangelo Masarati
3c5f305a7f
fix acl bug when using dn.one=""
2004-04-20 14:15:39 +00:00
Pierangelo Masarati
a07d8ee0b7
improve slapacl option sanity checks
2004-04-20 09:17:26 +00:00
Kurt Zeilenga
1372965d89
ITS#3092: Rename sl_free() and friends to slap_sl_free()
2004-04-20 03:44:57 +00:00
Pierangelo Masarati
0aeec234ea
update
2004-04-20 00:32:46 +00:00
Pierangelo Masarati
b76bfe6351
more cleanup
2004-04-20 00:26:42 +00:00
Pierangelo Masarati
7b65d46b1b
add slapacl tool
2004-04-20 00:08:44 +00:00
Kurt Zeilenga
69eeb79662
Additional invalid objectClass changes (ITS#3097)
...
catch error in validation/pretty functions
2004-04-19 20:45:26 +00:00
Kurt Zeilenga
cd84c58d4a
Fix: ldapadd with undefined objectclass causes assertion failure (ITS#3097)
2004-04-19 19:27:51 +00:00
Pierangelo Masarati
2320192db0
more cleanup
2004-04-19 18:42:00 +00:00
Pierangelo Masarati
dd48690eaa
add logs; fix bug in group/dn selection logic
2004-04-17 18:12:37 +00:00
Pierangelo Masarati
249a214ca6
yet another problem in pr limits
2004-04-17 15:42:55 +00:00
Howard Chu
a2a2ccf848
Added static ppolicy, refinit, unique overlays
2004-04-17 15:41:31 +00:00
Howard Chu
7fb90589af
Fix replog check
2004-04-17 15:41:16 +00:00
Howard Chu
c8ca3e2af6
Assume slapd if argv[0] is unrecognized, don't fail.
...
libtool creates lt-slapd for some dynamic builds...
2004-04-17 15:28:07 +00:00
Howard Chu
81bc7fcc8c
Fix module link libraries
2004-04-17 15:12:20 +00:00
Pierangelo Masarati
7be90a7ddf
remove unused structure member ps_id
2004-04-17 15:01:13 +00:00
Howard Chu
e034b942bc
Added ppolicy rules
2004-04-17 13:35:54 +00:00
Pierangelo Masarati
6fe2750aa5
allow backwards compatibility for 'T' option (single char)
2004-04-17 10:48:40 +00:00
Howard Chu
8da6bf194a
Added referential integrity and attribute uniqueness overlays
2004-04-17 08:17:43 +00:00
Pierangelo Masarati
71921f219c
further improvement...
2004-04-16 19:10:09 +00:00
Pierangelo Masarati
9b3a3d5fce
improve tool mode selection by slapd switch
2004-04-16 18:54:15 +00:00
Kurt Zeilenga
a54900be42
s/saslAuthz/authz/
2004-04-16 06:12:13 +00:00
Pierangelo Masarati
93ff139915
split objectClass and attributeType mapping (should cure ITS#3091: Sybase compatibility)
2004-04-15 22:29:52 +00:00
Pierangelo Masarati
6624f68725
fix braindead config option (mostly harmless)
2004-04-15 20:27:43 +00:00
Pierangelo Masarati
9962894c58
sounds a bit more conservative...
2004-04-15 20:26:39 +00:00
Pierangelo Masarati
1f9d280b1a
sounds like we're there...
2004-04-15 11:12:01 +00:00
Pierangelo Masarati
e77b064aab
fix default sizelimit on pr (ITS#3085)
2004-04-15 09:15:30 +00:00
Kurt Zeilenga
7999211371
note that 'email' is deprecated in favor of 'mail'
2004-04-15 02:59:54 +00:00
Kurt Zeilenga
774cec3f84
misc updates
2004-04-15 02:59:38 +00:00
Luke Howard
22f425c1f3
Fix warning in assignment
2004-04-15 02:37:40 +00:00
Luke Howard
12949734bd
Fix warning in assignment
2004-04-15 02:36:23 +00:00
Luke Howard
b047ba6f7e
Fix warning
2004-04-15 02:35:39 +00:00
Pierangelo Masarati
9bad466a37
added schema from draft-joslin-config-schema-07.txt
2004-04-15 00:59:18 +00:00
Pierangelo Masarati
165778483b
fix paged results limits
2004-04-15 00:18:17 +00:00
Pierangelo Masarati
d7884b5853
rename macro
2004-04-14 23:23:46 +00:00
Pierangelo Masarati
e46e44c34d
enable use of librewrite for sasl-regexp only if librewrite is compiled (ITS#3084)
2004-04-14 23:17:57 +00:00
Pierangelo Masarati
3643d5fc16
cleanup
2004-04-14 17:47:53 +00:00
Pierangelo Masarati
ec34062ed4
improve logging
2004-04-14 12:50:11 +00:00
Pierangelo Masarati
62198f1c2e
re-fix limits checking logic
2004-04-13 20:38:36 +00:00
Pierangelo Masarati
63035a5b5b
allow optional overlays
2004-04-13 18:49:31 +00:00
Pierangelo Masarati
af71dbc4a8
more improvements
2004-04-13 18:43:59 +00:00
Pierangelo Masarati
61ee5897e0
various improvements
2004-04-13 18:41:00 +00:00
Pierangelo Masarati
d28cf4a77a
add slapsaslauth test tool
2004-04-13 17:26:32 +00:00
Pierangelo Masarati
faa1385f51
cleanup error messages and logs
2004-04-13 17:26:07 +00:00
Pierangelo Masarati
3ea4368913
add slapsaslauth test tool
2004-04-13 17:18:03 +00:00
Pierangelo Masarati
629cd41f58
use librewrite for sasl-regexp (need to #define SLAP_X_SASL_REWRITE; ITS#2886); lots of cleanup
2004-04-13 16:51:25 +00:00
Pierangelo Masarati
6c01508f0c
cleanup needed for tool mode compatibility (may need work)
2004-04-13 16:49:12 +00:00
Pierangelo Masarati
c846d75b8b
lots of cleanup
2004-04-13 16:47:23 +00:00
Pierangelo Masarati
755210c960
use librewrite for sasl-regexp (need to #define SLAP_X_SASL_REWRITE; ITS#2886); lots of cleanup
2004-04-13 16:47:04 +00:00
Pierangelo Masarati
171a47c05b
cleanup error messages and logs
2004-04-13 15:59:51 +00:00
Pierangelo Masarati
eae82899ca
silence warnings
2004-04-13 09:52:12 +00:00
Pierangelo Masarati
b2f17ad4ec
update OIDs
2004-04-13 09:02:03 +00:00
Howard Chu
d5df8e3f40
Fix paged search initialization
2004-04-12 17:59:27 +00:00
Kurt Zeilenga
4834e626ff
Fix overaggressive s/bvalues/values/ changes of previous commit(s)
2004-04-12 17:35:12 +00:00
Pierangelo Masarati
eb73849592
last mod overlay (needs cleanup)
2004-04-10 20:56:09 +00:00
Pierangelo Masarati
3342d93860
disable fancy key by default
2004-04-10 10:17:51 +00:00
Pierangelo Masarati
cbe91bccdb
typo
2004-04-10 10:13:12 +00:00
Pierangelo Masarati
c0c24cfec5
first round of SHADOW flags/isupdate test unification
2004-04-10 10:00:58 +00:00
Pierangelo Masarati
b703cfb008
Added provisions for a layer between the backend and the ODBC
...
for further mucking with data. This can be of use in ill situations
where not all the required massaging can be done on data with SQL
by means of stored procedures, but overlays are called too early
and cannot be used to make data non LDAP compliant.
- only support for bidirectional DN mucking is provided right now
- support for other values mucking is planned
- write is not completely tested yet
- the API could change quite often; don't rely too much on it
other cleanup has been added.
2004-04-10 09:33:55 +00:00
Kurt Zeilenga
071b9466c4
Fix approx matching when there is an equality index but no approx index.
...
Add better approx test
2004-04-09 21:30:55 +00:00
Kurt Zeilenga
6daaf88244
Fix typo
2004-04-09 21:13:41 +00:00
Kurt Zeilenga
07fc395816
s/bvalues/values/
2004-04-09 20:56:46 +00:00
Kurt Zeilenga
a122cda534
s/bvalues/values
2004-04-09 20:55:30 +00:00
Kurt Zeilenga
2f924dc488
Temporary defines for SLAP_*_SHADOW.
2004-04-09 20:43:15 +00:00
Pierangelo Masarati
b157f668b7
honor sizelimit requests on the overall count when pagedResults control is used; cleanup and more features
2004-04-09 17:55:21 +00:00
Pierangelo Masarati
2e13fbeea1
completion of limits w/ paged results control
2004-04-09 15:54:46 +00:00
Pierangelo Masarati
36941332a1
improve previous commit; now special limit on the number of total entries of a paged results can be set via the limits. Need to decide whether the default should be unlimited or what
2004-04-09 12:26:34 +00:00
Pierangelo Masarati
fadf3398d4
honor size limits when using paged results
2004-04-09 11:44:28 +00:00
Pierangelo Masarati
0505c64f08
blind fix to ITS#3069; I assume there's no reason to limit the sessionlog limit to 999
2004-04-09 11:22:07 +00:00
Kurt Zeilenga
3f739ce26e
Now with permissive modify
2004-04-08 22:10:38 +00:00
Kurt Zeilenga
0ec962a08b
Another bug.
2004-04-08 21:45:49 +00:00
Kurt Zeilenga
8198a8fd45
Fix typo in last commit
2004-04-08 21:37:12 +00:00
Kurt Zeilenga
2d09d0a8b1
This should be more complete.
...
But without permissive. That needs to be reworked completely.
2004-04-08 21:35:10 +00:00
Kurt Zeilenga
98baa45e6a
No need to check attribute values when a is NULL
2004-04-08 19:56:50 +00:00
Howard Chu
3fb7e5762b
Fix typo (ITS#3070)
2004-04-08 15:05:55 +00:00
Pierangelo Masarati
a886172472
blind fix of mod_values cleanup
2004-04-08 14:42:02 +00:00
Howard Chu
c86e07dd25
Fix ITS#3063, special case handling of "" suffix
2004-04-08 12:15:26 +00:00
Pierangelo Masarati
8be57d80ba
blind fix (tnx Howard); I'll check it later
2004-04-08 11:44:57 +00:00
Pierangelo Masarati
354372987f
General improvements:
...
- There might be special cases that require the unique key to be a string
(just ran into one); since this is not a generally useful change, it's
hidden behind #defines.
- Added essential support for telephoneNumber match; the same infrastructure
might be useful for other specialized matches (also regular matches should
use it to handle multiple spaces and so!).
- Fixed dynamic backend initialization.
- Cleaned up search base DN normalization (works also if no uppercase function
is available, using case exact matches).
2004-04-08 09:08:28 +00:00
Kurt Zeilenga
6b410330ed
cleanup
2004-04-08 07:04:34 +00:00
Kurt Zeilenga
c7f0438044
bvalue cleanup
2004-04-08 06:49:17 +00:00
Kurt Zeilenga
b217659088
ITS#3066: properly detect duplicates
2004-04-08 06:44:50 +00:00
Howard Chu
8c6fe48806
More dynamic/static cleanup
2004-04-08 05:58:54 +00:00
Howard Chu
f2e1df3ef7
Consolidated static/dynamic backend switches
2004-04-08 05:56:23 +00:00
Howard Chu
cba00e0025
Fix attributions, add HP info
2004-04-08 02:59:28 +00:00
Kurt Zeilenga
49e378af07
cleanup
2004-04-08 02:43:52 +00:00
Jong Hyuk Choi
1c1b2bb6ee
updatedn fix for syncrepl
2004-04-07 17:32:37 +00:00
Kurt Zeilenga
df4db9beb1
SLAPTOOL links should be to final dest directory
2004-04-07 16:55:04 +00:00
Howard Chu
0e2a12142a
Zero out rs->sr_err before send_search_entry
2004-04-07 16:41:17 +00:00
Howard Chu
76453e82ea
Cleanup, fix for SASL/PLAIN
2004-04-07 15:26:25 +00:00
Howard Chu
692c37720f
Fix internal search limits (due to recent limit_check change)
2004-04-07 15:10:26 +00:00
Kurt Zeilenga
44725e7303
use BER_BVNULL
2004-04-07 04:11:43 +00:00
Kurt Zeilenga
abbbbbe3bb
cleanup
2004-04-07 03:32:37 +00:00
Howard Chu
7122df3573
Fix search limits due to frontend limit_check change
2004-04-06 23:29:33 +00:00
Kurt Zeilenga
dd726c5b6f
delete from dn2id database bug in back-ldbm/idl.c (ITS#3046)
...
Suggested fix provided by Wout van Albada
2004-04-06 21:54:07 +00:00
Kurt Zeilenga
0c2c38c02f
ITS#3059: modrdn should delete than add.
2004-04-06 21:06:35 +00:00
Kurt Zeilenga
f7d8d55d84
cleanup
2004-04-06 19:42:37 +00:00
Kurt Zeilenga
158e5727b4
ITS#3056 partial fix - from a slurpd perspective, the updatedn
...
should be allowed to the entry at the naming prefix (database suffix).
2004-04-06 19:32:17 +00:00
Jong Hyuk Choi
b844e7fe42
Fix for ITS#3055
2004-04-06 17:58:03 +00:00
Pierangelo Masarati
7b4b144e7e
revert unnecessary change
2004-04-06 13:30:52 +00:00
Pierangelo Masarati
88c6f2ed38
initialize overlays
2004-04-06 13:19:12 +00:00
Pierangelo Masarati
25fce61f70
silence erroneous warning
2004-04-06 12:22:51 +00:00
Pierangelo Masarati
53e69064ff
load overlays also with tools
2004-04-06 12:22:29 +00:00
Howard Chu
464af5aeeb
Don't try to use runqueue in SLAP_TOOL_MODE
2004-04-06 12:21:49 +00:00
Pierangelo Masarati
779b3ba801
wrong arg order :)
2004-04-06 09:55:09 +00:00
Pierangelo Masarati
a11dc61e05
rework be_isupdate accordingly to be_isroot
2004-04-06 09:42:40 +00:00
Pierangelo Masarati
2808fb2cb7
fix addition of chk_referrals to overlay stack
2004-04-06 09:33:14 +00:00
Pierangelo Masarati
e17be551a4
fix previous commit
2004-04-06 08:47:59 +00:00
Kurt Zeilenga
13d25a675f
cleanup
2004-04-06 01:48:36 +00:00
Kurt Zeilenga
c7e89d57be
swap be_isroot and be_isroot_dn symbols
2004-04-06 01:06:20 +00:00
Kurt Zeilenga
37ef5350bd
Rework return of update referrals
2004-04-06 00:47:21 +00:00
Kurt Zeilenga
2095a7bc51
Fix last commit
2004-04-05 23:49:06 +00:00
Pierangelo Masarati
0f867b9577
revert erroneous commit; cure the test the right way
2004-04-05 23:47:17 +00:00
Kurt Zeilenga
9a64fdb991
use SLAP_DBFLAGS instead of be->be_flags
2004-04-05 23:42:59 +00:00
Pierangelo Masarati
313821118e
revert erroneous commit
2004-04-05 23:12:38 +00:00
Howard Chu
4b2febb3db
Allow users to change their own password by default, fix history check
...
when SafeModify is false.
2004-04-05 23:09:57 +00:00
Kurt Zeilenga
4ef7e08afe
updateref should be allowed with syncrepl (without updatedn)
2004-04-05 23:08:24 +00:00
Kurt Zeilenga
843400deb7
Add SLAP_SHADOW(be): true if be is a shadow database (via any mech)
2004-04-05 21:54:40 +00:00
Kurt Zeilenga
2fcaa15b90
First rounds of backend/database flag cleanup
2004-04-05 21:00:16 +00:00
Kurt Zeilenga
4122a9dd6a
Use SLAP_MONITOR(be) to check flag
2004-04-05 20:24:18 +00:00
Pierangelo Masarati
6a1dd9a1cd
exploit new frontend API 2 protocol error mapping; use urldesc...
2004-04-05 17:36:53 +00:00
Pierangelo Masarati
4e71b85481
exploit new frontend API 2 protocol error mapping
2004-04-05 17:32:59 +00:00
Pierangelo Masarati
e516247068
exploit new isroot_dn helper
2004-04-05 17:31:27 +00:00
Pierangelo Masarati
b89c894eff
add new isroot_dn helper
2004-04-05 17:30:30 +00:00
Pierangelo Masarati
f3ee96399e
move API 2 protocol error mapping to frontend; add new isroot_dn helper
2004-04-05 17:30:08 +00:00
Pierangelo Masarati
f6126f7db1
move API 2 protocol error mapping to frontend
2004-04-05 17:29:06 +00:00
Pierangelo Masarati
873be21a22
add referral check to functions elaborated by overlays
2004-04-05 17:28:13 +00:00
Pierangelo Masarati
0b37fb4eb1
check in portions of code is done on length rather than pointer
2004-04-05 17:25:22 +00:00
Howard Chu
939ca7705b
Avoid mktime/gmtime in parse_time(), just compute time_t ourselves.
2004-04-05 13:38:43 +00:00
Howard Chu
49da68a2bb
ITS#3048 delete sasl_checkpass support
2004-04-05 11:23:47 +00:00
Howard Chu
65e409817e
Fix prev commit, days at month boundaries
2004-04-04 15:40:14 +00:00
Howard Chu
ebd7bc27e7
Fix parse_time GMT computation for daylight savings time
2004-04-04 13:40:56 +00:00
Pierangelo Masarati
2387d2aff8
apparently accept() doesn't fill the sun_path field of the peer socket; hack it
2004-04-03 18:48:03 +00:00
Pierangelo Masarati
58c637479d
return error code only if required (ITS#3042)
2004-04-03 12:15:33 +00:00
Howard Chu
e1fc5012bd
Don't manipulate password history if not configured in policy
2004-04-03 06:21:03 +00:00
Kurt Zeilenga
ad6969e6cd
Add a yet-to-be-tested deliveryMethodValidate function
2004-04-02 02:25:36 +00:00
Kurt Zeilenga
6aded32c94
cleanup
2004-03-27 23:25:50 +00:00
Howard Chu
d1d1a0607e
Restore build rule for dynamic backends.
2004-03-27 23:20:55 +00:00
Kurt Zeilenga
100facedf3
Don't return subordinate referrals (per RFC 3296)
2004-03-27 22:47:31 +00:00
Kurt Zeilenga
2876b3bb84
Don't disclose information to attacker.
...
Referrals need work (not sure why return referrals for bind requests)
2004-03-27 18:19:52 +00:00
Kurt Zeilenga
9b9127eb3f
Cleanup
2004-03-27 18:19:12 +00:00
Jong Hyuk Choi
c1b50022e5
reintroduce changes made in tools/slapadd.c v1.64 (looks like missing during code move)
2004-03-26 21:54:06 +00:00
Kurt Zeilenga
855c22d862
Add numericStringOrderingMatch rule (ITS#2988)
2004-03-26 18:58:01 +00:00
Jong Hyuk Choi
4afcbf3131
fix for ITS#2995
2004-03-25 22:09:08 +00:00
Jong Hyuk Choi
c3d2afbbbe
patch for ITS#2948
2004-03-25 19:20:19 +00:00
Howard Chu
54fba01be2
ITS#3036 check for syncrepl
2004-03-25 09:40:02 +00:00
Howard Chu
1a314f3bca
ITS#3038 64bit compatibility (oops)
2004-03-25 09:25:25 +00:00
Kurt Zeilenga
3a468f5d90
cleanup
2004-03-24 23:44:45 +00:00
Howard Chu
81df94acaa
Silence warning
2004-03-24 10:47:31 +00:00
Kurt Zeilenga
bd765b849d
ITS#2768: configuring slurpd's interval between replog checks
...
based upon a patch submitted by Jason Townsend (Apple).
2004-03-23 01:12:11 +00:00
Kurt Zeilenga
ada53492fd
Seems all overlays are going here (at present)
2004-03-20 23:10:58 +00:00
Howard Chu
be16224b03
A toy/demo overlay for collective attributes.
2004-03-20 21:54:31 +00:00
Howard Chu
5db888434b
Overlay API notes. work in progress, please comment.
2004-03-20 20:30:57 +00:00
Pierangelo Masarati
2c74b5dbed
follow search references as well
2004-03-20 16:35:55 +00:00
Howard Chu
e9188de738
Replaced slap_overinfo.oi_bd with oi_orig.
2004-03-20 12:56:31 +00:00
Howard Chu
09a379394a
ITS#3033 fix debug msg segv
2004-03-20 09:51:33 +00:00
Howard Chu
9f5667c703
Restructure to release locks before sending result
2004-03-20 09:25:00 +00:00
Howard Chu
aec5d60620
Use REP_MATCHED_MUSTBEFREED reply flag
2004-03-20 09:24:01 +00:00
Kurt Zeilenga
9b91e0b067
Add readme.
2004-03-19 16:37:20 +00:00
Howard Chu
cbabd269a5
ITS#2457 Added LUTIL_SLASHPATH macro and func for converting
...
forward-slash paths to Windows back-slash format.
2004-03-19 08:06:42 +00:00
Kurt Zeilenga
56cdaa594c
ITS#3032: retry when GSSAPI creds are not available
2004-03-19 06:16:45 +00:00
Pierangelo Masarati
6beb139e61
fix nasty subtype bug (too many results)
2004-03-18 23:38:55 +00:00
Kurt Zeilenga
ec4e7ef232
Add note that some of the unimplemented matching rules are
...
now described in RFC 3698. Would be good to implement these.
2004-03-18 21:39:57 +00:00
Pierangelo Masarati
d3de8c3336
cleanup error messages
2004-03-18 20:11:49 +00:00
Pierangelo Masarati
9d48197461
to be conservative ...
2004-03-18 19:45:34 +00:00
Pierangelo Masarati
da79e55e4b
oops, I did it again
2004-03-18 19:45:15 +00:00
Pierangelo Masarati
1203eb4c82
cleanup rwm overlay; init/destroy session cookie; strip (optional) leading 'rwm-' from config directives
2004-03-18 19:21:57 +00:00
Pierangelo Masarati
fa3baaeae9
overlays reworking
2004-03-18 18:59:46 +00:00
Howard Chu
ea14637a0d
Fix prev commit
2004-03-18 10:51:18 +00:00
Howard Chu
d1292c1b14
Added ppolicy_use_lockout keyword; Default behavior is not to issue the
...
PP_accountLocked error for locked accounts. (Gives too much information
to attackers.)
2004-03-18 10:35:54 +00:00
Howard Chu
def2fab7b5
Added ppolicy_hide_lockout keyword
2004-03-18 10:20:27 +00:00
Kurt Zeilenga
a2b2dfd461
Hide noop control until published and code is updated.
2004-03-18 04:06:20 +00:00
Kurt Zeilenga
feef2424ad
Fix typo in commit before last
2004-03-18 01:20:14 +00:00
Kurt Zeilenga
f311255e3e
cleanup
2004-03-18 01:18:35 +00:00
Kurt Zeilenga
e323437c6a
cleanup for release engineering
2004-03-18 01:06:39 +00:00
Pierangelo Masarati
5ddbd69451
improve previous commit
2004-03-17 23:43:00 +00:00
Pierangelo Masarati
764aa5d938
move DN/config test in slapdn/slaptest
2004-03-17 23:25:09 +00:00
Pierangelo Masarati
cd8e154e4f
works in most cases ...
2004-03-17 22:37:59 +00:00
Pierangelo Masarati
802e3cc069
add labeledURI to back-ldap databases
2004-03-17 22:37:40 +00:00
Pierangelo Masarati
66ee9b2d73
carefully check the URI
2004-03-17 22:36:47 +00:00
Kurt Zeilenga
45332097a6
password always replaces old passwords
2004-03-17 22:21:21 +00:00
Kurt Zeilenga
5ff057089b
cleanup
2004-03-17 22:14:32 +00:00
Howard Chu
2808c8d302
Fix deadlock in remove_query_data
2004-03-17 20:45:14 +00:00
Howard Chu
448239a6c9
Fix a couple SEGVs
2004-03-17 19:33:35 +00:00
Howard Chu
2821d0bdd6
Add connection_fake_init()
2004-03-17 19:33:13 +00:00
Howard Chu
829bc9969d
Fix passing of state info to over_back_response
2004-03-17 17:59:47 +00:00
Pierangelo Masarati
3fe2cec561
only works with explicit overlay instantiation
2004-03-17 12:21:40 +00:00
Pierangelo Masarati
adb152972f
fix previous commit
2004-03-17 11:58:59 +00:00
Pierangelo Masarati
ec6a663820
reset SlapReply flags
2004-03-17 11:50:15 +00:00
Pierangelo Masarati
b3d238465d
added callbacks to most of the functions; more cleanup
2004-03-17 11:14:30 +00:00
Pierangelo Masarati
f07e485e82
search/unbind works; need to consistently add callbacks to other ops
2004-03-17 10:05:38 +00:00
Pierangelo Masarati
c0606cdfb7
reset flags (need to check consistence across slapd)
2004-03-17 09:59:04 +00:00
Howard Chu
dbade4ad8c
Fix account lock check
2004-03-17 09:54:49 +00:00
Pierangelo Masarati
32573b3418
need to turn it into a man page, when it freezes
2004-03-17 09:26:50 +00:00
Pierangelo Masarati
737f3d8636
slight improvements; doesn't work yet
2004-03-17 09:25:59 +00:00
Pierangelo Masarati
e9c8fd5ee6
actually, teh backend could also be selected on a per-operation basis, if "relay <real naming comntext>" is not provided
2004-03-17 07:56:19 +00:00
Pierangelo Masarati
ba470467af
add back-relay (doesn't work yet)
2004-03-17 01:03:21 +00:00
Pierangelo Masarati
fc28663a14
seeAlso to overlays as well
2004-03-16 22:18:45 +00:00
Howard Chu
52b3ca4a80
Fix non-standard OIDs
2004-03-16 22:00:10 +00:00
Pierangelo Masarati
c76427d8db
add overlay subsystem and connect it to databases
2004-03-16 21:58:29 +00:00
Pierangelo Masarati
16d820ad84
add iterator on overlays
2004-03-16 21:56:40 +00:00
Pierangelo Masarati
9f5f75c7b0
init 'oi' also when the backend already has overlays...
2004-03-16 21:55:45 +00:00
Pierangelo Masarati
a453df6280
add DN check mode; rework check sinfrastructure
2004-03-16 18:36:38 +00:00
Pierangelo Masarati
4fa18e1b37
remove {} from procedures invocation, as noted in ITS#2641; copied annotations from postgres example
2004-03-16 15:15:14 +00:00
Pierangelo Masarati
5ff958a5fd
fix brain dead count (part of ITS#2641)
2004-03-16 11:03:27 +00:00
Howard Chu
23a9893726
Password policy schema from draft 7
2004-03-16 10:34:24 +00:00
Howard Chu
b59da518cf
Password policy overlay, implements draft 7. The spec is still in flux;
...
this module should not be used in production.
2004-03-16 10:15:18 +00:00
Howard Chu
71bc8817e6
Revert "delete old" change; doesn't work for salted hashes.
2004-03-16 04:24:39 +00:00
Howard Chu
075137b8dd
Fix prev commit
2004-03-16 03:24:08 +00:00
Pierangelo Masarati
27f28d5270
handle overlays
2004-03-16 01:22:34 +00:00
Howard Chu
db52f51943
Preserve old slap_passwd_hash() signature, add slap_passwd_hash_type()
2004-03-15 20:58:41 +00:00
Howard Chu
0c9b308781
Delete old password if provided
2004-03-15 19:52:17 +00:00
Kurt Zeilenga
3e586bd393
cleanup
2004-03-14 00:59:37 +00:00
Howard Chu
e05b4b7db6
Cleanup result handling
2004-03-12 21:08:37 +00:00
Howard Chu
cdeda34029
Add c_conn_idx, to simplify external modules managing per-connection state
2004-03-12 18:22:37 +00:00
Pierangelo Masarati
ed1f5965bd
fix error message
2004-03-11 13:02:13 +00:00
Pierangelo Masarati
246fa41c96
"searchFilter" by default must be empty
2004-03-10 21:53:39 +00:00
Jong Hyuk Choi
33442d7ced
for ITS#3105
2004-03-10 21:49:08 +00:00
Pierangelo Masarati
2f4678f204
"searchFilter" by default must be empty
2004-03-10 21:44:22 +00:00
Pierangelo Masarati
c507808524
add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite
2004-03-10 21:41:02 +00:00
Pierangelo Masarati
6a75d14930
revert previous commit
2004-03-10 21:12:53 +00:00
Pierangelo Masarati
65b49dd312
add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite
2004-03-10 21:11:14 +00:00
Pierangelo Masarati
823fa1705e
rewrite entry DN-valued attrs
2004-03-10 19:04:18 +00:00
Pierangelo Masarati
d779a3d543
use prepare/bind/execute instead of bind/execdirect (addresses ITS#2641)
2004-03-10 14:51:41 +00:00
Howard Chu
35c774d3b8
Yet more for ITS#3008. Seems to work properly now.
2004-03-10 09:11:20 +00:00
Howard Chu
3853fade60
More for ITS#3008
2004-03-10 08:00:41 +00:00
Howard Chu
cac30b1855
ITS#3008 fix value-based ACLs
2004-03-10 02:59:03 +00:00
Howard Chu
75725a7ad8
Turn off syslog for slap tools
2004-03-10 02:44:38 +00:00
Howard Chu
826de96417
Minor cleanup
2004-03-10 02:44:10 +00:00
Jong Hyuk Choi
2b77fb424c
backend operations check
2004-03-09 20:43:19 +00:00
Jong Hyuk Choi
4bb948620a
checking limits at the frontend
2004-03-09 20:43:01 +00:00
Pierangelo Masarati
25b24289d2
fix typos
2004-03-09 20:21:10 +00:00
Pierangelo Masarati
006745430e
allow "expand" style in peername, sockname, sockurl as well; more sanity checks
2004-03-09 19:44:14 +00:00
Pierangelo Masarati
042869366d
use "expand" instead of "regex" for group ACLs that allow substring expansion, preserving backwards compatibility; add sanity checks
2004-03-09 16:33:05 +00:00
Pierangelo Masarati
490e1e4aa9
move limits check and preparation in a helper function
2004-03-09 15:59:01 +00:00
Pierangelo Masarati
960b5f8656
add sanity checks
2004-03-09 14:45:10 +00:00
Pierangelo Masarati
82019df71a
cleanup
2004-03-09 14:33:23 +00:00
Pierangelo Masarati
f145457d0c
move limits check and preparation in a helper function
2004-03-09 14:32:00 +00:00
Luke Howard
d249714033
s/SERVER_SEARCH_FLAG/SEARCH_FLAG
2004-03-09 14:12:34 +00:00
Luke Howard
87a02dbb14
Support server search flag control as alias for permissive modify
...
Recognise tree delete control - needs backend support
2004-03-09 14:05:01 +00:00
Pierangelo Masarati
28285002a1
deny an operation
2004-03-09 10:23:19 +00:00
Pierangelo Masarati
2fe1eb921d
cleanup
2004-03-09 07:08:04 +00:00
Pierangelo Masarati
6a425692be
another round at rwm; now add and compare are nearly complete; error handling is in place
2004-03-09 07:06:20 +00:00
Jong Hyuk Choi
ede2f47452
supress log message for glue add case
2004-03-09 00:34:32 +00:00
Jong Hyuk Choi
964dcc04a2
patch to fix consumer replica cookie format in slaptools
2004-03-09 00:34:01 +00:00
Pierangelo Masarati
a4e062ca36
apply advanced peername ACL (ITS#2907)
2004-03-08 18:49:12 +00:00
Pierangelo Masarati
091246c6fd
move limits evaluation to frontend
2004-03-08 18:12:45 +00:00
Pierangelo Masarati
4645eeb5ec
cleanup DN style in limits
2004-03-08 13:13:30 +00:00
Pierangelo Masarati
ac0d45179f
log set in ACL (ITS#2949)
2004-03-08 11:09:49 +00:00
Pierangelo Masarati
2d8467d480
declarations must occur before instructions
2004-03-08 11:01:52 +00:00
Howard Chu
48ac610097
ITS#3004 fix again
2004-03-06 19:16:20 +00:00
Howard Chu
113870c194
Revert to original code
2004-03-06 19:15:39 +00:00
Pierangelo Masarati
5c6ec10f48
massage normalized DN when either is fine
2004-03-06 16:49:08 +00:00
Pierangelo Masarati
29a5162483
cleanup
2004-03-06 16:47:58 +00:00
Pierangelo Masarati
9b6d816fe1
handle unknown attribute type (ITS#3005)
2004-03-06 15:58:26 +00:00
Pierangelo Masarati
abf2df7a11
initial round of fixes related to ITS#2986
2004-03-06 15:01:16 +00:00
Howard Chu
ea0d619dae
Store IDs in BeigEndian format on disk
2004-03-06 12:41:29 +00:00
Howard Chu
ef7195fc31
Store IDs in BigEndian format on disk
...
bdb_idl_cache_put replaces existing entries instead of ignoring them
2004-03-06 12:41:00 +00:00
Howard Chu
23b2ce8b3a
ITS#3004, fix IDL cache AVL comparisons
2004-03-06 12:29:19 +00:00
Pierangelo Masarati
5716b7f1b2
document saslAuthzTo/saslAuthzFrom new syntax; add onelevel style to DN type
2004-03-06 11:00:49 +00:00
Pierangelo Masarati
2b393962fc
fix continuation of ITS#2999
2004-03-06 09:33:24 +00:00
Howard Chu
efd23f5c0c
Fix prev commit
2004-03-05 19:29:02 +00:00
Howard Chu
9b16d161d5
Take advantage of IDL cache in bdb_idl_insert/delete_key
2004-03-05 15:41:30 +00:00
Howard Chu
18bb805736
Fix prev commit
2004-03-05 15:40:37 +00:00
Howard Chu
c5d8c776ca
Set IDL cache to 10x Entry cache by default
2004-03-05 13:46:12 +00:00
Howard Chu
896beebadc
unifdef SLAP_IDL_CACHE
2004-03-05 13:43:18 +00:00
Howard Chu
c558bd49bc
ITS#2992 Windows fixes from Alexey Melnikov
2004-03-05 12:24:06 +00:00
Howard Chu
87a4c01b29
ITS#2998 rename pcl -> be_pcl
2004-03-05 10:33:41 +00:00
Pierangelo Masarati
f5ffcae717
cleanup
2004-03-05 09:56:16 +00:00
Pierangelo Masarati
b761105439
improve fix to ITS#2999: don't care about limits after abandon
2004-03-04 23:02:30 +00:00
Pierangelo Masarati
23b0e84cb8
fix ITS#2999
2004-03-04 22:56:49 +00:00
Howard Chu
de1ee3757b
Fix missing EQAULITY rules
2004-03-03 10:51:32 +00:00
Howard Chu
896271195a
ITS#2974 fix hole array allocation
2004-03-02 23:01:04 +00:00
Howard Chu
4504b48c6b
default_passwd_hash now takes a list of schemes
...
passwordModify exop will generate all the configured hashes
2004-03-02 22:12:23 +00:00
Howard Chu
5f63dfc566
lutil_passwd_hash result berval is in argument list now
2004-03-02 22:11:31 +00:00
Howard Chu
1b98cd6262
Fix SLAPI_ADD_RESCONTROLS
2004-03-02 20:31:37 +00:00
Howard Chu
4a8bb3991f
ITS#2961 check for NULL authcDN
2004-03-02 18:37:49 +00:00
Howard Chu
e729d96ecd
ITS#2985 fix slappasswd typo
2004-03-01 14:54:05 +00:00
Howard Chu
b480d7c9ff
Added pwdexop request structure to avoid redundant parsing
2004-02-29 19:04:34 +00:00
Pierangelo Masarati
d015b9583c
handle filter computed in a more granular way (ITS#2977)
2004-02-28 16:05:59 +00:00
Pierangelo Masarati
ca5515b460
fix the problem right now
2004-02-28 15:20:56 +00:00
Pierangelo Masarati
fa2cb48f3a
should fix ITS#2983 - total count of ops initiated/completed in root of operations branch
2004-02-28 14:36:19 +00:00
Kurt Zeilenga
c850d82559
Move to Attic
2004-02-27 01:23:44 +00:00
Howard Chu
57ba4cac66
Merged slap tools with main slapd binary; installs symlinks.
...
tools directory is now obsolete.
2004-02-26 19:03:41 +00:00
Howard Chu
2d0af83c71
ITS#2934 - don't touch conn->c_sasl_dn for Simple Binds
2004-02-26 11:48:34 +00:00
Howard Chu
7fe35bcddb
ITS#2978 make sure liboverlays.a is always built and used
2004-02-26 03:38:38 +00:00
Howard Chu
0aebe2e51a
ITS#2970 fix build_new_dn for zero-length parent DN
2004-02-26 02:58:12 +00:00
Jong Hyuk Choi
4e3c30bbf0
misc addition to the previous glueing commit
2004-02-24 01:55:59 +00:00
Jong Hyuk Choi
d7d19b7420
Glue entry pruning: delete parent entries when they are glues and become leaves
2004-02-23 22:49:24 +00:00
Jong Hyuk Choi
372dcb78eb
Glue entry pruning : delete parent entries after modrdn when they are glue and become leaf entry
2004-02-23 22:48:46 +00:00
Jong Hyuk Choi
0c58aa3ab9
Glue entry pruning support: delete the parent entries when they are glue and become leaf
2004-02-23 22:47:55 +00:00
Pierangelo Masarati
6f9b99bc69
improve filter error logging in case of unknown attribute type
2004-02-23 11:45:19 +00:00
Jong Hyuk Choi
53d191e14d
syncrepl update: 1) improve error handling 2) glueing support for non-leaf deletion (TODO : deletion of leaf glue entries in the delete / modrdn code)
2004-02-22 20:44:44 +00:00
Pierangelo Masarati
4e57108991
allow search limits based on groups (ITS#2967)
2004-02-18 16:40:36 +00:00
Jong Hyuk Choi
528ea2f808
sync with the man page slapadd(8) : does not change syncrepl entries in the ldif file when neither of the promotion (-p) or the demotion (-r) option is given.
2004-02-17 23:56:18 +00:00
Pierangelo Masarati
129aa2884b
fix numericStringMatch (ITS#2938)
2004-02-17 20:30:37 +00:00
Pierangelo Masarati
1ac20b1f02
improve previous commit
2004-02-17 13:34:51 +00:00
Pierangelo Masarati
cb3d538ea3
allow no-user-modification propagations if back-ldap is used for replication (i.e. updatedn is defined)
2004-02-17 12:39:42 +00:00
Howard Chu
8a55795fbe
ITS#2888 fix back-ldap to check result of send_search_entry.
...
Make sure sizelimit errors are propagated.
2004-02-13 02:44:13 +00:00
Howard Chu
4479b4c417
ITS#2962 - EBCDIC db_version string
2004-02-13 00:53:02 +00:00
Howard Chu
b36e3a1ab0
ITS#2960 - make sure bi_open gets invoked
2004-02-13 00:42:21 +00:00
Kurt Zeilenga
5d0f6e75b4
Don't defer abandon due to pending
2004-02-10 00:17:21 +00:00
Kurt Zeilenga
3c1b2ed9cb
ITS#2959: provide reason for deferring operation in log message
...
Also, took away abandon operations blank check against deferment.
Abandon must be deferred in some cases (such as when other operations
are pending) and should be deferred in some other cases (such as too
many threads).
2004-02-09 21:33:21 +00:00
Jong Hyuk Choi
7707a66d33
fix for ITS#2947
2004-02-06 22:41:55 +00:00
Howard Chu
12b09c58e2
Another EBCDIC syslog fix
2004-02-04 23:00:05 +00:00
Pierangelo Masarati
253f70e0c2
fix duplicate key in metadata
2004-01-31 10:31:13 +00:00
Kurt Zeilenga
733c3c5f87
Remove now redundant error check
2004-01-30 05:33:27 +00:00
Howard Chu
e0e3560cf5
Use Btree instead of Hash for indexing
2004-01-28 05:00:56 +00:00
Jong Hyuk Choi
d84a5d29ab
Fix the missing delete problem (reported by Doug Council)
2004-01-27 18:16:40 +00:00
Howard Chu
89812424f4
Skip spurious Statslog's for callback-intercepted responses.
2004-01-22 01:20:15 +00:00
Howard Chu
54453690f6
ITS#2888 once more, fix sizelimit propagation
2004-01-21 10:25:41 +00:00
Pierangelo Masarati
eeb9a07823
make file names more slapd-ish; add attribute inheritance to search attributes; precompile uppercased search
2004-01-19 22:13:15 +00:00
Ralf Haferkamp
8b3a69ae39
Additional fix for ITS#2924: check for availability of
...
glueBack->be_entry_close before calling it
2004-01-19 14:38:15 +00:00
Pierangelo Masarati
6c27bf332c
cleanup
2004-01-17 18:26:36 +00:00
Pierangelo Masarati
945f3fc9d0
cleanup
2004-01-17 18:07:43 +00:00
Pierangelo Masarati
c4a8f58a0d
honor attributeType inheritance as well
2004-01-17 16:27:11 +00:00
Pierangelo Masarati
d65f402058
improve fix to ITS#2923; note that suffix massaging is inherently flawed, because comperisons should always occur on Normalized DN, while massaging can also occur on Pretty DN, but there is no guarantee they have the same length or any length-based comparison can work; so in any case, we should pass the Normalized DN and, if the Pretty DN is present, massage it as well accordingly
2004-01-17 12:25:46 +00:00
Pierangelo Masarati
2c049ebb42
fix ITS#2923
2004-01-17 11:48:14 +00:00
Pierangelo Masarati
fa856463fe
now I remember why I introduced the 'has_ldapinfo_dn_ru' flag
2004-01-17 11:33:13 +00:00
Howard Chu
4b88f8c1b2
slapd_shutdown/syncrepl fix
2004-01-16 20:02:07 +00:00
Howard Chu
f77474f1df
ITS#2924, fix transition to subsequent subordinates
2004-01-16 19:07:03 +00:00
Pierangelo Masarati
aa39de6db3
should improve readability and (hopefully) decrease traffic on openldap-software; sorry I can't test it right now
2004-01-16 18:56:22 +00:00
Howard Chu
c9d033ae30
Fix syncrepl slapd_shutdown detection, would not stop on a gentlehup.
2004-01-15 21:35:05 +00:00
Howard Chu
fc32304934
sl_malloc tweak
2004-01-15 21:32:58 +00:00
Howard Chu
bb1a97544d
ITS#2921, fix client connection handling for HAVE_WINSOCK
2004-01-15 20:20:17 +00:00
Howard Chu
d720ebdbbd
Fix static mingw dependency
2004-01-15 07:25:35 +00:00
Pierangelo Masarati
92a05ccf74
add extra level of parens only if required
2004-01-13 00:33:14 +00:00
Howard Chu
36914d7be6
trim prev commit
2004-01-12 04:15:51 +00:00
Howard Chu
a8dbfd322a
Really fix ITS#2905
2004-01-12 04:09:52 +00:00
Howard Chu
778516cc8c
Fix ITS#2905, properly detect duplicate entries
2004-01-12 03:54:01 +00:00
Pierangelo Masarati
fbb72268fb
warn if no suffix or no init function are present
2004-01-11 23:56:13 +00:00
Pierangelo Masarati
1a9bc6655d
don't segfault if a database doesn't have the suffix
2004-01-11 23:40:33 +00:00
Pierangelo Masarati
04096a3cca
fix ITS#2901
2004-01-11 22:52:07 +00:00
Pierangelo Masarati
db395f2cd7
don't search if the filter is invalid; search also if an attribute is undefined for that objectclass, the filter may succeed anyway
2004-01-11 22:50:25 +00:00
Pierangelo Masarati
93725181af
cleanup avl duplicate handling
2004-01-10 11:12:53 +00:00
Pierangelo Masarati
634324d5b9
allow multiple attribute definitions; honor ldap_entry_objclasses in filter; major cleanup
2004-01-10 10:42:44 +00:00