Pierangelo Masarati
ca8a734b92
make sure we notice if this gets out of sync with slap_operation_e
2005-07-21 14:13:57 +00:00
Luke Howard
857543c1f8
add prototype for overlay_op_walk()
2005-07-21 13:35:59 +00:00
Luke Howard
772b95e588
Add overlay_op_walk()
2005-07-21 13:35:32 +00:00
Luke Howard
13a8d5046f
Add slap_operation_t
2005-07-21 13:35:19 +00:00
Pierangelo Masarati
fe2492309a
improve messages
2005-07-21 08:54:04 +00:00
Luke Howard
0bf8a366a5
SLAPI cleanups
2005-07-21 08:39:37 +00:00
Luke Howard
7129f9ef91
Factor out common code in SLAPI internal ops
...
Allow internal operation pblock to forward connection/operation parameters
2005-07-21 08:34:25 +00:00
Luke Howard
8d600eca08
Enable SLAPI pre-entry plugins (we really need to move SLAPI into an
...
overlay...)
2005-07-21 04:01:54 +00:00
Pierangelo Masarati
1b11741a30
mostly revert previous commit
2005-07-20 19:26:46 +00:00
Pierangelo Masarati
c789d494c4
allow to unregister (and free) memory handling functions
2005-07-20 19:07:04 +00:00
Pierangelo Masarati
3df83d7089
destroy cache on exit
2005-07-20 14:59:56 +00:00
Pierangelo Masarati
628da7be89
fix uninitialized value use
2005-07-20 14:19:52 +00:00
Pierangelo Masarati
6f3363f0d9
Under some circumstances, port 9010 is already in use and may cause problems to referrals whose server is supposed to be unavailable
2005-07-20 11:17:06 +00:00
Pierangelo Masarati
e6ecb77b0e
drop stored procedures
2005-07-20 11:16:09 +00:00
Luke Howard
d6d202693d
Fix order of statements in SLAPI internal modrdn implementation
2005-07-20 08:19:22 +00:00
Luke Howard
f12103f36b
Fix regression in SLAPI ACL plugins owing to accidental commit
...
Support ACL_WADD/ACL_WDEL in SLAPI ACL evaluation/plugins
2005-07-20 08:00:24 +00:00
Luke Howard
25ae11ccd9
Unset intop callback parameters before they go out of scope
2005-07-20 04:24:02 +00:00
Pierangelo Masarati
77ad940c10
more on deadlock/dangling pointers
2005-07-20 00:50:35 +00:00
Pierangelo Masarati
5748d3ff72
connection_client leave c_peer_* fields NULL
2005-07-20 00:49:33 +00:00
Pierangelo Masarati
a27a32ccc4
fix arbitrary precision number display when no big number library is available
2005-07-19 21:56:15 +00:00
Pierangelo Masarati
499906f464
use appropriate format when no arbitrary precision library is available
2005-07-19 19:31:24 +00:00
Pierangelo Masarati
c4aedadc56
improve previous commit
2005-07-19 19:13:50 +00:00
Pierangelo Masarati
b838f3e2a1
Solaris doesn't like being passed NULL pointers to [vsf[n]]printf
2005-07-19 18:59:50 +00:00
Pierangelo Masarati
ac590d6b55
fix previous commit
2005-07-19 18:03:06 +00:00
Luke Howard
7bd627d491
Reenable pre-result plugins, these were supported in OpenLDAP 2.2
...
Pre-entry and pre-referral plugins will be enabled after testing
2005-07-19 15:39:25 +00:00
Luke Howard
04e499e28c
back out previous commit, fat fingers
2005-07-19 15:36:24 +00:00
Luke Howard
2d7a2144dc
result.c
2005-07-19 15:35:00 +00:00
Pierangelo Masarati
551dab0d03
more cleanup
2005-07-19 15:13:32 +00:00
Pierangelo Masarati
0f18805d65
Memory cleanup
2005-07-19 14:39:43 +00:00
Pierangelo Masarati
be1a5057a9
ObjectClass cleanup
2005-07-19 14:39:19 +00:00
Pierangelo Masarati
16934eb8ef
cleanup
2005-07-19 14:38:55 +00:00
Pierangelo Masarati
707082fcb7
AttributeType cleanup
2005-07-19 14:38:34 +00:00
Pierangelo Masarati
c5c0c3e4f5
fix previous commit (ITS#3871)
2005-07-19 14:25:10 +00:00
Pierangelo Masarati
882f43bf01
more about rewrite leaks
2005-07-19 14:24:26 +00:00
Pierangelo Masarati
efe74fbae0
fix yet another leak
2005-07-19 11:16:24 +00:00
Luke Howard
c8ef1e1861
Always set sml_desc when converting from LDAPMods
2005-07-19 09:37:36 +00:00
Luke Howard
0acd5d97bd
Check op->o_bd != NULL
2005-07-19 08:40:26 +00:00
Luke Howard
4832af0a50
Fix callback API for cast safety
...
Copy controls returned by backend to pblock before they go out of scope
2005-07-19 08:39:56 +00:00
Luke Howard
6f5dde0734
Fix pointer error in readback control
2005-07-19 08:39:05 +00:00
Luke Howard
2007c4b8b9
Add slap_parse_ctrl() API for parsing already decoded controls; needed
...
for SLAPI internal operations to use controls
2005-07-19 08:38:46 +00:00
Luke Howard
5eda803bc1
Add slapi_x_filter_set_attribute_type() API
2005-07-19 06:55:56 +00:00
Luke Howard
9e9c4b5397
Implement more of SLAPI 5.x - all SLAPI internal operations now take pblocks
...
as the canonical argument (wrappers for old APIs are provided)
2005-07-19 06:48:45 +00:00
Luke Howard
07ffdd8893
Associate global plugins with frontendDB
...
When unparsing plugin configuration, don't crash if no arguments
(dynamically registered plugins such as computed attributes don't
have arg vectors)
2005-07-19 06:47:43 +00:00
Luke Howard
ed424c55ee
Support for pre-entry, pre-result, pre-referral SLAPI plugins (not
...
enabled yet; behind #ifdef notdef)
2005-07-19 06:46:53 +00:00
Luke Howard
7de0268c98
Global plugins are now associated with frontendDB
2005-07-19 06:46:14 +00:00
Luke Howard
979e64d0f0
The order of uidNumber and gidNumber was swapped in revision 1.331,
...
which breaks existing ACLs. This patch restores the old behaviour.
2005-07-19 06:45:57 +00:00
Hallvard Furuseth
9d5308163c
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-19 05:03:12 +00:00
Howard Chu
c8bffb5584
Fix bdb_tool_dn2id_get() - nobody should be calling bdb_dn2id() directly,
...
always call through the cache instead - bdb_cache_find_ndn().
2005-07-19 02:12:34 +00:00
Luke Howard
c09550766b
Fix another crasher if parent is NULL
2005-07-19 01:37:48 +00:00
Luke Howard
da758bb150
Fix crasher in hdb_dn2id() when parent is NULL
2005-07-19 01:32:29 +00:00
Pierangelo Masarati
54a0c02c3d
implement per-target, per-operation timeouts
2005-07-19 00:43:38 +00:00
Pierangelo Masarati
1100973301
trim unused (wrong) code
2005-07-19 00:30:34 +00:00
Pierangelo Masarati
51346cfa68
fix ITS#3862
2005-07-18 21:32:31 +00:00
Luke Howard
ee2c377d08
Fix for previous commit
2005-07-18 14:11:55 +00:00
Luke Howard
cfbb52459b
Fix pointer error
2005-07-18 14:09:47 +00:00
Hallvard Furuseth
965c270cbb
Fix format arg to "overlay...configuration failed" message
2005-07-18 08:30:33 +00:00
Hallvard Furuseth
df0e227201
Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg
2005-07-18 08:28:25 +00:00
Hallvard Furuseth
2b70a083e6
Delete unused variable.
2005-07-18 06:30:47 +00:00
Hallvard Furuseth
03c85cc68d
send_ldap_controls() returns int, so fix return LBER_ERROR to -1.
2005-07-18 06:28:28 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
c2b65937fe
Fix cast in BDB_ID2DISK(): unsigned char *_p ... = (char *)...;
2005-07-18 05:58:43 +00:00
Hallvard Furuseth
ae3ef7b3cd
Make ConfigArgs.lineno int like elsewhere instead of unsigned long
2005-07-18 05:48:21 +00:00
Hallvard Furuseth
8adef9eec8
Delete unused variables
2005-07-18 05:34:04 +00:00
Hallvard Furuseth
f43a823c73
Add missing "static" for functions declared static but defined non-static
2005-07-18 05:14:41 +00:00
Hallvard Furuseth
11ab0b655e
strip_cav_tag() should return ber_tag_t, not int
2005-07-18 05:11:11 +00:00
Hallvard Furuseth
64e9d0e58f
#include <ldif.h> for ldif_must_b64_encode_*()
2005-07-18 05:08:57 +00:00
Pierangelo Masarati
ea5952342c
fix some unclean unlock issues; fix potential leaks
2005-07-17 22:19:20 +00:00
Pierangelo Masarati
27eeb15fda
fix generated connection entries
2005-07-17 22:18:45 +00:00
Hallvard Furuseth
ec4d6d0d69
Remove spurious printf argument
2005-07-17 12:17:54 +00:00
Hallvard Furuseth
ecef4972fe
rc in glue_tool_entry_put() is an int, not NOID (unsigned long).
2005-07-17 12:14:42 +00:00
Hallvard Furuseth
ca615a4b3a
bvlist *list was updated through the wrong type.
2005-07-17 12:08:32 +00:00
Hallvard Furuseth
0cc537e6f1
Declare ldap_back_init_cf().
2005-07-17 12:06:09 +00:00
Hallvard Furuseth
98a303fca9
Remove spurious fprintf arguments
2005-07-17 11:55:34 +00:00
Pierangelo Masarati
03b6a692aa
trim (long ago) unused files
2005-07-16 16:06:34 +00:00
Pierangelo Masarati
1e5334eb80
mark leak
2005-07-16 15:41:39 +00:00
Pierangelo Masarati
7fb778e522
fix leak
2005-07-16 15:40:14 +00:00
Pierangelo Masarati
7236c4b223
improve diagnostics when configuring suffix for special databases
2005-07-15 16:21:15 +00:00
Howard Chu
f8173c6e8a
ITS#3841 fix test in rev 1.220
2005-07-15 01:17:35 +00:00
Pierangelo Masarati
5cb994ad36
fix memory leak (ITS#3862)
2005-07-15 01:08:34 +00:00
Hallvard Furuseth
885c73d02f
struct slab_heap *sh was accessed through the wrong type
2005-07-14 21:57:25 +00:00
Hallvard Furuseth
0d06b7334e
Make ebuf/ecur char* instead of unsigned char* (which they are never used as)
2005-07-14 21:02:59 +00:00
Hallvard Furuseth
d6cc947561
Silence "unused <something>" warnings
2005-07-14 19:52:08 +00:00
Hallvard Furuseth
8dddff803e
Silence "unused variable" warning
2005-07-14 19:35:09 +00:00
Hallvard Furuseth
7ab3d2c245
Silence warnings
2005-07-14 19:32:21 +00:00
Hallvard Furuseth
3fd6f18d25
Silence "unused static function" warning
2005-07-14 19:20:52 +00:00
Hallvard Furuseth
d449c9d08b
Silence "unused variable" warnings
2005-07-14 19:18:55 +00:00
Pierangelo Masarati
395207029b
need a regular file (ITS#3865)
2005-07-14 18:03:29 +00:00
Hallvard Furuseth
ae385b3af0
Silence "empty statement" warnings
2005-07-14 03:06:58 +00:00
Pierangelo Masarati
684860502e
should address ITS#3861
2005-07-13 17:43:30 +00:00
Howard Chu
675b19dce6
Fix loglevel to accept negative integers
2005-07-12 14:25:15 +00:00
Howard Chu
08ec8ad068
Fix SLAP_SOCK_IS_MUTE typo
2005-07-12 14:19:57 +00:00
Howard Chu
0b93bfc4f3
ITS#3854 fix Modify logging, add handlers for unrecognized ops.
2005-07-12 14:00:01 +00:00
Howard Chu
fbbfac6771
ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter.
2005-07-12 13:17:56 +00:00
Kurt Zeilenga
8d365728fc
Schema cleanup
2005-07-11 19:20:36 +00:00
Hallvard Furuseth
d5685734d2
retcode_op_func(): Fix uninitialized variable 'ref':
...
Under rs->sr_err == LDAP_REFERRAL, return LDAP_OTHER "bad referral
object" if both rdi->rdi_ref and default_referral are NULL.
2005-07-11 19:09:30 +00:00
Hallvard Furuseth
62b653fa85
Declare component matching functions
2005-07-11 19:06:10 +00:00
Hallvard Furuseth
da1c57ff3e
Add missing function declarations in config.h
2005-07-11 19:03:27 +00:00
Hallvard Furuseth
ba5305eea4
fp_parse_line():
...
* More slapd.conf-keywords with passwords to log as "<keyword> ***":
"syncrepl" (in slapd), "acl-bind", "acl-method", "idassert-bind"
(in back-ldap), "acl-passwd" (in back-<ldap/meta>).
* When no tokens, i = -1 initialization caused out-of-bounds access.
* Handle initial argc == argv_size (e.g. 0).
2005-07-11 18:56:50 +00:00
Howard Chu
0f2f4f3196
ITS#3841 skip db_close if db_open was never called
2005-07-11 17:12:43 +00:00
Howard Chu
5d2ba11ad9
ITS#3847 silence warnings
2005-07-11 12:11:15 +00:00
Howard Chu
3d6fb19006
ITS#3824 remove env after slapadd/slapindex -q
2005-07-11 10:27:59 +00:00
Hallvard Furuseth
26ea01e67e
goto loop_begin; skipped initialization of scopeok.
2005-07-10 16:14:28 +00:00
Hallvard Furuseth
ac7513155b
fbuf in syncprov_findcsn() got used before it was fully filled in
2005-07-10 10:20:21 +00:00
Howard Chu
b131aab00e
Streamline call to lutil_passwd_scheme
2005-07-08 06:05:02 +00:00
Howard Chu
46fab05997
ITS#3846 don't give hashed passwords to SASL, it only wants cleartext.
2005-07-08 06:02:00 +00:00
Howard Chu
532da5699c
ITS#3844 fix typo
2005-07-08 04:57:17 +00:00
Hallvard Furuseth
b1f5e9258a
Complete the replacement of LDAP_CONTROL_X_TREE_DELETE with
...
SLAP_CONTROL_X_TREE_DELETE, which is only defiend when LDAP_DEVEL.
back-sql triggered an assert(0): It expected the control to be supported.
2005-07-07 20:36:37 +00:00
Howard Chu
d518a76b35
ITS#3844 fix slap_operational_subschemaSubentry
2005-07-07 17:39:29 +00:00
Howard Chu
00dae75f7b
ITS#3842 from jtownsend@opendarwin.org - don't free slap_listeners until
...
after connection_shutdown().
2005-07-07 04:21:53 +00:00
Howard Chu
11a1349366
ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy
2005-07-07 03:51:43 +00:00
Hallvard Furuseth
f841c364eb
Format fixes (%d<->%lu etc)
2005-07-06 05:53:02 +00:00
Pierangelo Masarati
61312e7989
fix ITS#3834
2005-07-05 12:05:47 +00:00
Pierangelo Masarati
deec44b89a
fix further ITS#3830 issues; allow to specify a matching rule for non-DN match
2005-07-05 12:00:14 +00:00
Ralf Haferkamp
54fa643a9b
fix previous commit (check for co_type==Cft_Overlay before calling
...
overlay_destroy_one)
2005-07-05 11:46:55 +00:00
Ralf Haferkamp
7027609818
Destroy Backend/Overlay after an error happend during one of the
...
config_parse_add() calls, as backend_db_init() might have been called.
2005-07-05 11:17:25 +00:00
Howard Chu
3232686cc1
ITS#3833 assume environment was already recovered by an external action
...
if it's missing, just succeed in this case.
2005-07-05 02:40:01 +00:00
Pierangelo Masarati
754a059951
fix concurrency issues
2005-07-04 22:41:54 +00:00
Pierangelo Masarati
681a547e13
fix potential deadlock
2005-07-04 22:41:27 +00:00
Pierangelo Masarati
a0d8a981ac
address ITS#3831 (mostly code readability)
2005-07-04 16:34:42 +00:00
Hallvard Furuseth
a1e27aae40
Format fix: Make style_strings[] global for debug output in dynacl_aci_parse()
2005-07-04 06:25:02 +00:00
Hallvard Furuseth
40c91251e6
Debug output: printed soc_cname, should be soc_cname.bv_val
2005-07-04 06:05:04 +00:00
Hallvard Furuseth
430fdb7a1c
isspace() needs <ac/ctype.h>
2005-07-04 05:56:45 +00:00
Hallvard Furuseth
8a696d21b2
Format fixes (%d<->%lu etc)
2005-07-04 05:29:12 +00:00
Hallvard Furuseth
e35ffd471b
Cast away const
2005-07-04 05:24:00 +00:00
Hallvard Furuseth
b746066b9b
Let bdb_attr_index_unparser() return int (0) instead of void; the return
...
value of an AVL_APPLY function is significant.
2005-07-04 05:21:39 +00:00
Hallvard Furuseth
cc0d91716e
Don't do pointer arithmetic on void*
2005-07-04 05:18:01 +00:00
Pierangelo Masarati
9146b262ad
fix potential deadlock; first round of refcnt for connections
2005-07-03 23:28:35 +00:00
Pierangelo Masarati
982981d465
fix potential deadlock; improve idassert in case of authzFrom rules (new flag values); rootdn can always idassert
2005-07-03 23:27:56 +00:00
Howard Chu
9c246fce39
ITS#3830, fix val-specific ACLs
2005-07-03 01:51:35 +00:00
Howard Chu
7cb7bc3341
ITS#3829 fix attributeoptions parse order
2005-07-02 10:54:09 +00:00
Pierangelo Masarati
d576364089
more checks (ITS#3817)
2005-07-01 09:53:20 +00:00
Pierangelo Masarati
b42207d048
don't use missing hooks (ITS#3817)
2005-07-01 09:25:55 +00:00
Howard Chu
b3655504a7
Tweak prev commit
2005-07-01 02:18:10 +00:00
Howard Chu
17a4215256
ITS#3815 fix olcDbConfig parsing
2005-07-01 02:08:14 +00:00
Howard Chu
9ec474db25
ITS#3793 don't init thread pool in tool mode
2005-07-01 01:36:49 +00:00
Howard Chu
21e49339b7
ITS#3820 fix olcReadOnly check
2005-07-01 00:20:54 +00:00
Howard Chu
c384e2ed13
HDB needs its own config objectclass to avoid confusion when parsing the
...
config db
2005-07-01 00:17:51 +00:00
Howard Chu
4a107089d8
ITS#3818 fix index_substr_any_step keyword
2005-06-30 23:24:48 +00:00
Howard Chu
6236574efc
ITS#3456 better fix, use a child thread.
2005-06-30 04:06:40 +00:00
Howard Chu
0e00a1af79
ITS#3456 - omit FIND_MAXCSN call from syncprov_db_open. Will probably
...
delete all associated code soon; since the maxcsn will be updated as
soon as any write op occurs, it's no big deal for this to be out of date.
Also, since the maxcsn will get checkpointed on close, it will only get
out of date on an actual slapd crash, which is hopefully too rare to
worry about.
2005-06-30 03:42:51 +00:00
Pierangelo Masarati
1aaa18b180
more on ITS#3808
2005-06-29 18:16:29 +00:00
Pierangelo Masarati
9e811df052
seems to definitely fix issues related to ITS#3808
2005-06-29 16:38:09 +00:00
Pierangelo Masarati
cbe9c74675
return LDAP_SUCCESS if Start TLS failed but was not critical
2005-06-29 12:38:18 +00:00
Pierangelo Masarati
5ae22791ab
hardcode normalized instead of funky DN form
2005-06-29 12:37:28 +00:00
Pierangelo Masarati
671b02f748
more on ITS#3808
2005-06-29 12:28:40 +00:00
Pierangelo Masarati
196af0e056
(partial?) fix ITS#3808
2005-06-29 11:44:11 +00:00
Pierangelo Masarati
ba0f3112c4
add "matchedDN" field when appropriate
2005-06-28 23:22:48 +00:00
Pierangelo Masarati
904d86a28a
better fix to ITS#3806
2005-06-28 22:06:24 +00:00
Pierangelo Masarati
7df9b6f5a8
fix spaces in DN-valued attrs (ITS#3806)
2005-06-28 19:23:46 +00:00
Pierangelo Masarati
b00f3fa77f
fix ITS#3805
2005-06-28 15:58:33 +00:00
Howard Chu
52165180f7
ITS#3796 fix IDL cache lock setup/teardown
2005-06-28 00:43:41 +00:00
Pierangelo Masarati
297c7933b1
add "onerr" flag
2005-06-25 15:13:44 +00:00
Pierangelo Masarati
aa16988d3c
don't try to lookup the rootdn; handle errors separately
2005-06-25 15:05:02 +00:00
Howard Chu
7b245a0a55
Fix entry writing, truncate file if rewriting.
2005-06-25 14:15:11 +00:00
Kurt Zeilenga
e3c59d222c
Rework substring error checking
2005-06-21 00:38:55 +00:00
Pierangelo Masarati
f7541b5e8d
cleanup
2005-06-19 22:43:45 +00:00
Pierangelo Masarati
fddeed7903
add support for connection_init/destroy and retcode overlay
2005-06-19 22:42:12 +00:00
Pierangelo Masarati
9f2faed566
add support for connection_init/destroy
2005-06-19 22:41:49 +00:00
Pierangelo Masarati
b836fc3ea2
first round of provisions for back-config
2005-06-19 22:41:12 +00:00
Pierangelo Masarati
f86daac8c8
import retcode overlay
2005-06-19 22:39:44 +00:00
Pierangelo Masarati
3172222266
cleanup of previous commit
2005-06-18 18:59:04 +00:00
Pierangelo Masarati
595d41b421
cleanup
2005-06-18 18:57:46 +00:00
Howard Chu
143635437a
ITS#3549 don't queue Unbind requests
2005-06-18 09:06:12 +00:00
Pierangelo Masarati
2abaf7bf66
fix ITS#3788: don't free slapo-rwm callback, rather reuse it
2005-06-16 23:08:23 +00:00
Pierangelo Masarati
789717fee5
fix ITS#3784
2005-06-16 20:01:41 +00:00
Pierangelo Masarati
c7c572f883
fix ITS#3785: do our best to deal with invalid filters...
2005-06-16 19:27:03 +00:00
Pierangelo Masarati
7fdcd2ec60
fix ITS#3785: do our best to deal with invalid filters...
2005-06-16 19:19:11 +00:00
Kurt Zeilenga
b703938d61
symbol rename for AIX (ITS#3787)
2005-06-16 19:17:38 +00:00
Luke Howard
f90800667d
Fix OpenLDAP ITS#3782 - broken logic in bitwise matching rules
2005-06-16 05:31:24 +00:00
Howard Chu
b6aa697000
ITS#3779 fix pwdLockoutDuration handling
2005-06-15 21:21:12 +00:00
Ralf Haferkamp
f9fb5e63f4
silence warning
2005-06-15 18:00:49 +00:00
Howard Chu
60339c7f77
ITS#3777 fix scheme comparison
2005-06-15 03:06:48 +00:00
Howard Chu
4667a44ae6
Fix typo in prev commit
2005-06-13 23:57:30 +00:00
Howard Chu
f84fc983fd
ITS#3774 delete backend/overlay structures after a failed add
2005-06-13 22:49:01 +00:00
Pierangelo Masarati
ba8b6bbd88
add delete stuff to all attributes (needed to deelete with "fail_if_no_mapping yes"); passes write test(s)
2005-06-13 22:13:10 +00:00
Pierangelo Masarati
acf5187b2e
rework assertion
2005-06-13 22:12:11 +00:00
Pierangelo Masarati
495106c213
fix potential SIGSEGV when backsql_modify_delete_all_values() is used outside backsql_add()
2005-06-13 22:11:41 +00:00
Howard Chu
a4d2c63a61
ITS#3773 additional fix
2005-06-13 21:25:51 +00:00
Howard Chu
6cacc7fb5d
ITS#3773 fix RDN comparison
2005-06-13 21:21:27 +00:00
Pierangelo Masarati
e12c4ca230
preemptive time limit check in proxy backends
2005-06-13 19:14:40 +00:00
Howard Chu
63f6e91a97
ITS#3772 fix dependencies for static overlays
2005-06-13 10:24:39 +00:00
Howard Chu
2cc3190c62
ITS#3770 lockf can return either EACCES or EAGAIN
2005-06-11 19:32:03 +00:00
Howard Chu
117b686da4
ITS#3765 don't allocate cache for empty IDLs
2005-06-11 19:12:49 +00:00
Howard Chu
22b9f5f595
Converted openldap.schema to .ldif, added explanatory text
2005-06-11 00:54:32 +00:00
Howard Chu
0dc29f4dd4
Fix prev commit
2005-06-11 00:53:28 +00:00
Howard Chu
4f28194820
Fix modload/modpath, allow either/both to be empty
2005-06-11 00:47:12 +00:00
Howard Chu
8fe7576158
ITS#3764 add signal handlers so slapcat will cleanup if interrupted.
...
(Just slapcat for now, other tools don't seem to be critical.)
2005-06-10 20:14:32 +00:00
Howard Chu
cd15432de6
More accesslog updates
2005-06-10 11:41:57 +00:00
Howard Chu
257be58eb6
In-directory logging overlay
2005-06-10 09:18:01 +00:00
Howard Chu
62b81c9632
More for prev commit - break from mask_to_verbs when mask has gone to zero
2005-06-09 23:39:18 +00:00
Howard Chu
e42e8d7130
Add op->o_tincr to distinguish ops with same op->o_time. (We should
...
be preparing to use timestamps with sub-second resolution, really.)
2005-06-09 22:56:35 +00:00
Howard Chu
0658ff91b7
Tweak mask_to_verbs for multiple-bit masks
2005-06-09 22:55:21 +00:00
Howard Chu
884ebf9142
Fix prev commit - slapdn should not start any databases
2005-06-09 20:09:15 +00:00
Howard Chu
2c8b0f7a49
ITS#3621 slaptest should start databases when dryrun is not specified
2005-06-09 19:27:35 +00:00
Howard Chu
782d767c33
ITS#3763 fix typo in slap_timestamp
2005-06-09 18:59:54 +00:00
Pierangelo Masarati
91bdea2817
use "pgsql" instead of "postgres" for consistency with the directory names in servers/slapd/back-sql/rdbms_depend
2005-06-09 11:03:06 +00:00
Pierangelo Masarati
94747a8489
fix previous commit; document aliasing and aliasing quotes configuration
2005-06-09 09:45:02 +00:00
Pierangelo Masarati
e52d5cb812
make aliasing and aliasing quotes configurable
2005-06-09 09:43:20 +00:00
Howard Chu
58e8817fc1
ITS#3760 don't select on uninit'd writefds
2005-06-09 08:19:05 +00:00
Howard Chu
caefdf007c
Fix dynamic modload, make sure to use correct modulepath.
2005-06-09 07:15:49 +00:00
Howard Chu
21b8be393a
Add slap_timestamp(), use mutex in slap_get_csn()
2005-06-07 04:12:14 +00:00
Howard Chu
3bae4b4acb
ITS#3691 import auditlog overlay
2005-06-07 03:03:18 +00:00
Pierangelo Masarati
ea85bcadfc
remove #defines moved to frontend
2005-06-05 22:58:18 +00:00
Howard Chu
8f58409749
Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
...
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Kurt Zeilenga
43ffb3f235
Fix -ULDAP_DEVEL build
2005-06-03 22:13:27 +00:00
Kurt Zeilenga
da9732a766
fix -ULDAP_DEVEL compile
2005-06-03 21:52:54 +00:00
Kurt Zeilenga
8ef743309b
Place manageDIT behind LDAP_DEVEL (not for initial 2.3 release)
2005-06-03 20:54:06 +00:00
Kurt Zeilenga
8297b0b9df
ITS:3749: Extend manageDIT support to LDBM.
2005-06-03 17:24:31 +00:00
Howard Chu
ef3989aba8
ITS#3748 fix startup of newly added databases and overlays
2005-06-03 08:26:55 +00:00
Pierangelo Masarati
4d58c2f39f
fix previous commit
2005-06-01 19:36:58 +00:00
Pierangelo Masarati
3751f0325d
work around syncprov interoperation issues; minor cleanup
2005-06-01 19:35:13 +00:00
Pierangelo Masarati
6434721e42
fix improper use of "fail_if_no_mapping" flag: fail in case of error, don't fail only if mapping is not present
2005-06-01 16:51:36 +00:00
Pierangelo Masarati
4914ea313d
fix ITS#3753
2005-05-30 14:49:47 +00:00
Pierangelo Masarati
36c5fe1991
don't leave dangling pointers; pass entry when sending referrals
2005-05-30 12:37:24 +00:00
Pierangelo Masarati
b30b82a65a
do not return spurious result codes
2005-05-30 12:36:21 +00:00
Pierangelo Masarati
00c6709896
expose macro(s) to produce string representations of arbitrary precision counters
2005-05-28 14:30:43 +00:00
Howard Chu
b6d515330c
ITS#3748 do necessary startup when adding databases online
2005-05-26 09:43:39 +00:00
Pierangelo Masarati
47daec07d5
fix previous commit :)
2005-05-25 12:05:39 +00:00
Pierangelo Masarati
1b9c9577c2
invalidate cached connections if URI changed
2005-05-25 11:54:19 +00:00
Howard Chu
d7745c17d4
Use "pcache" to invoke the overlay instead of "proxycache"
2005-05-24 17:13:37 +00:00
Howard Chu
5f5356567e
ITS#3747 move subschemasubentry attr initialization
2005-05-24 17:06:33 +00:00
Pierangelo Masarati
2f0d712492
exit on error
2005-05-23 21:59:14 +00:00
Pierangelo Masarati
3a9fd69747
handle "dn=*" <what> clause
2005-05-23 20:29:01 +00:00
Pierangelo Masarati
672c39024e
further fixing of back-ldap config; added enum_to_verb call to ease mapping enumerations to strings...
2005-05-23 14:14:34 +00:00
Howard Chu
bf110af723
Fix slap_verbmask
2005-05-23 12:56:14 +00:00
Pierangelo Masarati
fc148e8e54
fix interaction with table-driven config of back-ldap (please review)
2005-05-23 07:25:45 +00:00
Pierangelo Masarati
a7f44159c1
complete back-config support, including chain overlay; passes all tests; HEADS-UP: few syntax changes (essentially backwards compatible)
2005-05-23 07:25:00 +00:00
Pierangelo Masarati
0873f03b39
don't unparse starttls field in slap_bindconf if default
2005-05-23 07:23:46 +00:00
Pierangelo Masarati
e73e9ddd7c
allow LDAP_AUTH_NONE
2005-05-23 07:22:32 +00:00
Pierangelo Masarati
c573fe70fb
authid-rewrite*: fix parsing, rework unparsing
2005-05-23 07:21:58 +00:00
Pierangelo Masarati
950c9a78a1
try to propagate cf info; required, e.g. by translucent overlay and more (please review)
2005-05-23 07:20:49 +00:00
Pierangelo Masarati
da2a26d19f
first round of back-config support; need to #define LDAP_BACK_BCONFIG; no support for rewrite and so, still stuff to fix. Doesn't pass most of the tests
2005-05-21 19:07:14 +00:00
Pierangelo Masarati
8ff019ad83
minor cleanup
2005-05-21 15:01:44 +00:00
Pierangelo Masarati
f505aec4bc
publish updateref...
2005-05-21 14:54:11 +00:00
Pierangelo Masarati
be53e82650
fix entry DN free
2005-05-21 14:53:05 +00:00
Pierangelo Masarati
546cba035c
add comment on slap_dummy_bv
2005-05-21 14:51:37 +00:00
Pierangelo Masarati
58abc661f6
"restrict" is a c99 keyword (ITS#3739)
2005-05-21 00:15:16 +00:00
Pierangelo Masarati
e799b27eed
ISO C forbids zero-size array (ITS#3739)
2005-05-21 00:08:28 +00:00
Pierangelo Masarati
7b0d820ce5
minor cleanup
2005-05-20 23:36:23 +00:00
Pierangelo Masarati
5f361f31b3
initialize AttributeName structures; allow '*' attribute set (related to ITS#3741)
2005-05-20 23:27:42 +00:00
Howard Chu
3801ba6435
ITS#3731 catch another BDB error leaking out to the frontend
2005-05-18 04:41:24 +00:00
Kurt Zeilenga
872b0a09fd
ITS#3725 fix
2005-05-14 18:52:15 +00:00
Kurt Zeilenga
812efa5723
Allow no-user-modification attributes to be managed.
...
Need to fix the slap_mods_opattrs() clobber.
2005-05-14 06:40:50 +00:00
Kurt Zeilenga
18c3f9e093
Add manage obsolete attributes capability.
2005-05-13 23:51:43 +00:00
Kurt Zeilenga
31727f0f4d
Additional manageDIT changes.
...
Now require be_isroot() instead of "manage".
2005-05-13 21:09:26 +00:00
Pierangelo Masarati
d508114a9e
improve fix
2005-05-13 20:27:12 +00:00
Pierangelo Masarati
6868323e17
fix ACL_PRIV_MASK for manage
2005-05-13 19:29:38 +00:00
Pierangelo Masarati
6bd4ef7667
fix cleanup in case of error
2005-05-13 19:08:41 +00:00
Kurt Zeilenga
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +00:00
Kurt Zeilenga
002f7ca062
finish global_schemacheck removal
2005-05-13 17:35:36 +00:00
Pierangelo Masarati
46387a12a9
fix sizelimit interaction with glue overlay (ITS#3724)
2005-05-13 13:10:33 +00:00
Howard Chu
dfaffea154
LDIF include must use a file URL
2005-05-13 09:56:17 +00:00
Pierangelo Masarati
96773427db
don't bother about slap_dummy_bv
2005-05-13 09:06:28 +00:00
Pierangelo Masarati
cf31d48665
don't free officially dummy values
2005-05-13 08:50:10 +00:00
Kurt Zeilenga
d1143204b2
Add parsing for manageDIT control.
2005-05-13 08:22:08 +00:00
Kurt Zeilenga
2544a320b9
extend manageDIT test cases (now just need to find time
...
to implement this)
2005-05-13 06:43:06 +00:00
Kurt Zeilenga
cfb3f81582
Control cleanup
2005-05-13 02:34:16 +00:00
Howard Chu
55585110bf
ITS#3608 - ignore unavailable non-critical controls
2005-05-13 01:35:20 +00:00
Howard Chu
bfe9ba5b0b
Fix parseSearchOptions
2005-05-13 01:33:22 +00:00
Howard Chu
8223663865
Fix typo
2005-05-12 23:38:59 +00:00
Pierangelo Masarati
c4cfe03619
fix sizelimit bug (ITS#3720)
2005-05-12 22:37:56 +00:00
Howard Chu
25877b0d23
Sample LDIF slapd configuration
2005-05-12 03:53:02 +00:00
Howard Chu
70ebcc6305
core.schema converted to LDIF
2005-05-12 03:31:52 +00:00
Howard Chu
923bea9e14
Fix attribute sorting
2005-05-12 03:24:49 +00:00
Howard Chu
37ed2af7e7
Fix for slapadd'ing a config db
2005-05-12 03:24:34 +00:00
Howard Chu
c225c4af34
Updated ldif_read_record to support LDIF include: directive
2005-05-12 00:46:39 +00:00
Pierangelo Masarati
3ce45e11bb
fix and strengthen the structural objectClass test
2005-05-12 00:43:29 +00:00
Pierangelo Masarati
740835dff9
remove global_schemacheck
2005-05-12 00:03:50 +00:00
Kurt Zeilenga
bb49be254a
Never publish:
...
supportedLDAPversion: 2
2005-05-11 22:40:50 +00:00
Kurt Zeilenga
c83f7539ae
Mostly remove global_schemacheck. More cleanup needed in
...
bconfig.c and back-sql.
2005-05-11 22:24:18 +00:00
Howard Chu
376537f3d7
ITS#3577 Make librewrite shared - > liblrewrite.la
2005-05-11 10:18:27 +00:00
Pierangelo Masarati
1c8a9fdbeb
remove cruft
2005-05-11 08:41:35 +00:00
Pierangelo Masarati
f9e17b539a
remove obsolete tests
2005-05-11 08:39:39 +00:00
Howard Chu
c79ecbb390
Add LDAP_DEBUG_SYNC loglevel
2005-05-10 20:42:39 +00:00
Howard Chu
e165806e25
Fix typo, use dn.base instead of dn.exact in unparse
2005-05-10 01:16:21 +00:00
Howard Chu
f19a4ea9ec
More value ACL style tweaks
2005-05-10 00:51:28 +00:00
Howard Chu
29a37854bf
Fix acl_unparse - add missing style specifiers
2005-05-10 00:32:43 +00:00
Kurt Zeilenga
ccbf18b7d0
Don't split description across multiple values.
2005-05-09 19:07:42 +00:00
Howard Chu
f2e62ea04c
Fix (temporary) crash on ldbm
2005-05-09 11:20:24 +00:00
Howard Chu
b8bfb044d1
Add comments for config_overlay
2005-05-09 10:41:05 +00:00
Howard Chu
1d283c2154
More fixes for overlay support. Converted pcache to config table.
2005-05-09 10:33:43 +00:00
Howard Chu
cfccf68bf6
Fix debug msg
2005-05-09 10:33:01 +00:00
Pierangelo Masarati
fd52d607b0
don't compare freed pointers (no harm)
2005-05-09 09:32:44 +00:00
Howard Chu
41127de6bf
Fix prev commit, extra objectclass table
2005-05-09 05:14:59 +00:00
Howard Chu
048a36a60f
Fix prev commit, trim unused cfOC vars
2005-05-09 05:02:23 +00:00
Howard Chu
bd63507868
Table-driven config
2005-05-09 05:02:01 +00:00
Howard Chu
ee59484f7b
Restructured to allow miscellaneous Adds under database/overlay objects
2005-05-09 03:42:51 +00:00
Howard Chu
f8bba201f4
More for error propagation
2005-05-09 01:20:03 +00:00
Howard Chu
179032ffe2
Explicitly set LTONLY_MOD for shared overlays
2005-05-09 00:13:47 +00:00
Howard Chu
a1570f9185
NUL at end of entry not needed any more
2005-05-08 01:12:01 +00:00
Howard Chu
086ab17a8b
Delete unused entry_lenlen code
2005-05-08 00:52:24 +00:00
Howard Chu
a740c83208
Macro fix, again
2005-05-08 00:47:14 +00:00
Howard Chu
b5ed840a17
Fix bad macro interaction in prev commit
2005-05-08 00:45:58 +00:00
Howard Chu
f597e7651b
Simplify static build
2005-05-07 23:14:57 +00:00
Pierangelo Masarati
e6e80d00f1
don't leave consts around
2005-05-07 10:52:05 +00:00
Howard Chu
f82e2cbf39
Make entry_encode/decode independent of slapd structure sizes
2005-05-06 21:24:49 +00:00
Pierangelo Masarati
54de0cbffc
use appropriate log level if bailing out; need to use Debug() instead fprintf( stderr ) in many places...
2005-05-06 20:36:59 +00:00
Howard Chu
6d7b27fcca
Propagate config errors back to caller.
2005-05-06 20:20:45 +00:00
Pierangelo Masarati
dde3f1ad3f
cleanup ident string
2005-05-06 17:11:40 +00:00
Pierangelo Masarati
d23243a507
more on strict config parsing (ITS#3705)
2005-05-06 16:42:03 +00:00
Pierangelo Masarati
5ad7133202
add support for "subordinate" scope
2005-05-06 10:21:00 +00:00
Howard Chu
f101ea70cc
Fix prev commit
2005-05-06 09:52:42 +00:00
Howard Chu
6b47c11e2f
Fix undefined attributetype initializer
2005-05-06 09:47:18 +00:00
Howard Chu
26eee89841
ITS#3710 add missing space
2005-05-06 05:14:02 +00:00
Howard Chu
54eb6f539c
Remove redundant def
2005-05-06 01:45:44 +00:00
Howard Chu
c5b355bacb
Fix Windows export setup
2005-05-06 01:45:05 +00:00
Howard Chu
86b7448a47
More for ITS#3681
2005-05-06 00:39:25 +00:00
Howard Chu
f4a69f1e8a
Fix backends.o dependencies
2005-05-06 00:14:36 +00:00
Howard Chu
9b045fa734
Fix for WIN32 mkdir
2005-05-06 00:02:26 +00:00
Howard Chu
0079690f8f
ITS#3681 separate static from dynamic overlays
2005-05-05 22:57:19 +00:00
Howard Chu
345ba007b8
Must always accept "base" for ACL_STYLE_BASE since that is always how
...
it gets unparsed.
2005-05-05 21:47:40 +00:00
Howard Chu
4107187ecc
Fix global entry setup
2005-05-05 20:55:35 +00:00
Kurt Zeilenga
43dba4fd45
Wrap w in WAKE_LISTENER
2005-05-05 20:39:58 +00:00
Kurt Zeilenga
b9139ebf07
Increase listen() backlog to 1024, allow compile time override
2005-05-05 19:41:12 +00:00
Pierangelo Masarati
1001d062d3
consistently rename function
2005-05-05 18:11:35 +00:00
Pierangelo Masarati
a215fdea66
a bit more reworking and streamline; the change to the LAST_CONN test seems to eliminate the last LDAP_BUSY problems on the only machine that was showing it yet; please test
2005-05-05 17:34:11 +00:00
Pierangelo Masarati
8ad34dc76b
fix previous commit: don't loop on undefined; return success with no data in case of undefined filter
2005-05-05 12:01:12 +00:00
Pierangelo Masarati
7f61a2739a
fix support for absoluteFilters
2005-05-05 11:19:11 +00:00
Pierangelo Masarati
d30933af36
fix previous commit
2005-05-05 00:31:11 +00:00
Pierangelo Masarati
f0122ce3fc
move discover function to frontend
2005-05-05 00:22:43 +00:00
Pierangelo Masarati
c80eb34888
honor T-F filters (ITS#3706) and some cleanup
2005-05-05 00:07:17 +00:00
Pierangelo Masarati
4d9750afb5
honor T-F filters (ITS#3706) and lots of cleanup
2005-05-04 23:57:55 +00:00
Pierangelo Masarati
b8b0bb000b
honor T-F filters (ITS#3706)
2005-05-04 23:57:33 +00:00
Pierangelo Masarati
4199f4577a
if for any reason ldap_search_ext() fails (e.g. ITS#3706) don't wait for results
2005-05-04 23:16:56 +00:00
Pierangelo Masarati
87d7ca8957
ITS#3705: bailout if unknown config directive is found
2005-05-04 18:46:45 +00:00
Howard Chu
735ee711fe
ITS#3702 add tool entry points
2005-05-04 10:52:42 +00:00
Howard Chu
02f1ede034
ITS#3699, #3702 fix ldif_back_search to send entries immediately instead
...
of queueing them up.
2005-05-04 09:53:10 +00:00
Pierangelo Masarati
2c8829b8ca
add "monitorIsShadow" (ITS#3696); more to come (see discussion)
2005-05-04 09:27:22 +00:00
Howard Chu
1ac4df71c9
ITS#3703 skip checkpoint on close if ReadOnly mode
2005-05-04 06:41:39 +00:00
Howard Chu
6a2d53f396
In backend_group, return LDAP_COMPARE_FALSE if attr exists but value is
...
not matched, instead of LDAP_NO_SUCH_ATTRIBUTE
2005-05-04 06:28:27 +00:00
Pierangelo Masarati
642b788fb2
fix printing a NULL value (ITS#3698)
2005-05-03 23:42:28 +00:00
Pierangelo Masarati
a7b82686a8
fix SIGSEGV when default style is used for "val" (ITS#3700)
2005-05-03 12:13:16 +00:00
Howard Chu
d73fa98cf6
ITS#3699 fix dbconfig, limits schema flags
2005-05-03 09:44:46 +00:00
Howard Chu
9a1beb7fe4
unifdef SLAP_USE_CONFDIR
2005-05-01 20:57:32 +00:00
Howard Chu
cb686a5eb7
Fix config selection:
...
if -f but no -F, just read config file
if -f and -F, convert config file to config dir
else, try reading config dir
if no config dir, try config filE
2005-05-01 20:55:15 +00:00
Pierangelo Masarati
137e46059c
don't return client API error if the server is down...
2005-04-30 17:54:35 +00:00
Kurt Zeilenga
0ad446f014
ITS3693: fix of authPasswordSchemes for whom ever ends up implementing this
2005-04-30 05:43:09 +00:00
Kurt Zeilenga
efe91e52f4
Move $STRIP to top.mk, expand use.
2005-04-30 03:48:25 +00:00
Howard Chu
43cd22a639
Fix ITS#3695 preserve stack alignment in slap_sl_realloc
2005-04-30 01:15:10 +00:00
Pierangelo Masarati
8045a0882e
anticipate monitor schema definition
2005-04-29 20:29:59 +00:00
Pierangelo Masarati
8d41d6d927
hardcode "description" and "seeAlso"
2005-04-29 20:29:29 +00:00
Pierangelo Masarati
0714716a3d
sanity check
2005-04-29 20:28:35 +00:00
Pierangelo Masarati
50f3fe14db
perform internal operations as rootdn, if any
2005-04-29 01:42:24 +00:00
Howard Chu
e3703bfaab
Propagate Abandon to allow cleanup callbacks to run
2005-04-28 18:50:24 +00:00
Howard Chu
b33098b962
Propagate SLAPD_ABANDON results to to allow cleanup callbacks to run
2005-04-28 18:49:24 +00:00
Howard Chu
b45a912070
Check for abandon during transaction retry
2005-04-28 18:45:31 +00:00
Howard Chu
3a42760472
ITS#3671 more abandon/error checks
2005-04-28 18:36:47 +00:00
Howard Chu
0f4a5f7445
ITS#3671 must release conn->c_mutex to allow blocked writers to exit
2005-04-28 18:36:08 +00:00
Howard Chu
df22b333a5
Mroe abandon checks for ITS#3671
2005-04-28 16:45:52 +00:00
Howard Chu
67c68bab9c
More for ITS#3671, check for Abandon before replaying queued events
2005-04-28 16:21:52 +00:00
Pierangelo Masarati
5697bed1f9
anticipate undefined symbols when compiling for 2.2
2005-04-28 11:03:22 +00:00
Pierangelo Masarati
cb291bb940
refactor ABI for arbitrary attribute/entry/callback registration; propagate pointers to Operation and SlapReply structures to entry create/update/modify callbacks; cleanup
2005-04-27 21:30:35 +00:00
Pierangelo Masarati
fee10862c3
fix attributeType DESC; #ifdef the legacy monitoredInfo
2005-04-27 18:33:22 +00:00
Pierangelo Masarati
27adc4b1a3
explode connection monitored info into dedicated attributes
2005-04-27 17:51:54 +00:00
Howard Chu
080586f482
ITS#3688 don't sort range IDLs!
2005-04-27 17:29:30 +00:00
Pierangelo Masarati
145221472e
cleanup entity registration
2005-04-27 02:43:38 +00:00
Sang Seok Lim
ea0033e439
Misc bug fix: component matching
2005-04-27 00:25:30 +00:00
Pierangelo Masarati
58a358e7b2
more cleanup in handling timeouts in ldap_result()
2005-04-26 21:48:43 +00:00
Pierangelo Masarati
bb21f09d1f
use safe(r) default
2005-04-26 20:10:15 +00:00
Howard Chu
59de8333d0
Fix ppolicy libltdl usage on Win32
2005-04-26 12:54:24 +00:00
Pierangelo Masarati
6076695eb8
handle the null lud_dn case...
2005-04-26 10:34:37 +00:00
Pierangelo Masarati
6b035aac3e
work around the last issue: some times the result times out while the other party is not willing to send any response; give it a second chance
2005-04-26 10:02:19 +00:00
Howard Chu
842b5ce076
ITS#3682, dup entry and free the DB's copy before sending it
2005-04-26 02:01:19 +00:00
Howard Chu
c899848afb
Fix tool startup, don't start main backend twice
2005-04-26 00:46:00 +00:00
Pierangelo Masarati
1cc6b2ebe2
don't use temporaries
2005-04-26 00:33:43 +00:00
Pierangelo Masarati
06eef0c78d
reset candidates when intentionally abandoning; consistently handle referrals
2005-04-25 23:54:51 +00:00
Pierangelo Masarati
fa49a73fc4
fix retry; add per-target configurable number of retries; addresses ITS#3672, ITS#3676 & ITS#3680
2005-04-25 18:56:56 +00:00
Howard Chu
0ec5e2df77
Fix some return codes
2005-04-25 09:18:32 +00:00
Howard Chu
be99e9e758
More error reporting for clients
2005-04-25 08:44:52 +00:00
Howard Chu
5b1330a4b3
More modpath fixes
2005-04-25 05:45:53 +00:00
Howard Chu
75164fbe1c
ITS#3671 make sure to flush queue when able
2005-04-25 00:38:37 +00:00
Howard Chu
bae2f5f083
Fix modify deadlock
2005-04-25 00:07:26 +00:00
Howard Chu
acd1e2852a
Better fix for #3671
2005-04-24 23:20:15 +00:00
Howard Chu
895b74cb1d
ITS#3671 free all locks before calling send_search_*, queue entries if
...
the connection is busy. Probably need to set a queue limit here and
abandon the psearch if the limit is reached.
2005-04-24 22:55:21 +00:00
Howard Chu
b92387bb1c
ITS#3671 add REP_ENTRY_MUSTRELEASE flag, release the entry before
...
attempting to write the response on the network. (This should probably
be the default behavior anyway, since network hangs of this sort can
cause problems for any backend that has entry locks.)
2005-04-24 22:21:57 +00:00
Howard Chu
a6fb962984
Cleanup ModulePath handling
2005-04-23 17:56:25 +00:00
Howard Chu
afd3f7c5ec
Fix DB_CONFIG loading
2005-04-23 17:21:45 +00:00
Howard Chu
f01bb8d9ab
Tweak runqueue reporting
2005-04-23 16:58:38 +00:00
Howard Chu
173330187e
Tweak online_index task interval
2005-04-23 16:58:23 +00:00
Howard Chu
5639c07137
Add hdb symbols, make sure only one indexer runs
2005-04-23 16:16:54 +00:00
Howard Chu
e3b66a409d
ITS#3677 use LDAP_DEBUG_ANY when logging the shutdown reason
2005-04-23 15:55:26 +00:00
Howard Chu
cd1bdf99e2
Add task names to runqueue entries. Display running tasks under
...
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Howard Chu
2d277bef3b
More for dynamic dbenv swapping
2005-04-22 23:02:01 +00:00
Pierangelo Masarati
41aad6e27f
more on error handling reworking; should address ITS#3672 and ITS#3676
2005-04-22 21:43:52 +00:00
Howard Chu
8d0fba2d97
Dynamic environment swapping
2005-04-22 21:35:45 +00:00
Howard Chu
cfc73a837b
Fix prev commit
2005-04-22 21:34:49 +00:00
Howard Chu
9754ccacfd
ITS#3607 use shared memory when configured
2005-04-22 21:18:59 +00:00
Howard Chu
7674aa817f
Fix single-value delete, replace
2005-04-22 21:15:20 +00:00
Howard Chu
855f7d44e9
pwdReset was not supposed to be NO-USER-MODIFICATION
2005-04-22 18:42:52 +00:00
Howard Chu
c49ba400db
Cleanup db_close vs db_destroy steps
2005-04-22 18:07:02 +00:00
Pierangelo Masarati
4ecdb6285d
cleanup
2005-04-22 17:30:59 +00:00
Howard Chu
0398f254ee
Fix checkpoint task start/stop
2005-04-22 15:32:09 +00:00
Howard Chu
6d66968ab0
Cleanup task tracking
2005-04-22 14:50:28 +00:00
Howard Chu
8f78d064ee
Isolate syncrepl stuff in syncrepl.c
2005-04-22 14:38:35 +00:00
Howard Chu
7e27799b95
Fix prev commit
2005-04-22 14:34:10 +00:00
Howard Chu
cc2288b444
Fix bdb_attrinfo_free
2005-04-22 14:21:54 +00:00
Pierangelo Masarati
eda6c5abcb
remove unnecessary call
2005-04-22 12:59:30 +00:00
Howard Chu
5158e46d59
Note draft 8 in comment
2005-04-22 09:10:06 +00:00
Howard Chu
3400b96d71
ITS#3655 patch from Ralf rhafer@suse.de update to draft 8 behavior
2005-04-22 09:09:12 +00:00
Pierangelo Masarati
18d18d25dc
more attr_merge cleanup (please check)
2005-04-21 23:36:37 +00:00
Pierangelo Masarati
22aed7ddf9
add a consistency check
2005-04-21 23:35:00 +00:00
Pierangelo Masarati
17dbf7a49f
fix previous commit
2005-04-21 22:57:49 +00:00
Pierangelo Masarati
95d3db5d25
fix previous commit
2005-04-21 22:22:43 +00:00
Pierangelo Masarati
2d94c4bd52
set alias dereferencing (please check)
2005-04-21 21:19:35 +00:00
Pierangelo Masarati
5fe42e8853
either pass normalized values to attr_merge*() or call attr_merge_normalize*() (fixes ITS#3659)
2005-04-21 21:05:38 +00:00
Pierangelo Masarati
a7b1017f44
partial fix to ITS#3659; still problems in merging values with "permissive" set
2005-04-21 19:55:22 +00:00
Howard Chu
8b6d9467ea
Fix prev commit for component indexer op
2005-04-21 19:54:54 +00:00
Howard Chu
180d28dab7
Fix typo, add Truncate support
2005-04-21 19:46:47 +00:00
Howard Chu
88cdbab5f4
config cleanup handler
2005-04-21 19:31:39 +00:00
Howard Chu
5bf5288be5
Allow shutdown to interrupt the indexer
2005-04-21 19:23:33 +00:00
Howard Chu
5de908e7e1
Dynamic indexing support
2005-04-21 19:04:31 +00:00
Howard Chu
eac3fc3737
Added some delete handlers
2005-04-21 12:45:25 +00:00
Howard Chu
df6701667e
Placeholders for unimplemented Delete handlers
2005-04-21 12:03:35 +00:00
Howard Chu
f5e36e1bbd
Fix dnattr unparsing
2005-04-21 07:15:02 +00:00
Howard Chu
854b433489
Fix X-ORDERED SIBLINGS
2005-04-21 06:39:58 +00:00
Pierangelo Masarati
08a6909f73
add basic support for retry; protect internal bind behind mutexes; rework search, review candidate selection; minor cleanup. Passes concurrency test036
2005-04-21 03:17:31 +00:00
Pierangelo Masarati
471f4772a0
cleanup connection locking
2005-04-21 00:49:35 +00:00
Pierangelo Masarati
c3fd851a59
slightly reduce malloc overhead; minor cleanup
2005-04-20 18:52:10 +00:00
Howard Chu
3f542e1868
Fixes for ordered deletes
2005-04-19 18:37:39 +00:00
Howard Chu
b5ef8ea6f4
More modify support. ACL editing works.
2005-04-19 16:39:48 +00:00
Pierangelo Masarati
410638fda1
fix memory leak (ITS#3669)
2005-04-19 14:31:07 +00:00
Pierangelo Masarati
1dbf872d61
set deref
2005-04-18 09:16:50 +00:00
Pierangelo Masarati
f6d136a99a
fix overlay access control; cleanup
2005-04-18 09:16:26 +00:00
Pierangelo Masarati
f2c4803dbd
someone (e.g. an overlay) might muck with this data (e.g. remove a modification from the list...)
2005-04-17 19:12:46 +00:00
Pierangelo Masarati
623615e2f1
protect macro
2005-04-16 03:13:37 +00:00
Pierangelo Masarati
a141e3badf
enable use of asynchronous call to StartTLS
2005-04-16 02:56:46 +00:00
Pierangelo Masarati
c1b5e84e2d
a) implement a new candidate selection procedure, based on target naming
...
context checking and multiple match resolution via an internal search
b) move the candidate listing in a persistent per-thread buffer
c) fix bind procedure
d) minor cleanup
(a) and (b) should address ITS#2935; (b) and (c) should address ITS#3171
A test is also added
2005-04-16 02:25:41 +00:00
Howard Chu
41d37a335e
ITS#3660 fix BDB verbose calls
2005-04-16 01:24:00 +00:00
Howard Chu
3189027df7
ITS#3661 use MAXPATHLEN, not PATH_MAX
2005-04-15 22:15:46 +00:00
Howard Chu
6399387580
ITS#3616 store contextCSN in glue entry if database suffix is empty
2005-04-15 06:58:03 +00:00
Howard Chu
46bea91379
ITS#3657 added missing check
2005-04-15 03:57:57 +00:00
Howard Chu
90ccff7163
Fix config_build_entry, normalized attributes
2005-04-14 11:36:37 +00:00
Howard Chu
d1288bf70e
Ignore back-ldif if config directory is inaccessible
2005-04-14 11:16:20 +00:00
Howard Chu
d882ce511d
Generic ordered value support
2005-04-14 10:31:51 +00:00
Howard Chu
562916939e
Add STRIP macro to allow overriding strip on make install
2005-04-14 08:57:07 +00:00
Howard Chu
5ef9978afe
ITS#3616 don't index the dummy context entry
2005-04-13 19:05:56 +00:00
Howard Chu
d9ab73837a
ITS#3647 back-hdb fixes, create unsorted subtree IDLs and sort later.
2005-04-13 11:55:25 +00:00
Howard Chu
1afb2c8e6e
Store modification in back-ldif
2005-04-13 06:56:26 +00:00
Howard Chu
4f95c63211
Fix typo in OMsInteger macro
2005-04-13 06:44:32 +00:00
Howard Chu
60533ad197
More for Modify. Single-valued attrs working.
2005-04-13 06:38:00 +00:00
Howard Chu
1ad2e448c5
Basic Modify framework, still in progress
2005-04-13 05:36:13 +00:00
Howard Chu
18e19a3a52
ITS#3607 more enhancements
...
- recovers correctly, logs status
- for Quick mode, where no transactional environment exists, refuses to
start if the database is inconsistent
- warns of poor performance if DB_CONFIG is not present
- detects changes to DB_CONFIG and forces a recovery
2005-04-13 04:34:15 +00:00
Howard Chu
28af130e89
unifdef BDB_SUBDIRS, was never used
2005-04-13 04:08:43 +00:00
Pierangelo Masarati
a6f8cd07f6
partially revert previous commit (ITS#3652)
2005-04-13 01:03:46 +00:00
Pierangelo Masarati
4a5cef7472
fix access control when no backend could be found (might need work)
2005-04-13 00:01:53 +00:00
Pierangelo Masarati
ec0b3b4b3c
fix access control when no backend could be found (might need work)
2005-04-13 00:00:06 +00:00
Pierangelo Masarati
98294f1125
fix access unparse (ITS#3631)
2005-04-12 23:10:48 +00:00
Pierangelo Masarati
a85603c10b
more on ITS#3652
2005-04-12 22:38:54 +00:00
Pierangelo Masarati
2430af4e8b
fix slapacl when doing cross-database access checking
2005-04-12 22:13:42 +00:00
Pierangelo Masarati
da69eca714
more issues related to slapacl
2005-04-12 20:33:45 +00:00
Pierangelo Masarati
e9ab146a41
fix previous commit in case of access to non existent backend (e.g. rootDSE); add (and document) authzID/DN support
2005-04-12 19:36:56 +00:00
Pierangelo Masarati
387864a9f2
cleanup previous commit
2005-04-12 19:35:53 +00:00
Pierangelo Masarati
239f8fe2b2
fix the fix to previous commit
2005-04-12 17:11:30 +00:00
Pierangelo Masarati
42dda802ba
add comment (see ITS#3652)
2005-04-12 17:01:31 +00:00
Pierangelo Masarati
6f1ebb180e
fix previous commit (ITS#3654)
2005-04-12 16:35:52 +00:00
Howard Chu
bb9011b385
ITS#3648 use slapd runqueue for periodic sync
2005-04-12 12:35:00 +00:00
Howard Chu
fbce032cf2
Fix checkpoint task - must call stoptask before returning
2005-04-12 12:32:48 +00:00
Howard Chu
5aed76fe78
ITS#3573, mark pwdChangedTime, pwdGraceUseTime, pwdExpirationWarned,
...
pwdHistory, and pwdReset NO-USER-MODIFICATION
2005-04-12 10:58:50 +00:00
Howard Chu
d38707a952
Fix slapMode parens
2005-04-12 10:48:22 +00:00
Pierangelo Masarati
d2dd3a616c
hide changes behind specific #ifdef, conditioned by LDAP_DEBUG; always allow access on back-dnssrv
2005-04-12 01:07:30 +00:00
Pierangelo Masarati
f103c78530
cleanup previous commit
2005-04-12 00:34:13 +00:00
Pierangelo Masarati
15016154b6
add ACL hook to overlays
2005-04-12 00:24:04 +00:00
Pierangelo Masarati
50bb034d97
in case of success, release the entry only after global overlays have seen it on the way back
2005-04-12 00:20:16 +00:00
Pierangelo Masarati
159dad3d9f
iptr was unint'd
2005-04-11 21:44:29 +00:00
Pierangelo Masarati
91b4e991be
cleanup & silence warnings
2005-04-11 21:35:34 +00:00
Pierangelo Masarati
e17ec4eb52
call frontend's be_unbind, if any, to honor hooks registered by global overlays (ITS#3649)
2005-04-11 19:12:30 +00:00
Howard Chu
b0627689e8
ITS#3647 fix hdb dn2idl SEGV
2005-04-11 04:00:08 +00:00
Pierangelo Masarati
5affbfa428
add SASL bind for acl-authc; use slap_bindconf
2005-04-10 23:44:06 +00:00
Pierangelo Masarati
c1885efd83
more bindconf cleanup
2005-04-10 23:43:17 +00:00
Pierangelo Masarati
f7ead8f919
apply naming scheme to global/database schema
2005-04-10 22:27:50 +00:00
Kurt Zeilenga
3e800f20bd
<limits.h> cleanup && ITS#3643
2005-04-10 19:32:14 +00:00
Pierangelo Masarati
3546934005
same for objectClass; improve previous commit
2005-04-10 15:40:15 +00:00
Pierangelo Masarati
fa4b1c69d7
Added further consistency checks and a new schema parse error value
...
which should help in debugging schema development for back-config.
The check essentially verifies, when a duplicate attributeType is found,
that the new attributeType definition is an exact duplicate of the
definition already present in the schema.
2005-04-10 15:14:13 +00:00
Pierangelo Masarati
f1870628be
clarify comment
2005-04-10 09:54:21 +00:00
Pierangelo Masarati
53ce94a25d
protect all occurrences of ACL_DISCLOSE
2005-04-09 17:00:40 +00:00
Pierangelo Masarati
59c40035fd
cleanup
2005-04-09 16:50:07 +00:00
Howard Chu
e2a3fc3af3
Preserve OID macros for display in back-config
2005-04-09 16:13:04 +00:00
Pierangelo Masarati
58d4f7fc20
base64 encode passwords in back-config
2005-04-09 15:19:36 +00:00
Howard Chu
a2a28f7b95
ITS#3616 allow adding entry with zero-length DN if the suffix is zero-length
2005-04-09 11:28:06 +00:00
Howard Chu
7aac82d31c
ITS#3616 allow adding entry with zero-length DN if the suffix is zero length
2005-04-09 11:27:35 +00:00
Howard Chu
335e8a8ba7
Don't do ctxcsn checks in Tool mode, don't generate ctxcsn if it's missing
...
and we're also a consumer.
2005-04-09 11:26:31 +00:00
Howard Chu
20eaae2c7c
Silence warnings in prev commit
2005-04-09 11:21:08 +00:00
Howard Chu
f43086d1c1
ITS#3616 fixes for zero-length DN entry. generate context entry on the
...
fly if a modify is attempted and it does not exist.
2005-04-09 11:15:05 +00:00
Howard Chu
90d9791047
ITS#3616 use fake context entry if suffix is empty.
2005-04-09 10:01:13 +00:00
Howard Chu
632d7186c0
Don't crash on update_ctx if context entry has no contextCSN
2005-04-09 10:00:15 +00:00
Howard Chu
0c0cb6a924
ITS#3616 skip naming checks for entry with zero-length DN
2005-04-09 09:59:40 +00:00
Howard Chu
d9df909ba4
ITS#3638 Init ids to zero in bdb_dn2idl
2005-04-09 07:45:14 +00:00
Howard Chu
e90f933e8c
ITS#3646 allow default index
2005-04-09 07:32:51 +00:00
Howard Chu
26a101edce
ITS#3644 include limits.h in config.h, set PATH_MAX in config.h
2005-04-09 06:35:28 +00:00
Pierangelo Masarati
86b697f236
further cleanup; plug memory leak?
2005-04-09 01:00:53 +00:00
Howard Chu
dbb5d00908
ITS#3267 add a comment
2005-04-09 00:56:30 +00:00
Howard Chu
546bc9cf19
ITS#3267 fix out-of-order slapadd
2005-04-09 00:38:18 +00:00
Pierangelo Masarati
14b2b4de13
cleanup
2005-04-09 00:29:06 +00:00
Pierangelo Masarati
09e4da6bef
check parameters
2005-04-09 00:11:31 +00:00
Pierangelo Masarati
b109d018eb
honor disclose
2005-04-08 23:33:03 +00:00
Pierangelo Masarati
64ae69f6df
honor disclose and search access of searchBase; fix potential lock issue; honor abandon
2005-04-08 23:20:37 +00:00
Pierangelo Masarati
9428882682
further improve previous fix
2005-04-08 22:11:56 +00:00
Pierangelo Masarati
7d958d9773
further improve previous fix
2005-04-08 22:06:06 +00:00
Pierangelo Masarati
914f47f253
improve previous fix; return LDAP_REFERRAL to avoid returning result multiple times
2005-04-08 21:58:58 +00:00
Pierangelo Masarati
59b96206a8
cleanup sr_ref
2005-04-08 21:38:38 +00:00
Jong Hyuk Choi
8b53a1f0bb
malloc cleanup
2005-04-08 19:39:58 +00:00
Pierangelo Masarati
889ce515ad
save a malloc; some more cleanup
2005-04-08 19:17:51 +00:00
Pierangelo Masarati
bc97f801bf
fix previous commit
2005-04-08 00:19:01 +00:00
Pierangelo Masarati
4abbf9c610
implement add/delete granularity in write access (ITS#3631)
2005-04-08 00:18:24 +00:00
Pierangelo Masarati
5807c2b379
add dynlist build stuff
2005-04-07 23:51:31 +00:00
Pierangelo Masarati
22490d016a
add dynlist build stuff
2005-04-07 23:35:36 +00:00
Pierangelo Masarati
6e2c78c309
add dynlist.c from SysNet's repository; needs build stuff (when mature)
2005-04-07 22:42:44 +00:00
Pierangelo Masarati
b94a776870
document option '-F'
2005-04-07 20:12:57 +00:00
Howard Chu
9e9e3c988a
Fix access error return
2005-04-07 19:54:37 +00:00
Pierangelo Masarati
d213e99443
line up usage message
2005-04-07 19:32:50 +00:00
Howard Chu
931d7f4a95
Ignore include file records when loading LDIF tree, their contents
...
have already been incorporated into the LDIF.
2005-04-07 05:32:21 +00:00
Howard Chu
15fe667281
On add, sort attributes in schema order to enforce config sequencing
2005-04-07 05:23:23 +00:00
Kurt Zeilenga
b425b15fc8
Improved log message when cannot find entry of desired class
2005-04-07 00:54:06 +00:00
Pierangelo Masarati
0220a25f05
use alias name instead of column name in order by clause (ITS#3629)
2005-04-04 17:41:29 +00:00
Pierangelo Masarati
f1698e30f5
update diagnostics and man pages
2005-04-04 12:24:50 +00:00
Pierangelo Masarati
e0fd9ebf14
cleanup previous commits
2005-04-04 11:19:21 +00:00
Pierangelo Masarati
f43f7b1bfb
cleanup listener permissions
2005-04-04 10:42:50 +00:00
Howard Chu
bf0373b486
Add conn->c_sasl_authz_dn, store SASL authzDN separately from authcDN
2005-04-03 09:38:53 +00:00
Pierangelo Masarati
3eb87b2faa
implement "realdn" by clause in ACLs (ITS#3627; accounting for Howard's remarks)
2005-04-03 01:59:03 +00:00
Pierangelo Masarati
fe1b73c712
implement checking of the whole target entry if no attributes are specified (ITS#3624)
2005-04-03 01:20:36 +00:00
Pierangelo Masarati
f1e2d35bd6
rework few members of slap_bindconf; silence few warnings
2005-04-02 01:33:48 +00:00
Pierangelo Masarati
a736b1041e
clarify the usage of dnParent( dn, dn )
2005-04-01 23:58:38 +00:00
Pierangelo Masarati
8e19437ddc
allow slapdn to return the DN in pretty/normal only mode, without diagnostics, to be used as filter (should allow reading from stdin as well)
2005-04-01 12:59:26 +00:00
Pierangelo Masarati
ae3f784d5b
fix database operations in tool mode (ITS#3622)
2005-04-01 12:20:02 +00:00
Howard Chu
f9917a9c16
Truncate \r if it appears at end of DB_CONFIG lines
2005-04-01 12:06:46 +00:00
Howard Chu
bff244da5b
Add dbconfig directive for creating/writing the DB_CONFIG file
2005-04-01 11:26:43 +00:00
Howard Chu
04f6efbe1c
ITS#3607 more for Win32 portability
2005-04-01 08:10:26 +00:00
Howard Chu
18d1821b1f
ITS#3607, added Win32 lock support
2005-04-01 06:10:06 +00:00
Kurt Zeilenga
af866c3b44
Added a conformant sortedResults support which is unable to sort anything.
2005-04-01 02:40:29 +00:00
Kurt Zeilenga
0b6ed01c05
cleanup
2005-04-01 02:39:01 +00:00
Howard Chu
652d0a189a
Fix filter crash when DN contains parenthesis
2005-04-01 02:13:17 +00:00
Pierangelo Masarati
3958eb9e98
actually retrieve the target, to apply clauses like sets and so
2005-03-31 21:21:16 +00:00
Pierangelo Masarati
2605dfa81f
cleanup options
2005-03-31 20:03:30 +00:00
Pierangelo Masarati
4cba10c13e
always shutdown (slaptest was not)
2005-03-31 19:34:36 +00:00
Pierangelo Masarati
584b21d20b
initial commit of "level" styles for "dn" and "self" by clauses (ITS#3615)
2005-03-31 18:10:11 +00:00
Pierangelo Masarati
26c1524163
rework provious commit(s)
2005-03-31 12:18:56 +00:00
Pierangelo Masarati
e85c3f2f6a
more cleanup?
2005-03-31 00:30:41 +00:00
Pierangelo Masarati
1c5e5b7db0
cleanup
2005-03-31 00:27:53 +00:00
Pierangelo Masarati
8d3eb19995
beautify conditional compilation warning
2005-03-30 23:46:25 +00:00
Pierangelo Masarati
a96f2af281
more dnParent() and misc cleanup
2005-03-30 22:45:46 +00:00
Pierangelo Masarati
20b3d14dc3
more dnParent() cleanup
2005-03-30 22:29:54 +00:00
Pierangelo Masarati
83bb1c93cb
allow setting misc params used by ACL checking
2005-03-30 22:29:35 +00:00
Pierangelo Masarati
61bb4bb630
allow dnParent to work in place
2005-03-30 20:18:11 +00:00
Pierangelo Masarati
22bc85dc77
minor cleanup
2005-03-30 18:58:52 +00:00
Pierangelo Masarati
7cf03f2b50
don't fail if the directory can't be opened because it doesn't exist; silence few warnings
2005-03-30 18:38:04 +00:00
Pierangelo Masarati
7d531d1416
release lock as early as possible; deferring referral checking in searches may reduce the amount of dynamic entry generation
2005-03-29 23:56:23 +00:00
Pierangelo Masarati
908aaa5107
add manageDSAit & referral support (to be tested); cleanup some error conditions
2005-03-29 18:57:42 +00:00
Pierangelo Masarati
40ec0992d6
don't continue if fopen failed
2005-03-29 11:43:36 +00:00
Howard Chu
fbbc07e644
Allow for alternate ordering characters to be used in the filesystem
2005-03-29 08:29:38 +00:00
Howard Chu
b8bf38cd5b
Tighten up some schema
2005-03-29 03:31:48 +00:00
Howard Chu
aaf112c9c2
Better numeric sorting for ordered entries
2005-03-29 03:11:40 +00:00
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Pierangelo Masarati
429629ff0c
fix previous commit
2005-03-28 18:53:57 +00:00
Pierangelo Masarati
27e5fabb8b
document missing feature; avoid the risk of returning argv in an inconsistent state when an error occurs
2005-03-28 18:51:02 +00:00
Howard Chu
62d21aadd0
Register ManageDSAit control
2005-03-28 10:23:04 +00:00
Howard Chu
51c913d83c
Fix missing break's, add overlay works
2005-03-27 13:27:30 +00:00
Howard Chu
a2348970e5
Fix search, fix add. Adding backends/databases works.
2005-03-27 13:08:57 +00:00
Howard Chu
18bf31b3c6
ITS#3607 build alock
2005-03-27 06:45:15 +00:00
Howard Chu
4d4e58d8f1
ITS#3607 build alock code
2005-03-26 10:21:43 +00:00
Howard Chu
d7396583d5
ITS#3607 add automatic BDB recovery
2005-03-26 09:52:04 +00:00
Kurt Zeilenga
e7e8ec90b6
Update uniqueMemberMatch to be consistent with latest
...
draft-ietf-ldapbis-syntaxes
Add uniqueMemberMatch approximate support
Add uniqueMemberMatch indexing support
2005-03-26 02:07:00 +00:00
Kurt Zeilenga
71c2c1c9fe
Change "subtree delete not supported" diagnostic text to
...
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Howard Chu
eb8f927af3
Fix copyright/attribution comments
2005-03-25 20:11:28 +00:00
Kurt Zeilenga
8da81d42c7
ITS#3538: improved substrings matching (spaces handled
...
in accordance with LDAPprep)
2005-03-25 05:57:07 +00:00
Howard Chu
5a66d7de66
Fix prev commit
2005-03-24 06:06:40 +00:00
Howard Chu
0076b40c32
Convert backendInfo/backendDB to STAILQs
2005-03-24 05:13:31 +00:00
Kurt Zeilenga
7677c00d80
cleanup
2005-03-23 01:50:49 +00:00
Howard Chu
5c3a4e176e
Preliminary ldapAdd support
2005-03-21 23:59:53 +00:00
Howard Chu
4fcab959c0
Define SLAP_USE_CONFDIR, fix moduleload
2005-03-21 20:07:05 +00:00
Howard Chu
c9141a9a08
More parsing fixes
2005-03-21 11:14:37 +00:00
Howard Chu
38383fca41
Fix startup check
2005-03-21 10:32:28 +00:00
Howard Chu
3f357270d4
Fix unparsers, schema loading works
2005-03-21 10:23:01 +00:00
Howard Chu
119cbcaba4
Schema unparsing support
2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f
Add HARDCODE schema flags
2005-03-21 00:22:54 +00:00
Howard Chu
1476ad80a6
Tweak log msg in prev commit
2005-03-20 20:55:49 +00:00
Howard Chu
e2a4978d82
Runtime detection of BDB read-only transaction patch
2005-03-20 20:54:44 +00:00
Kurt Zeilenga
9198281e9e
db mismatch (including patch mismatch) should be an error
2005-03-20 17:18:15 +00:00
Howard Chu
320c291455
Fix config_rootpw
2005-03-20 09:50:09 +00:00
Howard Chu
48ee1e7021
Fix prev commit
2005-03-20 09:24:35 +00:00
Howard Chu
fda662bd34
More for loading config from LDIF
2005-03-20 09:13:48 +00:00
Kurt Zeilenga
43ba1a98db
ITS#3579 fixes
2005-03-20 04:29:35 +00:00
Kurt Zeilenga
9507a11573
cleanup
2005-03-20 01:58:38 +00:00
Kurt Zeilenga
305f6c4f2c
Honor disclose in compare_entry()
2005-03-19 20:14:14 +00:00
Kurt Zeilenga
5d169e40ea
move honor disclose back behind LDAP_DEVEL
...
needs more work before really ready for release (2.4?)
2005-03-19 19:31:32 +00:00
Howard Chu
90172993a3
Add ordered-values schema flag
2005-03-18 23:24:28 +00:00
Howard Chu
c2a9642850
Support subtree rename, refuse subtree delete
2005-03-18 23:22:12 +00:00
Howard Chu
f06247fede
Added some implementation notes (reminders...)
2005-03-18 09:50:06 +00:00
Howard Chu
f77233d2ea
Fix slapd_crypt declaration
2005-03-18 06:12:54 +00:00
Howard Chu
afe12db0d1
Cleanup prev commit
2005-03-18 06:12:27 +00:00
Howard Chu
2da2336ac6
Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy
2005-03-18 06:06:38 +00:00
Pierangelo Masarati
dec4c2197a
avoid potential deadlock related to ACLs checking
2005-03-18 00:10:10 +00:00
Kurt Zeilenga
c29c0c9bd8
Fix compile warning
2005-03-17 23:55:52 +00:00
Howard Chu
ac3ad635ef
Silently ignore if back-ldif is not present
2005-03-17 23:47:20 +00:00
Howard Chu
83c748fe5c
More for loading config from database. Fix non-reentrant strtok_quote.
2005-03-17 23:07:44 +00:00
Howard Chu
1e5f43ddd1
In aci_set_gather propagate op->o_private to subordinate search
2005-03-17 22:28:30 +00:00
Kurt Zeilenga
85bc7ccd2c
"disclose" implementation good enough for beta
2005-03-17 17:33:03 +00:00
Howard Chu
4a8d8eb78a
Read config tree from back-ldif
2005-03-17 06:34:11 +00:00
Howard Chu
dccfd8ae23
Fix enum_tree, return in lexical order
2005-03-17 06:31:50 +00:00
Howard Chu
3ead49d206
ITS#3542 - ignore timevals from deferred tasks
2005-03-17 05:03:28 +00:00
Howard Chu
9bfb4e7213
Revert prev commit, wrong fix
2005-03-17 04:50:19 +00:00
Howard Chu
d1050c5aa2
ITS#3542 if slapd processes too slowly, time diff can go negative
2005-03-17 04:44:21 +00:00
Howard Chu
f955f17076
ITS#3576 use actual backend (not glue instance) for restriction and
...
update/referral checks
2005-03-17 04:29:31 +00:00
Howard Chu
4e5407a096
Check for db_init failures
2005-03-16 21:44:05 +00:00
Howard Chu
cd23b2ddf4
Fix unterminated debug msgs
2005-03-16 21:29:32 +00:00
Howard Chu
5ffc2ce9f1
Fix ITS#3601
2005-03-16 21:03:51 +00:00
Howard Chu
585b4a02ef
Fix prev commit, overlay config was broken
2005-03-16 20:31:49 +00:00
Howard Chu
49bf49de06
More cleanup. Still needs work.
2005-03-16 07:45:17 +00:00
Kurt Zeilenga
6ea6a72d5d
remove non-ISO-C-isms
...
This code needs to be cleaned up!
2005-03-16 02:33:27 +00:00
Pierangelo Masarati
c90998e60d
cure ITS#3602
2005-03-15 23:01:06 +00:00
Howard Chu
bc4564cac4
More back-config / back-ldif integration, added config_generic_wrapper,
...
added -F option to specify config directory
2005-03-15 08:57:34 +00:00
Howard Chu
f682ee0918
entry_schema_check - NULL out *text when returning Success
2005-03-15 08:29:42 +00:00
Kurt Zeilenga
f06ca8eb1f
cleanup
2005-03-15 03:11:24 +00:00
Kurt Zeilenga
3b3c521083
slapi glue fix
2005-03-15 02:47:27 +00:00
Kurt Zeilenga
c19b745b64
cleanup
2005-03-14 23:21:35 +00:00
Howard Chu
a49215d4bf
Move cn=config from namingContexts to configContext
2005-03-14 23:21:00 +00:00
Howard Chu
902494b432
Cleanup prev commit
2005-03-14 19:46:14 +00:00
Howard Chu
38cf26c95a
Fix typo
2005-03-14 19:23:42 +00:00
Howard Chu
b120d92bd6
ITS#3596 - fix overlay cleanup processing
2005-03-14 01:23:38 +00:00
Howard Chu
b508cca217
ITS#3596 partial fix - fix sc_cleanup processing
2005-03-14 00:39:49 +00:00
Howard Chu
86ef29b5e7
ITS#3596 partial fix - allow abandoning a locked operation
2005-03-14 00:12:48 +00:00
Howard Chu
8a31f9a96f
Ignore matches from the entry being modified
2005-03-13 23:18:49 +00:00
Howard Chu
699fa73c2b
Added back-ldif
2005-03-10 06:19:18 +00:00
Howard Chu
8da7cce20d
Added translucent overlay (sponsored by HP)
2005-03-10 03:13:24 +00:00
Howard Chu
36358007d4
Added dummy config_back_modify, using ldap_pvt_thread_pool_pause/resume
2005-03-07 21:03:04 +00:00
Howard Chu
90f356a9f9
Moved ACLs to their own entry
2005-03-07 18:14:13 +00:00
Kurt Zeilenga
b914aee946
Replace OpenLDAPtime with testTime (in test.schema).
...
Don't muck with OpenLDAPperson or openldap.schema.
Replace OpenLDAPtime with testTime (in test.schema).
Define testPerson instead (in test.schema).
Update test004 to use new test schema.
2005-03-04 17:33:26 +00:00
Howard Chu
f7e158333e
ITS#2919 move OpenLDAPtime to OpenLDAPperson
2005-03-04 11:35:37 +00:00
Howard Chu
b9b087384c
Added config compatibility wrapper for overlays etc...
2005-03-04 10:32:51 +00:00
Howard Chu
50c3487e03
Fix backend config table fallthru
2005-03-04 10:01:31 +00:00
Howard Chu
0b9ffad770
Don't restrict cache sizes to non-zero
2005-03-04 09:45:08 +00:00
Howard Chu
8573640ff9
Fix schema init sequence
2005-03-04 09:26:50 +00:00
Howard Chu
5616daf9f8
ITS#2919 add a user modifiable generalizedTime attribute
...
(please assign an OID for this attribute)
2005-03-04 09:16:37 +00:00
Howard Chu
4e2dccf147
Fix prev commit, make sure to only send result once
2005-03-04 06:25:10 +00:00
Howard Chu
379a620217
Fix ITS#3537 (need to repeat this fix for the other operations too.)
2005-03-04 06:20:37 +00:00
Howard Chu
c160e0d349
ITS#3579 disable ldap_syslog earlier.
2005-03-04 04:32:43 +00:00
Howard Chu
a025ead532
ITS#3533 use LDAP_DEBUG_TRACE for version info
2005-03-04 00:10:01 +00:00
Howard Chu
74e38c0ad4
More verbmasks cleanup, added index unparsing
2005-03-02 16:35:59 +00:00
Howard Chu
530e93f96e
Cleanup verb/mask processing
2005-03-02 14:49:54 +00:00
Howard Chu
1bc59be16d
Fix initial config file info
2005-03-02 05:20:22 +00:00
Howard Chu
44521fd902
Reorganized config/bconfig. Migrated back-bdb config.
2005-03-02 04:46:50 +00:00
Howard Chu
a2a9ae725f
Drop "access " from acl_unparse
2005-03-01 23:17:54 +00:00
Howard Chu
b6a42fd1a2
Fix prev commit
2005-03-01 23:13:21 +00:00
Howard Chu
58865ccb38
Added general limits retrieval
2005-03-01 23:01:47 +00:00
Howard Chu
58939adc36
Added limits_unparse_one
2005-03-01 21:25:32 +00:00
Howard Chu
5a2333573c
Fix prev commit
2005-03-01 21:16:44 +00:00
Howard Chu
5acd0c574b
Added authz-regexp, slapi plugin retrieval
2005-03-01 20:08:36 +00:00
Howard Chu
e509e81ecd
Fix slapi plugin info
2005-03-01 20:05:20 +00:00
Pierangelo Masarati
70963520d4
fix ITS#3406 wrt/ dnattr; silence warning
2005-03-01 18:40:23 +00:00
Howard Chu
21aa0d0f9f
Added oidm retrieval
2005-03-01 18:05:23 +00:00
Howard Chu
89210b7100
Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse
2005-03-01 11:42:31 +00:00
Howard Chu
05a4b7e234
Added moduleload/modulepath retrieval
2005-02-28 22:19:55 +00:00
Pierangelo Masarati
bb82f8ffd0
fix ITS#3570 (please review)
2005-02-27 20:02:13 +00:00
Pierangelo Masarati
f93aec341c
(partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed
2005-02-27 18:05:22 +00:00
Pierangelo Masarati
d7a5355176
enable tls-related code only if available; import fix for asynchronous starttls from back-ldap
2005-02-27 17:20:04 +00:00
Kurt Zeilenga
f9b2a8a1d2
ITS#3557: {SSHA} not default due to missing include
2005-02-27 16:46:45 +00:00
Kurt Zeilenga
aefb272680
Fix compiler error and warnings.
2005-02-27 06:10:01 +00:00
Howard Chu
049a1dbca0
SASL/TLS fixes to prev commit
2005-02-24 09:07:40 +00:00
Kurt Zeilenga
2d98546d21
ITS#3583
2005-02-23 16:08:11 +00:00
Howard Chu
660c5de77b
Added syncrepl retrieval
2005-02-23 14:58:53 +00:00
Howard Chu
c54cd8b7f1
Added replica retrieval
2005-02-23 12:03:14 +00:00
Howard Chu
5d46454d87
Fix prev, add security factors
2005-02-23 07:09:24 +00:00
Howard Chu
0383195cc0
Fix up memory usage
2005-02-23 04:25:24 +00:00
Pierangelo Masarati
4e8256f6ab
improve previous commit; now attribute values are rewritten either if they were DN-valued before or after being remapped
2005-02-22 21:29:42 +00:00
Pierangelo Masarati
ba90bad9c8
honor remapped attrs in requested attrlist; fix erroneous cleanup of remapped requested attrlist (only at response)
2005-02-22 20:16:31 +00:00
Pierangelo Masarati
91961faab6
missing successful return was causing erroneous failure detection
2005-02-22 15:01:14 +00:00
Howard Chu
b1a575899d
Make replica directives visible/editable
2005-02-22 12:18:53 +00:00
Howard Chu
e0ca6e386e
Added acl_unparse, slap_sasl_getpolicy
2005-02-22 12:02:34 +00:00
Howard Chu
b000d76f22
Added overlay objects
2005-02-21 18:04:37 +00:00
Howard Chu
367e4915ab
Added includeFile objects
2005-02-21 17:38:27 +00:00
Howard Chu
39906c96e3
More schema fixes
2005-02-21 14:57:02 +00:00
Howard Chu
087b97c2c5
Use backend#0 for config, tools default to #1
2005-02-21 11:28:59 +00:00
Howard Chu
2b725a3dfe
ITS#3559 fix hdb dn2idl idl_cache usage
2005-02-21 11:11:00 +00:00
Howard Chu
4295f398af
Retrieve more values, bypass tool mode (for now)
2005-02-21 03:50:05 +00:00
Howard Chu
1895da7f52
Simple values retrievable
2005-02-21 02:21:29 +00:00
Howard Chu
c6f373bce1
Juggle ARG flags, needed some more bits
2005-02-21 01:10:23 +00:00
Pierangelo Masarati
49d2945e9a
fix previous commit (please check)
2005-02-20 23:06:55 +00:00
Howard Chu
efc8c43b73
Adding back-config pieces
2005-02-20 18:33:40 +00:00
Howard Chu
a26148af99
Preliminary config attribute schema
2005-02-20 11:24:24 +00:00
Howard Chu
dfb6f870f6
Rearrange, merge sasl config back into main config
2005-02-20 06:47:54 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +00:00
Howard Chu
caeae75662
bdb_show_key is for hash keys, not IDs
2005-02-20 04:32:54 +00:00
Luke Howard
0cf2e8746e
ITS#3556 (SLAPI does not work on 64-bit platforms)
2005-02-20 02:13:14 +00:00
Pierangelo Masarati
edfbbeb653
clarify comment
2005-02-19 16:55:14 +00:00
Pierangelo Masarati
f8b463d0bc
use asynchronous StartTLS
2005-02-19 16:14:22 +00:00
Pierangelo Masarati
5d19659193
honor abandon/cancel (ITS#3551)
2005-02-19 12:25:55 +00:00
Howard Chu
5418a6bb0f
Temporary placeholder, do not use. Will be hardcoded into config.c.
2005-02-19 12:22:47 +00:00
Howard Chu
d74a9f066a
ITS#3551 return SLAPD_ABANDON on abandon...
2005-02-19 12:10:40 +00:00
Pierangelo Masarati
0f18e6ce24
fix ITS#3551
2005-02-19 11:07:02 +00:00
Howard Chu
94b3f430cf
Fix cancel cleanup
2005-02-18 07:12:57 +00:00
Howard Chu
6cbe778c81
ITS#3549 allow one op to progress when a socket with writewaiters
...
becomes ready to write.
2005-02-18 04:21:59 +00:00
Howard Chu
beaeb5ed5c
Fix if HAVE_TLS is missing
2005-02-18 04:20:56 +00:00
Howard Chu
2964bfc48b
ITS#3549 acknowledge CANCEL requests
2005-02-18 01:08:47 +00:00
Howard Chu
5d8ece605e
ITS#3549 cleanup abandon/cancel processing
2005-02-18 01:01:35 +00:00
Howard Chu
1b244bbacd
Another abandon check
2005-02-18 00:50:17 +00:00
Howard Chu
ee42df4cea
Always return SLAPD_ABANDON in response to op->o_abandon being set.
2005-02-18 00:37:40 +00:00
Howard Chu
554c667ec7
Revert use_thread option, it didn't gain anything.
2005-02-17 15:18:30 +00:00
Howard Chu
3b34a6f81c
ITS#3546 fix consumer crash on interrupt (provider crash still unresolved)
2005-02-17 15:07:27 +00:00
Sang Seok Lim
583242c9a3
initialize AttributeAssertion before using
2005-02-16 17:00:11 +00:00
Sang Seok Lim
996e87298f
Misc clean up
2005-02-15 16:55:00 +00:00
Sang Seok Lim
9d59266e25
Attribute Aliasing : equality matching support
2005-02-15 05:24:48 +00:00