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
Howard Chu
b06eea3d99
Delete unused syncrepl_pool
2005-02-11 10:20:16 +00:00
Pierangelo Masarati
b43fb2bdfc
allow stacking of a default chaining control when chasing further referrals; fix referral return memory allocation on direct search
2005-02-06 22:12:02 +00:00
Pierangelo Masarati
046b40cbe3
provisions for configuring a desired chaining policy via the chaining behavior control
2005-02-05 18:21:14 +00:00
Pierangelo Masarati
e50092878d
temporarily revert to synchronous start tls
2005-02-05 17:33:22 +00:00
Pierangelo Masarati
73ca57cfef
import selected improvements from back-ldap: use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup
2005-02-05 15:55:27 +00:00
Pierangelo Masarati
43138aa500
use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup
2005-02-05 15:55:02 +00:00
Pierangelo Masarati
e3a19bfa32
import referral chaing options from back-ldap
2005-02-05 11:33:32 +00:00
Kurt Zeilenga
e106fb2449
Folks who wan MSAD schema should get it from MSAD
2005-02-04 03:48:50 +00:00
Luke Howard
fd0b7e75b1
ITS#3439 (NetBSD support for getpeereid())
2005-02-03 09:36:25 +00:00
Howard Chu
1510265454
Init ors_limit to NULL
2005-02-01 15:11:33 +00:00
Howard Chu
0f185de2b0
Fix uninit'd search limits
2005-02-01 14:02:53 +00:00
Howard Chu
b6019af759
Fix off-by-one in octetStringSubstringsFilter
2005-02-01 13:40:17 +00:00
Howard Chu
ae6b117a2a
config args are ints, not longs. (64 bit compatibility)
2005-02-01 12:36:25 +00:00
Pierangelo Masarati
4123f29eaa
fix spelling
2005-02-01 10:31:57 +00:00
Howard Chu
f2d423e084
ITS#3527 fix race in bdb_idl_cache_get
2005-02-01 05:37:09 +00:00
Howard Chu
122cdf4549
In ldap_back_bind, don't send success result, frontend does it
2005-02-01 00:19:45 +00:00
Pierangelo Masarati
8637bc5b28
handle cannotChain result
2005-01-31 11:22:12 +00:00
Pierangelo Masarati
3b84f11d25
honor SLAP_GLUE_INSTANCE() flag; allow to advertize subordinate databases
2005-01-31 00:15:45 +00:00
Pierangelo Masarati
d503b5a5b7
make frontend-generated attrs available to backend's hook
2005-01-31 00:14:00 +00:00
Pierangelo Masarati
4c61b9a8f7
further improve of previous commit
2005-01-30 23:14:41 +00:00
Pierangelo Masarati
625263852d
fix previous commit; plug a long lasting leak
2005-01-30 23:12:27 +00:00
Pierangelo Masarati
cfc77f0a0a
make referrals chasing optional (default is to chase them)
2005-01-30 22:56:59 +00:00
Pierangelo Masarati
14fc23c23a
silence warning
2005-01-30 22:07:48 +00:00
Pierangelo Masarati
b3c00deb3d
counter cleanup
2005-01-30 22:07:32 +00:00
Pierangelo Masarati
58a06eae47
handle compare in frontend if backend couldn't handle it (and returned SLAP_CB_CONTINUE; e.g. if wrapped around an overlay...)
2005-01-30 22:06:38 +00:00
Pierangelo Masarati
8cc2aa9372
implement hook; cleanup
2005-01-30 22:05:46 +00:00
Pierangelo Masarati
6fcc25f993
cleanup empty DN handling
2005-01-30 22:05:11 +00:00
Pierangelo Masarati
fbb2b75ace
matched values is "global"
2005-01-30 22:04:02 +00:00
Pierangelo Masarati
7cd731ec56
"ultimate" fix of glued databases controls checking; other minor fixes
2005-01-30 22:02:37 +00:00
Pierangelo Masarati
e96e874a18
take care of DN-valued "operational" (generated) attrs
2005-01-30 22:00:09 +00:00
Pierangelo Masarati
4f9b916b61
now works
2005-01-29 22:04:34 +00:00
Pierangelo Masarati
ff89b2c14c
looks a little better (but test033 doesn't work any more; disabling)
2005-01-29 19:04:06 +00:00
Pierangelo Masarati
9d11324e96
make the glue database inherit the controls of the subordinates (doesn't fix test033 though)
2005-01-29 18:38:44 +00:00
Pierangelo Masarati
cd797f8089
avoid cycling twice in the control list
2005-01-29 18:16:38 +00:00
Pierangelo Masarati
0056109b82
cleanup previous commit
2005-01-29 18:00:36 +00:00
Pierangelo Masarati
d0b804c439
use direct access instead of string comparison to check supported controls
2005-01-29 17:58:48 +00:00
Pierangelo Masarati
1e351da986
need to catch the '' base in search as well; selected cleanup and improvements
2005-01-28 23:19:02 +00:00
Pierangelo Masarati
77da5c56a4
allow to glue local databases under dnssrv
2005-01-28 21:38:02 +00:00
Luke Howard
4b1d72ab2f
Add slapi_x_backend_get_flags() API
2005-01-28 08:33:29 +00:00
Pierangelo Masarati
4304dfc9a2
allow referrals in result (may happen); propagate chaining errors
2005-01-28 01:43:49 +00:00
Kurt Zeilenga
e2292d34e1
remove commented out kludge macro
2005-01-27 23:08:20 +00:00
Kurt Zeilenga
1ff692274a
Removed control old kludge code
2005-01-27 23:06:57 +00:00
Pierangelo Masarati
4d5068630c
cleanup
2005-01-27 08:55:13 +00:00
Kurt Zeilenga
e826914a88
Less kludgy willing-to-perform check for recognized and appropriate
...
global controls
2005-01-27 06:45:20 +00:00
Luke Howard
82d3c103e9
Support LDAP_MOD_INCREMENT in slapi_modify_internal()
2005-01-27 06:20:31 +00:00
Pierangelo Masarati
2c801d9c2a
move compare to frontend (disabled by default, only invoked if backend doesn't provide hook); honor ITS#3472 (disclose access check); fix ITS#3521 as well (check access to hasSubordinates); fix a problem in backend_attribute() with operational attrs; add backend_access() helper
2005-01-26 23:30:57 +00:00
Pierangelo Masarati
362766b316
move compare to frontend (disabled by default, only invoked if backend doesn't provide hook); honor ITS#3472 (disclose access check); fix ITS#3521 as well (check access to hasSubordinates); fix a problem in backend_attribute() with operational attrs; add backend_access() helper
2005-01-26 23:19:48 +00:00
Pierangelo Masarati
1b268479c3
fix ITS#3406 - normalize attributes according to MR syntax in MRA filters
2005-01-26 21:48:36 +00:00
Pierangelo Masarati
3dd2f4150b
allow proxyAuthz of users authenticated via SASL
2005-01-26 20:01:02 +00:00
Kurt Zeilenga
ab455a5ec7
Place control availability kludge behind
...
#ifdef SLAP_CONTROL_AVAILABILITY_KLUDGE
for now. Me think its still needed (at least for FRONTEND controls).
2005-01-26 19:46:12 +00:00
Pierangelo Masarati
5ec9684894
controls can be added in two passes (e.g. by backends that actually inherit their controls from someone else)
2005-01-26 10:28:37 +00:00
Pierangelo Masarati
e047657f06
remove overoptimistic assertion
2005-01-26 10:27:38 +00:00
Pierangelo Masarati
9e6d64a0ad
move supported controls listing at backend startup; allow supported controls to be set/mucked in between
2005-01-26 09:53:29 +00:00
Pierangelo Masarati
5427af1f62
don't play with controls at bind; rather use the ldap_*_ext API
2005-01-26 09:52:12 +00:00
Pierangelo Masarati
beb0f6983a
fix previous commit
2005-01-26 09:45:51 +00:00
Pierangelo Masarati
947f87441e
don't play with controls at bind
2005-01-26 09:45:23 +00:00
Pierangelo Masarati
74896472de
don't add the trailing '??base' to URIs
2005-01-26 09:29:22 +00:00
Pierangelo Masarati
c67ce5f2e3
inherit controls
2005-01-26 08:57:39 +00:00
Pierangelo Masarati
e2fe9e394a
fix controls run-time registered by global overlays (kludge non longer required?)
2005-01-26 08:04:19 +00:00
Howard Chu
51c4161ca9
Add -q quick option for slapindex too
2005-01-26 03:14:47 +00:00
Howard Chu
87ad189972
Cleanup obsolete bits
2005-01-25 20:29:08 +00:00
Howard Chu
86ab73ecd6
Remove "fasttool" option; obsoleted by "slapadd -q"
2005-01-25 20:21:36 +00:00
Pierangelo Masarati
5b193c218f
fix dynamically registered controls check; NOTE: controls registered by global overlays don't work yet; better leave Kurt's kludge in place right now
2005-01-25 19:39:56 +00:00
Kurt Zeilenga
0bd2dafd53
More proper criticality handling. Implementation is a kludge.
2005-01-25 18:30:55 +00:00
Kurt Zeilenga
d68041ce50
Revert part of last (two) commits. Need additional infrastructure first.
2005-01-25 18:09:59 +00:00
Kurt Zeilenga
82d5ca4d4e
Remove redundant note.
2005-01-25 17:40:39 +00:00
Pierangelo Masarati
6239b70081
cleanup previous commit
2005-01-25 17:14:19 +00:00
Kurt Zeilenga
dd75979100
Prelim unavailableCriticalExtension v. unwillingToPerform fix (ITS#3308)
2005-01-25 16:52:16 +00:00
Pierangelo Masarati
c6a1f24186
add support for Chaining Behavior control (<draft-sermersheim-ldap-chaining>, a work in progress)
2005-01-25 16:11:26 +00:00
Howard Chu
f6ed0b0127
Fix cookie init
2005-01-25 11:14:09 +00:00
Kurt Zeilenga
28b5df9a90
Hide "work in progress"
2005-01-25 05:35:54 +00:00
Howard Chu
fc337704c5
Fix redundant index lookups from component matching
2005-01-24 12:25:37 +00:00
Pierangelo Masarati
c6b6d2a5ec
StartTLS (ITS#3507) + chain overlay fixes and improvements
2005-01-24 09:38:11 +00:00
Howard Chu
ad2a19d8eb
More for SLAP_TOOL_QUICK, disable locks as well
2005-01-24 08:21:55 +00:00
Howard Chu
12510a2da7
Use str2entry2
2005-01-24 03:42:56 +00:00
Howard Chu
fcf787dc0f
Rewritten str2entry, added str2entry2
2005-01-24 03:41:51 +00:00
Howard Chu
b674e6dd3d
Omit transaction support when running with SLAP_TOOL_QUICK
2005-01-24 01:37:38 +00:00
Howard Chu
fe03b5a8bb
Add '-q' "quick" option and SLAP_TOOL_QUICK def for slapadd to run
...
with fewer integrity checks. (may also change slapindex later.)
2005-01-24 01:37:09 +00:00
Pierangelo Masarati
03dba8c111
cleanup
2005-01-23 21:44:42 +00:00
Pierangelo Masarati
b70abdcbce
global overlays need to set o_bd = frontendDB to return the error in case no database can be selected
2005-01-23 21:44:23 +00:00
Howard Chu
47e7948007
Schema caching for slaptools
2005-01-22 20:18:38 +00:00
Pierangelo Masarati
ae0f47b063
improve parsing of acl-authcDN/acl-passwd
2005-01-22 18:48:03 +00:00
Pierangelo Masarati
066829a870
fix previous commit
2005-01-22 12:27:45 +00:00
Pierangelo Masarati
17f525a8ad
cleanup attribution
2005-01-22 11:17:14 +00:00
Pierangelo Masarati
a84938c294
fix ITS#3506
2005-01-22 10:21:03 +00:00
Howard Chu
7b65f9bab4
Really fix synchronization
2005-01-22 00:13:00 +00:00
Howard Chu
e67e45f752
Minor cleanup
2005-01-21 22:46:06 +00:00
Howard Chu
123668e241
More fixes for prev commit
2005-01-21 22:27:24 +00:00
Howard Chu
7de2352868
Fix synchronization in prev commit
2005-01-21 22:14:08 +00:00
Howard Chu
f6ac16dff7
Add option to use a second thread for adds
2005-01-21 21:20:56 +00:00
Kurt Zeilenga
69fcf8cbd6
Cleanup notices
2005-01-21 19:38:13 +00:00
Pierangelo Masarati
96fa1eda64
(blind) improvement of column name aliasing
2005-01-21 17:27:27 +00:00
Pierangelo Masarati
f0943f79ec
fix previous commit
2005-01-21 15:05:15 +00:00
Howard Chu
b18bc61831
ITS#3471 don't yield unnecessarily
2005-01-21 00:04:05 +00:00
Pierangelo Masarati
b116bb3814
fix ITS#3499 (may need further testing)
2005-01-20 22:44:54 +00:00
Pierangelo Masarati
9201649c3b
the attribute mapping features of rwm seem to be very broken. Here few issues related to ITS#3499 are fixed, but there's some work to do yet
2005-01-20 20:30:46 +00:00
Pierangelo Masarati
332438c3aa
fix ITS#3499
2005-01-20 19:28:01 +00:00
Pierangelo Masarati
3a4a442a51
fix attribution in copyright
2005-01-20 18:52:00 +00:00
Pierangelo Masarati
0057b66f87
improve previous commit; implement missing objectClass mapping feature
2005-01-20 18:39:51 +00:00
Kurt Zeilenga
64668f7207
Hide subtree delete control
2005-01-20 17:54:04 +00:00
Pierangelo Masarati
521100db56
fix ITS#3498; some cleanup
2005-01-20 17:44:53 +00:00
Pierangelo Masarati
2975c6d46e
provision for ITS#3497
2005-01-20 16:35:49 +00:00
Pierangelo Masarati
5785175313
provision for ITS#3497
2005-01-20 16:06:41 +00:00
Pierangelo Masarati
1d919d35a5
remove #ifdef's for identity assertion
2005-01-20 09:04:37 +00:00
Kurt Zeilenga
5ef410c1f3
Cleanup
2005-01-20 07:18:28 +00:00
Kurt Zeilenga
112179fef7
cleanup
2005-01-20 06:55:35 +00:00
Pierangelo Masarati
0c601c5db2
fix compare; more manageDSAit cleanup
2005-01-20 00:17:52 +00:00
Pierangelo Masarati
4f23e2e470
cleanup
2005-01-19 23:52:51 +00:00
Pierangelo Masarati
90cc75f1a1
cleanup; add proxyAuthz capability
2005-01-19 22:59:25 +00:00
Pierangelo Masarati
7d306eaadb
try to collect operational attributes as well
2005-01-19 22:58:56 +00:00
Howard Chu
4c65aa9c44
Make sl_context just return NULL in tool mode, we have no threads here
2005-01-19 21:42:04 +00:00
Kurt Zeilenga
dbfc9d1a16
Schema cleanup (and testing)
2005-01-19 20:29:06 +00:00
Kurt Zeilenga
d8428387d4
Fix goof in last commit
2005-01-19 20:25:21 +00:00
Howard Chu
eb7deb9eba
ITS#3494 fix deadlock
2005-01-19 19:18:28 +00:00
Pierangelo Masarati
5f178fd3d1
use idassert for proxyAuthz with the chain overlay
2005-01-19 19:11:35 +00:00
Kurt Zeilenga
addfa80025
Clarify schema source, status, and provide appropriate caution
2005-01-19 19:06:33 +00:00
Kurt Zeilenga
cd6a7ac5a8
Cleanup
2005-01-19 18:34:54 +00:00
Kurt Zeilenga
f9d36c0dce
Make most LDAP_DEVEL macro uses indirect
2005-01-19 18:34:36 +00:00
Howard Chu
8db476e664
More tweaks to ldif_parse_line2 for str2entry
2005-01-19 12:07:06 +00:00
Howard Chu
f8dfe10875
Fix prev commit
2005-01-19 08:48:13 +00:00
Howard Chu
692a3625a2
Cleanup rs->sr_text after entry_schema_check succeeds
2005-01-19 07:22:03 +00:00
Howard Chu
ffcfb8b967
Fix typo in prev commit
2005-01-19 07:02:14 +00:00
Howard Chu
3f4243def9
Cleanup prev commit
2005-01-19 06:43:33 +00:00
Howard Chu
577beaf982
Debugging aid for prev commit
2005-01-19 06:30:08 +00:00
Howard Chu
f2a067d997
Don't use DB->del when converting to a range, use the cursor that's
...
already open.
2005-01-19 06:03:14 +00:00
Howard Chu
bd8a9989f4
Added ldif_parse_line2 to parse in-place
2005-01-19 05:05:53 +00:00
Pierangelo Masarati
0d475ca4f0
cleanup
2005-01-19 00:12:46 +00:00
Pierangelo Masarati
3638004798
remove all referral specific code; now referrals can be used by defining appropriate data/metadata
2005-01-19 00:09:07 +00:00
Pierangelo Masarati
d520cd607d
remove all referral specific code; now referrals can be used by defining appropriate data/metadata
2005-01-19 00:00:52 +00:00
Pierangelo Masarati
a3fbea971b
map referrals in regular metadata structure (need to remove some of the specific code)
2005-01-18 23:28:03 +00:00
Pierangelo Masarati
d252d9c535
map referrals in regular metadata structure (need to remove some of the specific code)
2005-01-18 23:21:48 +00:00
Pierangelo Masarati
08d4af049f
cleanup error logging
2005-01-18 22:15:34 +00:00
Pierangelo Masarati
42b7753803
should we touch timestamps when internally updating?
2005-01-18 09:48:53 +00:00
Pierangelo Masarati
e559e61b4f
consistently use BER_* macros
2005-01-18 09:35:09 +00:00
Pierangelo Masarati
71ea8bb244
always invalidate freed memory\!
2005-01-18 09:29:14 +00:00
Pierangelo Masarati
8b26737c27
fix different issues with referrals in searches; remove unused tests; cleanup referrals in tests so that they don't get chased; improve schema checking in modrdn and updates in general; minor cleanup
2005-01-18 01:10:01 +00:00
Pierangelo Masarati
fa498ee015
various issues related to working with schemacheck off; allow referrals to be created as separate objectClasses, so they work with schemacheck on (may rework them to be treated as normal data)
2005-01-17 21:10:55 +00:00
Pierangelo Masarati
143937320b
remove dangling text pointer in case of success
2005-01-17 21:06:49 +00:00
Pierangelo Masarati
eb0421c471
fix several schema checking issues; add rename specific statement for entry renaming without losing ID (helps e.g. in renaming referrals, otherwise referential integrity would prevent del/add because of referenced stuff in ldap_referrals and ldap_entry_objclasses); referrals need schemacheck off otherwise objectClass chain is invalid (they need to be attached to another objectClass by now; will address this later)
2005-01-17 19:32:28 +00:00
Pierangelo Masarati
b4e37e518f
fixes for ITS#3480,3485,3489; implementation of DISCLOSE access for all operations (ITS#3472); ITS#3432.4; added value validate/pretty when applicable (see comments and #defines in back-sql.h)
2005-01-16 23:12:36 +00:00
Howard Chu
56e45fc1ae
Fix ITS#3490, set proper overlay context
2005-01-16 18:23:13 +00:00
Pierangelo Masarati
c8c043bd39
address ITS#3472/3480/3488/3489
2005-01-15 18:43:34 +00:00
Howard Chu
1dbe92c27b
Delete dubious use of be_syncinfo - only the consumer can write the
...
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Howard Chu
8d0f39bb83
Cleanup slapcat usage
2005-01-14 16:23:50 +00:00
Howard Chu
9e8d2c5bb1
More cleanup
2005-01-14 16:20:15 +00:00
Pierangelo Masarati
06478f2265
silence warnings
2005-01-14 12:01:51 +00:00
Pierangelo Masarati
0079b3ce45
condition compilation of DISCLOSE checking (there's more to do)
2005-01-14 12:01:03 +00:00
Pierangelo Masarati
4644584a75
condition compilation of DISCLOSE checking
2005-01-14 11:51:16 +00:00
Pierangelo Masarati
7f8634e8fc
silence (a couple of) warnings
2005-01-14 11:50:24 +00:00
Pierangelo Masarati
53b8653730
small improvements; declare org_dn/org_ndn
2005-01-14 11:01:48 +00:00
Howard Chu
c8f3bbf9e5
ITS#3486 fix link order for static overlays
2005-01-14 07:13:07 +00:00
Howard Chu
2b66ee44bd
More cleanup of unused stuff
2005-01-14 05:57:58 +00:00
Howard Chu
aa27cb2262
Delete obsolete syncprovider stuff
2005-01-14 05:49:45 +00:00
Howard Chu
9f30e1e650
Delete obsolete syncprovider stuff
2005-01-14 05:19:51 +00:00
Howard Chu
7f5589174a
Fix cascading deletes
2005-01-14 05:11:38 +00:00
Howard Chu
27f7aa5b54
Minor cleanup
2005-01-14 05:10:23 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
b6fbfe8540
ITS#3463 additional fix
2005-01-14 02:08:02 +00:00
Pierangelo Masarati
014ee81c34
plug memory leak: bsi_attrs member
...
use tmpmemctx for bsi_attrs (should be used more for temporaries)
fix ITS#3480: allow to fetch all attrs or provide hints
fixed access check to entry for rename
TODO: fetch entries for access checking in selected code portions (e.g. rename)
2005-01-14 00:39:24 +00:00
Kurt Zeilenga
1780c8bf54
Only remove backends.c on make veryclean
...
Add dependencies
2005-01-14 00:12:14 +00:00
Howard Chu
f845c573b0
Single consumer context per database
2005-01-13 21:15:50 +00:00
Howard Chu
4c21a2712f
Fix prev commit
2005-01-13 21:14:52 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
aa913f1bef
Use be_shadow_update, not be_isupdate
2005-01-13 19:02:08 +00:00
Howard Chu
bf27ba977b
Deleted syncrepl updatedn
2005-01-13 18:51:29 +00:00
Pierangelo Masarati
69fbd2e66e
propagate opattrs if shadow update
2005-01-13 18:43:59 +00:00
Kurt Zeilenga
3118f1fd2e
Fix backends.c VPATH builds
2005-01-13 17:30:07 +00:00
Sang Seok Lim
0291e294c5
Handling multi-valued attributes in Component Matching
2005-01-13 09:48:52 +00:00
Sang Seok Lim
eaa58e131c
handling multi-valued attrivutes in Component Matching
2005-01-13 09:48:20 +00:00
Pierangelo Masarati
5a7108ee1b
add '+' string concatenation operator
2005-01-13 09:21:11 +00:00
Pierangelo Masarati
7348603a53
fix ITS#3484
2005-01-12 23:22:56 +00:00
Pierangelo Masarati
4e06af2247
cosmetic cleanup
2005-01-12 21:02:58 +00:00
Pierangelo Masarati
4e6fd44213
the fixes to ITS#3475 make the referrals callback no longer required
2005-01-12 21:02:23 +00:00
Pierangelo Masarati
9885b55e9d
fix referral return in back-ldbm as well (same as ITS#3475)
2005-01-12 21:01:42 +00:00
Pierangelo Masarati
3bbfa91177
fix ITS#3483 (continuation of ITS#3472)
2005-01-12 18:55:40 +00:00
Pierangelo Masarati
6bf8b945dd
fix use of uninitialized var
2005-01-12 15:11:17 +00:00
Pierangelo Masarati
42dadd5712
typo
2005-01-12 14:34:46 +00:00
Pierangelo Masarati
d5238b91eb
further refinement of ITS#3461
2005-01-12 14:31:03 +00:00
Pierangelo Masarati
b381e1bcc8
cosmetic changes
2005-01-12 14:25:08 +00:00
Howard Chu
16f3cdeb19
More cleanup for prev commit
2005-01-12 02:32:48 +00:00
Howard Chu
53fcde0927
ITS#3463 don't muck with frontend's operations, just our detached ones
2005-01-12 01:49:00 +00:00
Howard Chu
b0da3a0e32
Clear write events after they're processed
2005-01-12 00:57:53 +00:00
Pierangelo Masarati
b46518ff77
silence warning for global scoped global ACLs
2005-01-12 00:53:50 +00:00
Pierangelo Masarati
056c5ba7c1
fix couple of bugs in recent 'disclose' commits; prepare for sending matchedDN when appropriate; note ITS#3480 access control issues
2005-01-12 00:28:37 +00:00
Howard Chu
b803b49e5f
ITS#3421 flush and close logfile before releasing lock
2005-01-12 00:17:12 +00:00
Howard Chu
0bc4b77527
Clean up unused bt_compare references
2005-01-11 22:38:39 +00:00
Howard Chu
89da582d69
Byte-order independence for HDB: dn2id format changed again.
2005-01-11 22:25:52 +00:00
Howard Chu
bd498d2996
Fix undetected deadlock
2005-01-11 22:08:06 +00:00
Howard Chu
98212b7e08
Start removing custom sort functions from hdb
2005-01-11 19:47:05 +00:00
Pierangelo Masarati
0e04985332
honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel)
2005-01-11 19:37:55 +00:00
Pierangelo Masarati
f369e34049
honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel)
2005-01-11 15:59:13 +00:00
Howard Chu
05648b22fb
Fix findmax when multiple matches are found
2005-01-11 05:00:59 +00:00
Pierangelo Masarati
4f9db2e2d7
suggested change for ITS#3475
2005-01-11 00:38:04 +00:00
Pierangelo Masarati
83d1e22b8c
don't malloc if proxyAuthz is the only control
2005-01-11 00:37:22 +00:00
Howard Chu
d140433c9f
ITS#3470 don't propagate error if hasSubordinates fails, it's not that
...
important.
2005-01-11 00:05:22 +00:00
Pierangelo Masarati
41d7c03e8b
clear out the error
2005-01-09 23:30:19 +00:00
Pierangelo Masarati
154ae48d69
put back chain overlay into back-ldap
2005-01-09 21:26:32 +00:00
Pierangelo Masarati
28b18b1869
minor cleanup
2005-01-09 21:25:12 +00:00
Kurt Zeilenga
7dc0b02fc9
Replace backend.h with backends.c, generated by config.status.
2005-01-09 08:42:44 +00:00
Pierangelo Masarati
0ea4070eb1
clarify error message and allow -u (dryrun) option for slaptest, to circumvent database startup
2005-01-08 12:02:14 +00:00