Commit Graph

449 Commits

Author SHA1 Message Date
Kurt Zeilenga
2bbf9804b9 Happy New Year! 2012-01-01 07:10:53 -08:00
Howard Chu
704e8228c0 ITS#7098 fix del/add of first schema element 2011-11-29 08:16:34 -08:00
Howard Chu
323e70ba13 ITS#7083 fix verb_to_mask usage 2011-11-07 16:41:35 -08:00
Howard Chu
31b5c396d3 ITS#7077 preserve mirrorMode setting when deleting syncrepl 2011-11-04 18:31:09 -07:00
Howard Chu
62e65ec89b Syntaxes must come before attributetypes in schema object 2011-11-01 12:46:10 -07:00
Howard Chu
ddaea1cf73 ITS#7065 fix cn=config modify replace/delete crash 2011-11-01 11:40:04 -07:00
Ralf Haferkamp
1ca56b5397 ITS#7066 Reworked fix
Seems simpler this way. No need for a back-config specific
bi_access_allowed() handler.
2011-10-20 11:50:57 +02:00
Ralf Haferkamp
72483b1d72 plugged mem-leak introduced by last commit
more for ITS#7066
2011-10-19 14:59:17 +02:00
Ralf Haferkamp
cf59ac0d70 ITS#7066 reworked default deny ACL for cn=config
Dynamically adding ACL for cn=config didn't work correctly, when no
ACLs where present for that database upon startup. Delete the last
ACL from the DB could also lead to unexpected results.
2011-10-18 17:08:05 +02:00
Howard Chu
9297050f9e Resolve MDB/HDB monitor OID clashes 2011-09-12 11:41:04 -07:00
Pierangelo Masarati
fb83bf08bc make sure frontend gets the {-1} (ITS#7016) 2011-08-16 22:18:23 -06:00
Pierangelo Masarati
55c70629aa TLS config statements always need an argument (related to ITS#7012) 2011-08-10 20:26:59 +02:00
Howard Chu
d1b38bd12b ITS#6967 normalize schema RDN 2011-06-10 01:35:19 -07:00
Howard Chu
6e0934d570 ITS#6948 fix ITS#6837 patch 2011-06-05 13:59:19 -07:00
Howard Chu
1b08936565 ITS#6963 config entries' objectclass is read-only 2011-06-04 13:40:57 -07:00
Ralf Haferkamp
c70165c294 Set appropriate error code, when trying to delete non-leaf
entry from cn=config
2011-03-18 10:50:44 +00:00
Ralf Haferkamp
e6267d3317 Allow deleting Cft_Misc config entries by setting a delete
handler in the ConfigOCs structure
2011-03-16 17:29:10 +00:00
Ralf Haferkamp
bc00bee6c2 silence warning 2011-03-15 16:57:41 +00:00
Ralf Haferkamp
d4757e170b removing global overlays should work now as well 2011-03-15 16:26:05 +00:00
Howard Chu
db13bc1d4c ITS#6858 fix segv if adding values out of order 2011-03-09 18:22:50 +00:00
Ralf Haferkamp
db7304fc4e ITS#6843 Fix cn=config slapadd for global overlays with private
database instances (e.g. slapo-chain)
2011-02-24 17:50:08 +00:00
Howard Chu
6005349cbc ITS#6837 make sure objectclasses are processed in correct
inheritance order
2011-02-19 02:48:47 +00:00
Howard Chu
61029a3ecf Add substring matching rules for some of the olc-schema attributes.
Allows for easy extraction of individual objectclass definitions using
matchedValues searches.
2011-02-11 04:27:17 +00:00
Howard Chu
586c52c38d config OID for back-perl 2011-02-04 17:13:29 +00:00
Ralf Haferkamp
41352ea34d Fixed the overlay delete code to allow removing
cn=config overlays again.
2011-02-04 16:10:11 +00:00
Howard Chu
e3eecf85c4 Dynamic config for back-shell 2011-02-04 13:09:15 +00:00
Howard Chu
e3a5e9d060 Dynamic config for back-passwd 2011-02-04 12:22:17 +00:00
Ralf Haferkamp
c9e49778f4 ITS#6822 fix back-config's default ACL when overlays are in place 2011-02-02 19:56:08 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
a8c8ec5d4c ITS#6758 config_back_add: Don't set sr_text if compareTrue 2011-01-04 15:02:52 +00:00
Hallvard Furuseth
13f52646b2 ITS#6758 Avoid SlapReply reuse, simple cases.
Caller provides and reuses a SlapReply it does not read after
initialization.  So reinitialize or move the declaration inwards.
In case of refint, move the rs parameter into refint_repair().
2010-12-31 10:46:22 +00:00
Hallvard Furuseth
b120b2a05b ITS#6758 config_build_entry, avoid SlapReply reuse
Do not use the 'SlapReply *rs' passed to config_build_entry().  Instead
pass a new one to op->o_bd->be_add() and copy the output sr_err to rs.
This takes care of most SlapReply reuse in bconfig.c.
2010-12-31 09:02:34 +00:00
Hallvard Furuseth
ab1bc728fa ITS#6758 bconfig.c: ensure sr_text==NULL if sr_err==LDAP_SUCCESS
config_modify_internal(): Do not send rs->sr_text with success.
config_back_modify(): When slap_bv2ad() can set rs->sr_text,
set sr->sr_err too and catch failure.
2010-12-31 08:45:48 +00:00
Hallvard Furuseth
f7a77545ad noop commit for ITS#6758: simplify future commits 2010-12-30 23:48:41 +00:00
Pierangelo Masarati
79d4e4cf6a add support for ADD_IF_NOT_PRESENT and SOFTDEL internal modification types (ITS#6561) 2010-09-07 13:21:20 +00:00
Pierangelo Masarati
3e2ca2f8b2 support back-config (ITS#6624, Ondrej Kuznik) 2010-08-17 18:56:29 +00:00
Howard Chu
8cddd34852 Add support for multiple listener threads. Lightly tested on Linux,
Winsock needs a couple more tweaks
2010-08-06 03:24:24 +00:00
Ralf Haferkamp
21bac1cbed Disallow removing global and cn=config overlays for now.
Those require some special handling.
2010-06-29 16:23:31 +00:00
Pierangelo Masarati
467a1da79f add support for don't use copy in SASL auxprops lookup/store (ITS#6475; TODO: document new directives) 2010-04-15 18:13:53 +00:00
Pierangelo Masarati
9d2e03f052 allow to specify a per-database list of attributes that need to be always collected, even if not explicitly requested by clients (addresses ITS#6513) 2010-04-15 05:26:21 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
0cf528630f implement support for selective iteration in slaptools (ITS#6442) 2010-01-18 15:00:40 +00:00
Ralf Haferkamp
8542dfd6d7 declaration after code (introduced by ITS#6428 fix) 2009-12-11 18:09:47 +00:00
Hallvard Furuseth
904ba0d317 Fix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code 2009-12-10 19:53:10 +00:00
Ralf Haferkamp
8133ec8b21 ITS#6428 fixes for olcTimeLimit 2009-12-10 14:57:12 +00:00
Ralf Haferkamp
414230c469 global limits can also be set in "cn=config" (more forITS#6428) 2009-12-10 14:22:26 +00:00
Ralf Haferkamp
c3de6ba19b apply frontend limits when deleting olcSizeLimit from a database (more forITS#6428) 2009-12-10 13:07:13 +00:00
Ralf Haferkamp
a0540f187c ITS#6428 apply global sizelimit changes to all databases 2009-12-10 11:56:52 +00:00
Howard Chu
8373d9f9fc ITS#6408, fix r1.265 (from ITS#4884) - use correct ce_type 2009-12-01 22:21:18 +00:00
Howard Chu
9992d5c43a Ignore attempts to Add cn=schema,cn=config 2009-11-21 07:13:48 +00:00