Commit Graph

298 Commits

Author SHA1 Message Date
Howard Chu
e6a009a43b Delete olcInclude support 2007-01-27 05:58:18 +00:00
Howard Chu
b044d51709 More for syncrepl 2007-01-22 13:33:55 +00:00
Howard Chu
10942dceea Fixes for syncrepl compatibility 2007-01-22 10:53:48 +00:00
Howard Chu
07aca1c9a6 Preliminary steps to enabling sync replication of config. Needs work.
Allow configuring a consumer on the provider that points to the provider
but is a no-op. This ensures that the consumer will continue to be a
consumer after the replication occurs.
2007-01-21 13:44:32 +00:00
Howard Chu
fc30db2190 Fix - don't just generate missing cn=schema entry in memory, write it
out as well.
2007-01-21 11:22:52 +00:00
Hallvard Furuseth
d16754c81b Delete unused variables. 2007-01-11 12:04:22 +00:00
Howard Chu
a2e299eb22 ITS#4799 remove kerberos / kbind 2007-01-10 00:23:28 +00:00
Howard Chu
1cc1f9b18a Make syncrepl inherit default TLS settings from main slapd config (except
for reqcert, default demand)
2007-01-08 20:16:45 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
9edb2d518e plug rootDSE info one-time leak 2006-12-24 10:51:07 +00:00
Howard Chu
b60644a07f Fix prev commit, renaming schema 2006-12-24 03:51:08 +00:00
Howard Chu
58886b6a9c ITS#4337 insert EntryInfo in proper slot 2006-12-24 03:44:08 +00:00
Howard Chu
36317874b7 ITS#4337 allow suffix overlap when inserting new DB before existing ones 2006-12-24 01:27:35 +00:00
Howard Chu
6020a6d81d ITS#4337 implement modrdn for back-config 2006-12-24 00:56:37 +00:00
Howard Chu
69beae5d7d ITS#4733 make sure frontend and config DB entries exist. 2006-12-21 07:36:16 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
dfafda4128 Better tracking of system schema, refresh cn=schema after moduleloads 2006-11-17 22:52:20 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Howard Chu
c6bf6672aa Add valx arg to config_parse_add - indicate which value in the current
operation is executing (as opposed to c->valx which indicates which
value in the target is being changed)
2006-11-12 02:22:23 +00:00
Pierangelo Masarati
c0be820648 fix format; silence warning 2006-10-15 18:01:27 +00:00
Howard Chu
8e9651a598 Tweak ordered index check in check_vals 2006-09-14 00:31:18 +00:00
Howard Chu
543ae473c5 Forgot the OC delete handler 2006-09-14 00:09:46 +00:00
Howard Chu
9f054b648b Support dynamic add/delete of attributeTypes and objectClasses 2006-09-14 00:06:04 +00:00
Pierangelo Masarati
c3f9d68027 re-enable "-d '?'" as a means to list what loglevels are available (ITS#4666) 2006-09-08 18:10:53 +00:00
Pierangelo Masarati
b60990780f custom monitoring can be enabled/disabled via config 2006-09-06 23:08:57 +00:00
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