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
fda662bd34
More for loading config from LDIF
2005-03-20 09:13:48 +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
cd23b2ddf4
Fix unterminated debug msgs
2005-03-16 21:29:32 +00:00
Howard Chu
585b4a02ef
Fix prev commit, overlay config was broken
2005-03-16 20:31:49 +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
50c3487e03
Fix backend config table fallthru
2005-03-04 10:01:31 +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
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
5acd0c574b
Added authz-regexp, slapi plugin retrieval
2005-03-01 20:08:36 +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
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
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
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
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
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
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
3b34a6f81c
ITS#3546 fix consumer crash on interrupt (provider crash still unresolved)
2005-02-17 15:07:27 +00:00
Pierangelo Masarati
0d475ca4f0
cleanup
2005-01-19 00:12:46 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
f845c573b0
Single consumer context per database
2005-01-13 21:15:50 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
bf27ba977b
Deleted syncrepl updatedn
2005-01-13 18:51:29 +00:00
Pierangelo Masarati
c1e4eeb23b
fix max arg number for limits
2005-01-03 18:20:37 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Pierangelo Masarati
24a3f59e53
use pre-formatted log string in configure; note the failure reason for DN syntax checks
2004-12-08 19:07:24 +00:00
Howard Chu
8dd2d202e5
Fix defaultSearchBase
2004-12-05 02:10:50 +00:00
Howard Chu
dfb8c86dc3
Deleted subordinate keyword in favor of glue overlay
2004-12-04 20:08:56 +00:00
Howard Chu
36a3a1d62f
FIx ITS#3417,3418 bogus string arg handling
2004-12-03 17:53:07 +00:00
Pierangelo Masarati
2624711bc5
fix ITS#3413,3414; cleanup for readability; silence warnings
2004-12-03 10:11:43 +00:00
Howard Chu
5a5fc55a13
Fix ITS#3413, bad variable re-use
2004-12-03 03:39:27 +00:00
Howard Chu
a4f3a45b6d
Fix ITS#3412, bogus TLS option processing
2004-12-03 03:22:05 +00:00
Howard Chu
a88c78d64e
Remove syncinfo si_UUID_dn, make consumer use modify/modrdn instead of
...
just deleting and adding modified entries.
2004-11-29 05:56:51 +00:00
Howard Chu
616d7962ef
Fix bind_anon keyword
2004-11-10 18:20:49 +00:00
Howard Chu
4e56d4b75f
ITS#3376 fix subordinate keyword
2004-11-05 07:51:33 +00:00
Howard Chu
1d35c8f8ec
ITS#3376 Fix prev commit, handling of replogfile
2004-11-05 07:10:44 +00:00
Howard Chu
db8debbfc8
ITS#3376 table-driven config engine
2004-11-05 06:22:04 +00:00
Ralf Haferkamp
93cec8b694
- Added autoconf test for CRL capable OpenSSL Version
...
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Ralf Haferkamp
5704a2ef6e
CRL checking options for ldap.conf and slapd.conf
2004-10-28 18:50:38 +00:00
Pierangelo Masarati
fbe8243b86
warn when using "replogfile" or "replica" inside monitor database
2004-10-27 11:34:27 +00:00
Kurt Zeilenga
e983616d75
More NEW_LOGGING removal
2004-10-19 01:40:38 +00:00
Jong Hyuk Choi
0af878ac3f
syncrepl consistency patch: utilize BDB txn rollback
2004-10-12 17:53:50 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Howard Chu
bf7c7a22d6
ITS#2661: configurable substring index lengths
...
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Pierangelo Masarati
d2c08ed8d3
misc syncrepl cleanup/fixes
2004-09-26 23:00:35 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Jong Hyuk Choi
e4d199d7bb
A follow-on commit to the previous @oc support change to use anlist
2004-09-23 19:23:17 +00:00
Jong Hyuk Choi
5c0581b184
Modified @oc supprot code to the share anlist routines; Revised anlist routines
2004-09-23 02:48:14 +00:00
Jong Hyuk Choi
34280359b5
misc bug fix for @oc support
2004-09-20 19:44:05 +00:00
Jong Hyuk Choi
ffbb5d4ed2
*oc support in attr list
2004-09-18 02:07:41 +00:00
Jong Hyuk Choi
7dc0487341
support for syncrepl attr list in file (both attrs and exattrs)
2004-09-14 01:02:18 +00:00
Jong Hyuk Choi
98dc97bcb9
memory leak fixes
2004-09-11 02:02:09 +00:00
Kurt Zeilenga
3869e3b84d
Add localSSF slapd.conf(5) directive to set SSF associated
...
with ldapi:// sessions.
2004-09-10 22:35:24 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
64c5fa4a9d
ITS#3320: 'restrict' cleanup
2004-09-03 21:49:13 +00:00
Kurt Zeilenga
17d920063a
subsequent allows/disallows directives should be additive
2004-09-01 00:34:34 +00:00
Kurt Zeilenga
1ece02dc7d
cleanup
2004-09-01 00:23:34 +00:00
Jong Hyuk Choi
6f9025423f
ITS#3289 - exattrs support
2004-08-29 22:28:28 +00:00
Pierangelo Masarati
7b4a51cc28
further improve loglevel selection
2004-07-29 12:39:51 +00:00
Pierangelo Masarati
f33b51832a
allow to use names to set loglevel
2004-07-29 00:10:03 +00:00
Pierangelo Masarati
d723dbc34b
in case of early exit, frontendDB might be uninitialized
2004-07-27 21:15:33 +00:00
Pierangelo Masarati
cd9a9c628d
frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080)
2004-07-26 21:26:34 +00:00
Pierangelo Masarati
9a2b8f9d40
honor signedness
2004-06-28 21:20:13 +00:00
Jong Hyuk Choi
3917d2b15d
limit checking in syncrepl
2004-06-22 18:15:29 +00:00
Pierangelo Masarati
42f3b3d87b
improve parsing - first step
2004-06-18 09:11:53 +00:00
Jong Hyuk Choi
763f8c76ee
syncrepl retry-on-error code
2004-06-18 05:04:03 +00:00
Jong Hyuk Choi
ef0a404729
revert pervious change
2004-06-18 02:59:47 +00:00
Kurt Zeilenga
0ae37bd468
Add SLAP_BFLAG_NOLASTMODCMD backend flag. When set, use of
...
the lastmod command will fail. To be set by backends
(e.g., back-ldap) which force the value of SLAP_DBFLAG_NOLASTMOD
database flag.
2004-06-16 04:47:21 +00:00
Howard Chu
14ca92e851
load_ucdata is now a no-op
2004-05-31 05:44:04 +00:00
Howard Chu
910101a267
ITS#3064 don't reset sync interval to zero on PERSIST
2004-05-21 23:53:14 +00:00
Pierangelo Masarati
25a054a487
improve restricted exop
2004-05-01 18:55:23 +00:00
Pierangelo Masarati
03c64541d4
add granular op restriction
2004-05-01 17:53:37 +00:00
Pierangelo Masarati
3c1c61c5ef
log slapi config read failure (partial fulfilment of ITS#3098)
2004-04-24 11:43:52 +00:00
Pierangelo Masarati
b9dcdbb2d8
rename macro accordingly to new authz naming
2004-04-20 19:12:56 +00:00
Pierangelo Masarati
2320192db0
more cleanup
2004-04-19 18:42:00 +00:00
Kurt Zeilenga
a54900be42
s/saslAuthz/authz/
2004-04-16 06:12:13 +00:00
Pierangelo Masarati
9962894c58
sounds a bit more conservative...
2004-04-15 20:26:39 +00:00
Pierangelo Masarati
1f9d280b1a
sounds like we're there...
2004-04-15 11:12:01 +00:00
Pierangelo Masarati
e77b064aab
fix default sizelimit on pr (ITS#3085)
2004-04-15 09:15:30 +00:00
Pierangelo Masarati
d7884b5853
rename macro
2004-04-14 23:23:46 +00:00
Pierangelo Masarati
63035a5b5b
allow optional overlays
2004-04-13 18:49:31 +00:00
Pierangelo Masarati
b157f668b7
honor sizelimit requests on the overall count when pagedResults control is used; cleanup and more features
2004-04-09 17:55:21 +00:00
Pierangelo Masarati
2e13fbeea1
completion of limits w/ paged results control
2004-04-09 15:54:46 +00:00
Kurt Zeilenga
44725e7303
use BER_BVNULL
2004-04-07 04:11:43 +00:00
Kurt Zeilenga
2095a7bc51
Fix last commit
2004-04-05 23:49:06 +00:00
Kurt Zeilenga
9a64fdb991
use SLAP_DBFLAGS instead of be->be_flags
2004-04-05 23:42:59 +00:00
Kurt Zeilenga
4ef7e08afe
updateref should be allowed with syncrepl (without updatedn)
2004-04-05 23:08:24 +00:00
Kurt Zeilenga
843400deb7
Add SLAP_SHADOW(be): true if be is a shadow database (via any mech)
2004-04-05 21:54:40 +00:00
Kurt Zeilenga
2fcaa15b90
First rounds of backend/database flag cleanup
2004-04-05 21:00:16 +00:00
Kurt Zeilenga
bd765b849d
ITS#2768: configuring slurpd's interval between replog checks
...
based upon a patch submitted by Jason Townsend (Apple).
2004-03-23 01:12:11 +00:00
Kurt Zeilenga
e323437c6a
cleanup for release engineering
2004-03-18 01:06:39 +00:00
Pierangelo Masarati
490e1e4aa9
move limits check and preparation in a helper function
2004-03-09 15:59:01 +00:00
Howard Chu
4504b48c6b
default_passwd_hash now takes a list of schemes
...
passwordModify exop will generate all the configured hashes
2004-03-02 22:12:23 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
c7f1759e80
Misc cleanup
2003-12-30 01:26:38 +00:00
Luke Howard
0549d46adf
Don't require slapi to be in the path - always include slapi/slapi.h
2003-12-28 04:17:48 +00:00
Luke Howard
b0416d1140
Cleanup SLAPI namespace
2003-12-28 04:14:19 +00:00
Kurt Zeilenga
271fff13de
Sync with HEAD
2003-12-17 17:55:27 +00:00
Pierangelo Masarati
0176e02398
cleanup handling of unknown directives ...
2003-12-09 23:49:13 +00:00
Howard Chu
0690f79a5a
Cleanup unknown config directive handling.
2003-12-07 07:07:00 +00:00
Pierangelo Masarati
71d488c28f
fix uninitialized var
2003-11-29 17:24:34 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Jong Hyuk Choi
4ae382fd79
misc updates
...
- syncrepl : id -> rid
- man page update
2003-11-26 21:37:44 +00:00
Jong Hyuk Choi
1fdda703e6
Support multiple sync replication at the consumer :
...
1) simultaneous operation of multiple active sync replication threads
2) cookie management for individual sync replication thread
(include rid=%3d to the slapd cookie command line option (-c))
2003-11-26 19:49:47 +00:00
Jong Hyuk Choi
84a7381225
misc comment update
2003-11-24 17:45:44 +00:00
Jong Hyuk Choi
b6789f27b4
cleanup
2003-11-24 16:42:07 +00:00
Jong Hyuk Choi
40365af3f9
change default syncrepl base
2003-11-24 16:34:45 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467
1. Session history support
...
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Jong Hyuk Choi
cc5e417234
second level interval support, interval=dd:hh:mm:ss
...
changed the test scripts and test conf files accordingly
2003-11-05 16:10:43 +00:00
Kurt Zeilenga
802671cad7
fix compile error
2003-10-24 17:34:33 +00:00
Howard Chu
08676eb49d
Add support for outbound connections in main listener.
...
Restructure syncrepl/persist to use outbound connection manager.
2003-10-24 12:57:24 +00:00
Howard Chu
01f7a7466b
SLAPI fix - no-op when slapi_plugins_used == 0
2003-10-24 05:58:42 +00:00
Kurt Zeilenga
d0c05e814d
Add a basic DIT content rule test.
...
Fix DIT rules to allow extensibleObject in AUX
unifdef -DSLAP_EXTENDED_SCHEMA
2003-10-24 04:40:32 +00:00
Howard Chu
ac7404eabd
Fix error recovery, cleanup session handles. Always reschedule task
...
at end of do_syncrepl; this fixes the problem of syncrepl never starting
if the master isn't up. Set sync interval to 60 seconds in persist mode;
it will retry connecting to the master when the master isn't up. Fail on
SASL at config time instead of at runtime when SASL is not enabled.
2003-10-24 04:11:28 +00:00
Kurt Zeilenga
ce4b199485
Syncrepl code cleanup (namely prefix struct field names)
2003-10-22 05:19:30 +00:00
Howard Chu
b6835be962
ITS#2747, Reorganize syncrepl, fix some memleaks. More remain.
2003-10-18 14:13:37 +00:00
Jong Hyuk Choi
cdb7417765
misc syncrpel updates
2003-10-08 09:36:06 +00:00
Jong Hyuk Choi
a8574a450f
slaptools update : replica promotion / demotion
...
new slapadd options
-p : promote : If the ldif file contains syncConsumerSubentries, convert
them to a single syncProviderSubentry. Its contextCSN
attribute has the largest value of the syncreplCookie
attributes of the syncConsumerSubentries.
syncProviderSubentry in the ldif file is retained.
-p -w : promote : Recalculate contextCSN based on entryCSN of each entry.
create Existing syncConsumerSubentries and syncProviderSubentry
are ignored and not added to the directory.
-r : demote : If the ldif file contains syncProviderSubentry, convert it
to a syncConsumerSubentry having the default syncrepl id
of 0. syncConsumerSubentries in the ldif file are retained.
-r -w : demote : Recalculate syncreplCookie based on entryCSN of each entry.
create Existing syncConsumerSubentries and syncProviderSubentry
are ignored and not added to the directory. The default
syncrepl id of 0 will be used for the new
syncConsumerSubentry.
-r -w -i %d[,%d]* : Using the comma separated list followed by the -i option,
it is possible to create multiple syncConsumerSubentries
having the syncrepl ids specified in the list.
syncreplCookie values of these sycnConsumerSubentries
will have the same value, either from the maximum
entryCSN value or from the contextCSN value of the
syncProviderSubentry.
2003-10-07 20:01:37 +00:00
Jong Hyuk Choi
d336d7783b
fix config file processing (ITS#2722)
2003-09-17 05:34:47 +00:00
Jong Hyuk Choi
7f882daf15
Schema checking option for LDAP Sync replication
2003-09-03 21:42:52 +00:00
Jong Hyuk Choi
fb7db00810
cleanup
2003-08-29 21:24:05 +00:00
Jong Hyuk Choi
5548a2dd0c
Sync replication config option format change (interval)
2003-08-28 22:29:12 +00:00
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
286986c4e8
NO_SCHEMA_CHECK backend flag
2003-08-27 16:40:26 +00:00
Jong Hyuk Choi
6659cf3ea1
LDAP Sync protocol change : state mode (add+present) and log mode (add+delete)
2003-08-14 16:27:36 +00:00
Jong Hyuk Choi
cc6f31782d
- partial attribute replication tested ok
...
- conf file processing udpate
- misc updates
2003-07-02 14:51:23 +00:00
Jong Hyuk Choi
7087a8f58d
ITS#2618 fix
2003-06-27 20:29:32 +00:00
Jong Hyuk Choi
9df9b1377a
reinitialize presentlist & nonpresentlist
2003-06-25 23:21:18 +00:00