Commit graph

197 commits

Author SHA1 Message Date
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