Commit graph

468 commits

Author SHA1 Message Date
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
Howard Chu
c6de7bf853 ITS#6392 fix authid-rewrite parsing 2009-11-21 04:44:51 +00:00
Howard Chu
4cabc24269 ITS#6363 cleanup prev commit 2009-11-15 21:36:23 +00:00
Howard Chu
480d306186 ITS#6373 fix subentry keyword 2009-11-11 04:09:26 +00:00
Howard Chu
1e85952843 ITS#6373 add sync_use_subentry keyword 2009-11-11 03:06:32 +00:00
Ralf Haferkamp
9d0c7b24c6 Initialize ConfigArgs before calling config_del_vals (ITS#6363) 2009-11-05 15:38:03 +00:00
Pierangelo Masarati
32fcd038ae remove unused parameter idx (ITS#6356) 2009-10-30 22:53:27 +00:00
Hallvard Furuseth
d9d584e922 Alternate ITS#6324 fix. Use bitmask, handle -1 (LDAP_DEBUG_ANY) specially. 2009-10-30 17:46:38 +00:00
Hallvard Furuseth
1ebe7a6eaf more ITS#6324: fix fprintf(%u, long) format 2009-10-23 12:20:31 +00:00
Howard Chu
f8a77ecfa2 ITS#6342 include <ac/unistd.h> 2009-10-21 03:09:28 +00:00
Pierangelo Masarati
bd1f6deed7 more about ITS#6324 2009-10-07 20:01:19 +00:00
Pierangelo Masarati
16d3ad01c0 don't "overflow" debug levels (ITS#6324) 2009-10-06 22:03:15 +00:00
Rein Tollevik
296826b1f0 ITS#6297 Allow hex in serverID directive 2009-09-17 15:06:22 +00:00
Pierangelo Masarati
53fca03374 remove unneded code 2009-08-21 17:08:04 +00:00
Hallvard Furuseth
b6f79805be Fix Debug() format (%x -> %lx) since rev 1.385 2009-08-19 18:57:04 +00:00
Hallvard Furuseth
eea6678234 More ITS#6234: // comment from rev 1.384 -> /**/ 2009-08-19 09:54:03 +00:00
Pierangelo Masarati
7c15998121 silence warning 2009-08-17 23:02:50 +00:00
Pierangelo Masarati
b7a9a4a65f add support for TCP buffer configuration (ITS#6234) 2009-08-17 22:53:15 +00:00
Pierangelo Masarati
613b00065a use UINT where appropriate (silence warnings) 2009-08-17 22:48:34 +00:00
Howard Chu
8a0284cf04 ITS#5946 always allow mirrormode to be set to FALSE 2009-07-29 09:21:50 +00:00
Howard Chu
bf69b8e065 ITS#5942 consolidate server URL match to config_check_my_url().
In syncrepl, assume consumer pointing to same server but different
searchbase is OK otherwise ignore config.
2009-07-29 09:04:39 +00:00
Pierangelo Masarati
40f785f62a check the value of the olcSubordinate attribute 2009-07-16 15:41:05 +00:00
Pierangelo Masarati
7a553ddae8 subordinate needs a suffix (ITS#6216) 2009-07-16 15:28:22 +00:00
Howard Chu
aa316f10fe Add sssvlv config 2009-07-13 14:20:31 +00:00
Howard Chu
b13789f3e9 ITS#6162 accept non-decimal loglevels 2009-06-08 20:03:43 +00:00
Hallvard Furuseth
96f4c723a9 For ITS#6157: Catch most invalid cancels/abandons, and honor them before waits 2009-06-04 21:16:38 +00:00
Pierangelo Masarati
5a1b108860 allow to delete olcLimits values (ITS#6159) 2009-06-02 23:17:58 +00:00
Howard Chu
2a624e1e4d ITS#6147 fix typos 2009-05-27 12:53:04 +00:00
Howard Chu
374331c2b1 ITS#6147 add sasl-auxprop config, default to "slapd" 2009-05-27 12:41:09 +00:00
Howard Chu
0720ede283 ITS#6135 reinit TLS context after changes 2009-05-27 11:35:12 +00:00
Howard Chu
1df1f6cfc5 ITS#6139 password-hash has no max # args 2009-05-25 12:58:40 +00:00
Howard Chu
69caa925ea set Conf->what for authz-regexp 2009-05-20 12:44:25 +00:00
Howard Chu
01b0ca7603 ITS#6109 fix readonly restriction 2009-05-17 22:23:33 +00:00
Howard Chu
f2cc7e8a0a ITS#5836, add writetimeout keyword for timing out hung writers 2009-03-10 00:42:10 +00:00
Pierangelo Masarati
0d6e859846 fix ldap namespace (part of ITS#5974) 2009-02-24 21:09:41 +00:00
Pierangelo Masarati
a83d10e4ac more about ITS#5940 2009-02-13 00:02:11 +00:00
Howard Chu
a86653c3d9 ITS#5613 compare listener URLs verbatim with serverID URLs 2009-02-10 11:09:50 +00:00
Pierangelo Masarati
8227ed9f71 fix use of dangling pointers (ITS#5924) 2009-02-05 19:54:51 +00:00
Pierangelo Masarati
260fd357df fix structuralObjectClass modification (glue, ITS#5921; w/ relax, ITS#5792) 2009-02-04 22:36:49 +00:00
Howard Chu
35d8e5d5a6 FIx prev commit, OID clash 2009-01-24 05:49:14 +00:00
Howard Chu
cf1558659b ITS#5655 TLS_PROTOCOL_MIN from Philip Guenther 2009-01-24 03:34:49 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Howard Chu
d495c16861 ITS#5897 fix bval length of serverID w/URL 2009-01-20 23:31:33 +00:00
Pierangelo Masarati
b334844a70 return error codes (ITS#5867) 2008-12-20 22:45:02 +00:00
Pierangelo Masarati
d8e4b48cee don't muck with shadow flags if database is already shadow (ITS#5850) 2008-12-06 17:16:03 +00:00
Howard Chu
6932652551 ITS#5572 cleanup unneeded code 2008-11-11 21:40:39 +00:00
Howard Chu
b613ab25b0 ITS#4556 allow Add content checking to be configured per-DB 2008-11-10 22:10:19 +00:00
Pierangelo Masarati
52e28a9ece add dontUseCopy and proxiedAuthz "non_critical" disallow switches (ITS#5785) 2008-11-02 21:38:10 +00:00
Pierangelo Masarati
a4598d1df7 olcLogFile missing from olcGlobal (ITS#5765) 2008-10-22 11:54:46 +00:00
Howard Chu
49ed07558b ITS#5755 values from slapd.conf aren't all strictly validated; detect and
report syntax errors when generating LDAP format.
2008-10-21 04:42:25 +00:00
Hallvard Furuseth
e0952945d0 Warning cleanup: signed meets unsigned. 2008-10-18 07:21:27 +00:00
Pierangelo Masarati
1421d522ad fix overlays with private instances of databases (ITS#5736) 2008-10-12 20:20:46 +00:00
Pierangelo Masarati
4e276f882c allow private databases to be instantiated by global overlays (ITS#5735) 2008-10-12 20:20:01 +00:00
Emmanuel Dreyfus
7a5b406cf1 Make sur attribute ACL are evaluated on ADD operations (see ITS#4556) 2008-09-29 22:08:29 +00:00
Pierangelo Masarati
3ccdb86edb allow definition of syntaxes via configuration, including X-SUBST (ITS#5663) 2008-09-27 13:30:43 +00:00
Pierangelo Masarati
3d876e0fcc add back-config support to slapo-retcode(5) 2008-09-19 00:09:56 +00:00
Pierangelo Masarati
dc414747a7 silence warnings 2008-09-16 14:44:24 +00:00
Ralf Haferkamp
db4c89db00 allow databases to be deleted (hidden behind LDAP_DEVEL) 2008-09-04 17:12:07 +00:00
Ralf Haferkamp
fcedf5bf83 don't dereference NULL pointer 2008-09-04 16:05:55 +00:00
Ralf Haferkamp
86005f581e A new entry's index should not be larger than the number of its siblings (ITS#5684) 2008-09-04 13:56:31 +00:00
Howard Chu
4e21f65ec0 Fix prev commit 2008-06-30 23:16:02 +00:00
Howard Chu
a5d0e36798 ITS#5571 prevent Adds from displacing {0}config 2008-06-29 22:48:40 +00:00
Howard Chu
f25436af80 Fix entry insert order 2008-06-29 22:26:59 +00:00
Howard Chu
b86714cfb2 ITS#5440 add eq rules for olcRootDN / olcSchemaDN 2008-06-29 03:42:46 +00:00
Howard Chu
417ab52d45 ITS#5540 check for structural_class() failures 2008-06-29 03:35:54 +00:00
Rein Tollevik
82cb2a1f05 ITS#5563 don't die if there are no listeners when matching serverID URL. 2008-06-16 14:45:30 +00:00
Ralf Haferkamp
3a0037cc53 Experimental code for delete support in back-config. Only overlays
supported currently.
2008-06-12 11:46:57 +00:00
Ralf Haferkamp
9d72509d05 pass ConfigReply into overlay_config() to allow progating error messages
back through back-config
2008-05-30 14:49:24 +00:00
Howard Chu
204b035a9c ITS#5383 use public OID for config schema, no more hiding 2008-04-09 15:22:23 +00:00
Hallvard Furuseth
8a703aba83 ITS#5328 - return LDAP result code from config_back_entry_get (back-config bi_entry_get_rw) 2008-02-11 20:56:46 +00:00
Ralf Haferkamp
4db84db74b Don't emit global ACLs for other database than frontendDB (ITS#5352) 2008-02-05 12:16:21 +00:00
Ralf Haferkamp
713ec710ad don't error out if replacing a non-existant attribute, create opattrs in
config_build_entry() to have them also when started with -f (ITS#5343)
2008-01-31 18:12:00 +00:00
Ralf Haferkamp
1af03ee2c7 error out if modify_delete_vindex() fails (ITS#5343) 2008-01-30 14:45:35 +00:00
Howard Chu
6693f72402 Clean up config.h 2008-01-22 13:26:16 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
6f6bc1ce04 Convert back-sock to dynamic config 2007-12-24 05:18:25 +00:00
Howard Chu
5919312796 ITS#5284 fix overlay order 2007-12-15 01:34:39 +00:00
Hallvard Furuseth
bddba8ae17 Integer indexing - handle huge values 2007-12-02 16:10:23 +00:00
Howard Chu
8a8a05d811 Change integer indexing to ordered only, no backward compatibility 2007-11-25 13:19:08 +00:00
Howard Chu
aa2cc83d27 Silently restrict index_intlen to 4-255. 2007-11-21 03:24:49 +00:00
Howard Chu
49057266a6 Tweak prev commit 2007-11-21 03:22:02 +00:00
Howard Chu
3ff3957dc7 Add index_intlen keyword for ordered indexing of integers 2007-11-21 02:54:57 +00:00