Commit Graph

273 Commits

Author SHA1 Message Date
Pierangelo Masarati
7841f4f538 complete merging of dyngroup into dynlist; add back-config support 2005-11-29 02:10:47 +00:00
Pierangelo Masarati
3a563c2fcb cleanup OID comments 2005-11-28 10:53:52 +00:00
Howard Chu
475b35b847 ITS#4220 - add warnings for unsupported modules. Note that back-monitor
causes a warning due to its no-op bi_db_config entry point. Unimplemented
entry points are supposed to be NULL.
2005-11-26 21:32:11 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Pierangelo Masarati
78d8a07708 frontend/config/monitor cannot be shadow, I bet 2005-11-25 17:10:11 +00:00
Pierangelo Masarati
f3c007229f detect if trying to make back-monitor shadow 2005-11-25 15:16:54 +00:00
Pierangelo Masarati
45e188a812 one s/strtol/lutil_atoi/ too much... 2005-11-24 22:53:28 +00:00
Pierangelo Masarati
194aa68dab always set sr_flags before sending an entry 2005-11-24 21:20:06 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Howard Chu
3192c5ffc4 ITS#4192 (reverts ITS#4035 patch) always use "cn=config" as the underlying
DB's rootDN independently of the configured back-config rootDN.
2005-11-22 10:53:15 +00:00
Howard Chu
575f6e2251 Fix ITS#4194, require config dir to be usable if only -F is specified. 2005-11-22 10:11:06 +00:00
Howard Chu
640f33a267 Fix threads vs tool_threads settings 2005-11-17 11:25:48 +00:00
Pierangelo Masarati
28aca605c7 more URI into bindconf 2005-11-16 21:52:14 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
6eaf2b1ec4 add overlay config schema registry 2005-11-12 16:32:19 +00:00
Pierangelo Masarati
a6453f28f8 silence warnings 2005-11-06 23:27:09 +00:00
Howard Chu
c5b44f3660 ITS#4128 use backend_db_init to init the private backend 2005-11-03 20:31:11 +00:00
Pierangelo Masarati
757c34ee4b s/sprintf/snprintf/ 2005-11-01 17:50:57 +00:00
Pierangelo Masarati
e3b9448bd7 allow the "none" log level 2005-10-31 17:46:03 +00:00
Pierangelo Masarati
93a6a3647f check length (FIXME: snprintf return value may not be portable?) 2005-10-31 16:23:27 +00:00
Pierangelo Masarati
0dc6ef59ad cleanup namespace (ITS#423) 2005-10-31 16:08:33 +00:00
Pierangelo Masarati
183b696e76 address ITS#4127 (please review) 2005-10-31 16:00:51 +00:00
Howard Chu
4ebed09d81 ITS#4017, additional revisions for DH parameters 2005-10-28 05:35:19 +00:00
Howard Chu
fc621a1c78 Add tool-threads config keyword, init thread pool in tool mode. 2005-10-27 09:29:42 +00:00
Pierangelo Masarati
bd5706d8e5 complete fix of slapd-monitor log modify (ITS#4091) 2005-10-15 17:37:18 +00:00
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Howard Chu
4b75493252 Improve prev commit 2005-10-09 21:20:40 +00:00
Howard Chu
8204cbc212 ITS#4035 let underlying backend know about updated rootdn 2005-10-09 21:17:18 +00:00
Howard Chu
0a41d1db7b ITS#4017 add TLSDHParamDir for Diffie-Hellman key parameters 2005-10-05 20:07:32 +00:00
Kurt Zeilenga
9449c5709e ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
longer works well.
2005-09-29 20:30:09 +00:00
Howard Chu
c7fe31b06d ITS#4009 set X-ORDERED extension on olcReplica 2005-09-07 03:30:59 +00:00
Howard Chu
7539786f01 Fix olcSubordinate OID clash 2005-09-01 12:19:08 +00:00
Howard Chu
4a1eabf257 Moving glue overlay back into slapd core, returning to 2.2 config syntax 2005-09-01 11:45:04 +00:00
Pierangelo Masarati
9baa6f4c99 don't let back-monitor appear __after__ a database that hides it; currently, only <suffix ""> :-( ; make error messages more descriptive 2005-08-30 10:38:11 +00:00
Howard Chu
ba881c5e6f In ordered_value_sort, allow zero-length ordered values.
In check_vals, log msg when ordered_value_sort fails.
2005-08-28 10:23:10 +00:00
Howard Chu
f8a97897ad More for ITS#3937, pick up pre-set ldap_syslog values. 2005-08-28 07:15:11 +00:00
Howard Chu
055c1abbdc ITS#3937 add config_syslog var to track state of loglevel directive,
copy to ldap_syslog when in SLAP_SERVER_MODE
2005-08-28 07:11:10 +00:00
Howard Chu
b265c37c9b Additional log msg for config tree processing failures 2005-08-27 10:51:08 +00:00
Howard Chu
a5739b28b3 More for ITS#3900 - olcDefaultSearchBase doesn't belong in root entry 2005-08-27 09:40:06 +00:00
Hallvard Furuseth
f17ffeb925 Rename label "leave" to "done".
Tru64 5.1 alpha's <pthread.h> turns "leave" into an exception handling keyword.
2005-08-26 22:23:27 +00:00
Howard Chu
1f78e2b831 ITS#3961 better fix - provide a context for the main thread. The context
must be reset by the caller to clear out temp allocations etc.
2005-08-23 04:12:57 +00:00
Howard Chu
468112e2ba ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
use arbitrary context pointers.
2005-08-23 03:25:21 +00:00
Hallvard Furuseth
f927b77456 Remove unused variables in config_updatedn() 2005-08-08 22:35:38 +00:00
Pierangelo Masarati
cccf35c749 allow textual log levels in command line 2005-08-08 14:01:40 +00:00
Pierangelo Masarati
a6d4a82782 more about freeing replica resources 2005-08-07 15:20:14 +00:00
Pierangelo Masarati
d8a90fd7d5 cleanup resources 2005-08-07 14:13:29 +00:00
Luke Howard
12d006d17d Add o_no_schema_check to operation structure
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Hallvard Furuseth
e404a15082 Cleanup 2005-07-31 18:17:13 +00:00
Pierangelo Masarati
40badfc664 fix conditional compilation of config schema 2005-07-30 12:20:52 +00:00
Howard Chu
9164a4790d ITS#3900 move olcDefaultSearchBase to frontend DB
expose config DB
2005-07-29 02:48:31 +00:00
Pierangelo Masarati
7b1fae08c7 don't complain during EMIT 2005-07-28 18:25:43 +00:00
Hallvard Furuseth
5a6eabb69d Silence unused variable warnings 2005-07-27 08:52:32 +00:00
Hallvard Furuseth
d9889aebd2 Fix debug format %d -> %lu 2005-07-25 21:03:08 +00:00
Pierangelo Masarati
a91ebfac79 plug leaks 2005-07-25 20:47:39 +00:00
Pierangelo Masarati
4c1339cf22 add infrastructure to register verbmasks; allow to register loglevels programmatically; cleanup glue protos 2005-07-23 11:32:10 +00:00
Pierangelo Masarati
5128702536 don't crash if no underlying database was initialized 2005-07-22 02:08:41 +00:00
Howard Chu
38968623d1 Fix prev commit 2005-07-22 01:53:19 +00:00
Howard Chu
ddf6c7b298 Plug more memleaks 2005-07-21 23:26:40 +00:00
Howard Chu
769c6232a2 Add config_back_db_close, free some structures 2005-07-21 21:27:37 +00:00
Pierangelo Masarati
c4aedadc56 improve previous commit 2005-07-19 19:13:50 +00:00
Pierangelo Masarati
b838f3e2a1 Solaris doesn't like being passed NULL pointers to [vsf[n]]printf 2005-07-19 18:59:50 +00:00
Hallvard Furuseth
965c270cbb Fix format arg to "overlay...configuration failed" message 2005-07-18 08:30:33 +00:00
Hallvard Furuseth
df0e227201 Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg 2005-07-18 08:28:25 +00:00
Hallvard Furuseth
ae3ef7b3cd Make ConfigArgs.lineno int like elsewhere instead of unsigned long 2005-07-18 05:48:21 +00:00
Hallvard Furuseth
8adef9eec8 Delete unused variables 2005-07-18 05:34:04 +00:00
Hallvard Furuseth
64e9d0e58f #include <ldif.h> for ldif_must_b64_encode_*() 2005-07-18 05:08:57 +00:00
Pierangelo Masarati
7236c4b223 improve diagnostics when configuring suffix for special databases 2005-07-15 16:21:15 +00:00
Howard Chu
675b19dce6 Fix loglevel to accept negative integers 2005-07-12 14:25:15 +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
7cb7bc3341 ITS#3829 fix attributeoptions parse order 2005-07-02 10:54:09 +00:00
Howard Chu
21e49339b7 ITS#3820 fix olcReadOnly check 2005-07-01 00:20:54 +00:00
Howard Chu
4a107089d8 ITS#3818 fix index_substr_any_step keyword 2005-06-30 23:24: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
Howard Chu
f84fc983fd ITS#3774 delete backend/overlay structures after a failed add 2005-06-13 22:49:01 +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
0658ff91b7 Tweak mask_to_verbs for multiple-bit masks 2005-06-09 22:55:21 +00:00
Howard Chu
caefdf007c Fix dynamic modload, make sure to use correct modulepath. 2005-06-09 07:15:49 +00:00
Howard Chu
ef3989aba8 ITS#3748 fix startup of newly added databases and overlays 2005-06-03 08:26:55 +00:00
Howard Chu
b6d515330c ITS#3748 do necessary startup when adding databases online 2005-05-26 09:43:39 +00:00
Howard Chu
5f5356567e ITS#3747 move subschemasubentry attr initialization 2005-05-24 17:06:33 +00:00
Pierangelo Masarati
c573fe70fb authid-rewrite*: fix parsing, rework unparsing 2005-05-23 07:21:58 +00:00
Pierangelo Masarati
e799b27eed ISO C forbids zero-size array (ITS#3739) 2005-05-21 00:08:28 +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
Howard Chu
37ed2af7e7 Fix for slapadd'ing a config db 2005-05-12 03:24:34 +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
c79ecbb390 Add LDAP_DEBUG_SYNC loglevel 2005-05-10 20:42:39 +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
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
ee59484f7b Restructured to allow miscellaneous Adds under database/overlay objects 2005-05-09 03:42:51 +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
d23243a507 more on strict config parsing (ITS#3705) 2005-05-06 16:42:03 +00:00
Howard Chu
f101ea70cc Fix prev commit 2005-05-06 09:52:42 +00:00
Howard Chu
4107187ecc Fix global entry setup 2005-05-05 20:55:35 +00:00
Howard Chu
735ee711fe ITS#3702 add tool entry points 2005-05-04 10:52:42 +00:00
Howard Chu
d73fa98cf6 ITS#3699 fix dbconfig, limits schema flags 2005-05-03 09:44:46 +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
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
a6fb962984 Cleanup ModulePath handling 2005-04-23 17:56:25 +00:00
Howard Chu
cfc73a837b Fix prev commit 2005-04-22 21:34:49 +00:00
Howard Chu
7674aa817f Fix single-value delete, replace 2005-04-22 21:15:20 +00:00
Howard Chu
8f78d064ee Isolate syncrepl stuff in syncrepl.c 2005-04-22 14:38:35 +00:00
Pierangelo Masarati
18d18d25dc more attr_merge cleanup (please check) 2005-04-21 23:36:37 +00:00
Howard Chu
88cdbab5f4 config cleanup handler 2005-04-21 19:31:39 +00:00
Howard Chu
df6701667e Placeholders for unimplemented Delete handlers 2005-04-21 12:03:35 +00:00
Howard Chu
854b433489 Fix X-ORDERED SIBLINGS 2005-04-21 06:39:58 +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
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
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
Pierangelo Masarati
a85603c10b more on ITS#3652 2005-04-12 22:38:54 +00:00
Pierangelo Masarati
f7ead8f919 apply naming scheme to global/database schema 2005-04-10 22:27:50 +00:00
Pierangelo Masarati
f1870628be clarify comment 2005-04-10 09:54:21 +00:00
Pierangelo Masarati
58d4f7fc20 base64 encode passwords in back-config 2005-04-09 15:19:36 +00:00
Pierangelo Masarati
09e4da6bef check parameters 2005-04-09 00:11:31 +00:00
Howard Chu
9e9e3c988a Fix access error return 2005-04-07 19:54:37 +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
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
Howard Chu
b8bf38cd5b Tighten up some schema 2005-03-29 03:31:48 +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
0076b40c32 Convert backendInfo/backendDB to STAILQs 2005-03-24 05:13:31 +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
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