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
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