Commit Graph

273 Commits

Author SHA1 Message Date
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Pierangelo Masarati
4f395ab4ff fix uri rewriting 2006-08-03 01:15:41 +00:00
Howard Chu
a79bc61e63 Fix SEGV when ldapadd'ing new schema entries. This functionality needs work. 2006-06-18 02:51:58 +00:00
Pierangelo Masarati
4a071da8c2 refine previous commit 2006-06-13 10:03:44 +00:00
Pierangelo Masarati
ed0d8d0a94 fix "require" inheritance and handling of "none" (ITS#4574) 2006-06-13 00:16:45 +00:00
Howard Chu
25e12b07b3 fix leak in prev commit 2006-06-09 20:26:36 +00:00
Howard Chu
f15e31b9a9 ITS#4580 make sure port number is preserved in replica info 2006-06-08 11:37:14 +00:00
Howard Chu
bec0b4ef89 Add dynamic config support for auditlog and ppolicy 2006-05-30 11:49:16 +00:00
Howard Chu
d2b27b156e Add "hidden" database config, allow hidden DBs with redundant suffixes 2006-05-29 06:03:43 +00:00
Howard Chu
4bf6f8e348 ITS#4535 set default cn=config access to NONE 2006-05-11 00:40:34 +00:00
Howard Chu
0a43acc732 coverity cleanup 2006-05-09 10:41:05 +00:00
Pierangelo Masarati
b5eb214d79 fix "host=", broken by rev 1.446 of servers/slapd/config.c 2006-05-05 23:53:14 +00:00
Howard Chu
d0b796f897 ITS#4515 add missing equality rules 2006-05-02 21:07:49 +00:00
Howard Chu
c58f16d9b5 FIx rev 1.207, ACL parsing 2006-05-01 23:36:38 +00:00
Howard Chu
b1534d0ea9 Kludge to allow reading undefined attrs in DNs at startup 2006-04-29 02:15:53 +00:00
Howard Chu
1f6bb31d9d Honor ACLs, don't just require root any more 2006-04-29 01:26:07 +00:00
Howard Chu
d38dd74818 Fix adding ACLs to specific DBs vs global/frontend 2006-04-28 23:01:59 +00:00
Howard Chu
3879cac787 Fix slapadd of config tree, broken by ITS#4194 2006-04-27 23:52:53 +00:00
Howard Chu
328470c114 OIDs for more overlays 2006-04-27 02:13:21 +00:00
Kurt Zeilenga
eb9a3c1876 unifdef -DSLAP_ACL_HONOR_DISCLOSE
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Howard Chu
76bf5d4c76 Use new TLS SSL_CTX support 2006-04-07 01:25:46 +00:00
Hallvard Furuseth
581c1ff6c7 Cast ctype.h char arguments to unsigned char 2006-04-01 23:44:42 +00:00
Howard Chu
0af1940f3f plug leaks 2006-03-31 12:20:04 +00:00
Pierangelo Masarati
324431062b refuse illegal values for "threads" (ITS#4433) 2006-03-20 12:12:28 +00:00
Howard Chu
e30be8748a Fix prev commit 2006-03-07 12:55:27 +00:00
Howard Chu
2c7f300619 FIx olcMirrorMode keyword 2006-03-07 12:48:46 +00:00
Ralf Haferkamp
df7757b1fb fixed last commit 2006-02-16 13:22:37 +00:00
Ralf Haferkamp
1195d6946b Error out if creating the back-config entries fails when converting from
config file to config backend. [ITS: #4407]
2006-02-16 11:16:22 +00:00
Luca Scamoni
d4ad06e788 s/olcMultiMaster/olcMirrorMode 2006-02-08 10:16:20 +00:00
Howard Chu
e183b5d093 s/multimaster/mirrormode/ we don't want folks confusing this with real
multimaster.
2006-02-08 05:48:41 +00:00
Howard Chu
0e6aa53cd1 Unifdef SLAPD_MULTIMASTER, use config setting instead 2006-02-06 04:45:12 +00:00
Howard Chu
0ef7742328 Reparse unknown debug flags after config is read to allow use
of dynamically registered debug levels
2006-02-02 08:30:56 +00:00
Kurt Zeilenga
f5b9ff7940 unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Pierangelo Masarati
5360a5dc21 cleanup 2006-01-21 10:42:21 +00:00
Pierangelo Masarati
5ffc8c2588 further cleanup 2006-01-16 23:28:08 +00:00
Pierangelo Masarati
324174fc76 refine previous commit (error out before actual add) 2006-01-16 23:14:21 +00:00
Pierangelo Masarati
fa4e093f0c ITS#4337: renaming not implemented yet(need a better fix) 2006-01-16 22:58:36 +00:00
Pierangelo Masarati
e720c15c4d tolerate that config_get_vals() returns success with no values (ITS#4341) 2006-01-14 10:21:47 +00:00
Howard Chu
b85926a2c1 ITS#4339 attributeoptions patch from Ralf Haferkamp @ SuSE 2006-01-13 16:42:34 +00:00
Pierangelo Masarati
9bcb37b5c1 refine fix to ITS#4320 2006-01-10 02:05:54 +00:00
Pierangelo Masarati
339b9c371e rfc2589 support (ITS#4293) 2006-01-06 17:46:52 +00:00
Howard Chu
a53fc12578 ITS#4306 fix for syslog with NULL string on modify 2006-01-06 00:19:56 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
20dc92fe25 cleanup debug handling 2005-12-22 22:33:32 +00:00
Pierangelo Masarati
4a86a767ab more unparsing buffer overflow cleanup 2005-12-20 15:33:50 +00:00
Pierangelo Masarati
81bafb9935 fix potential overflow in syncrepl_unbind() and related helpers 2005-12-20 14:31:16 +00:00
Pierangelo Masarati
266c6ad1ea plug one-time leaks; misc cleanup 2005-12-16 01:58:36 +00:00
Pierangelo Masarati
d86a46cc33 shortcut to allow restricting all operations 2005-12-15 17:46:37 +00:00
Pierangelo Masarati
8687dace5b allow per-replogfile pid/args file & replication interval (ITS#3523) 2005-12-10 12:25:27 +00:00
Pierangelo Masarati
47b4f99363 warn if "excessive" thread number is set (ITS#4249) 2005-12-07 09:58:54 +00:00
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