Commit graph

418 commits

Author SHA1 Message Date
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
Howard Chu
8429013957 Fix test050 2007-11-20 14:56:20 +00:00
Howard Chu
89c6b39738 Fix rev 1.266, was creating {0}config entry prematurely. 2007-11-14 01:28:29 +00:00
Howard Chu
0f1bad6fb0 ITS#5186 check for multiple suffixes at config time, not open time 2007-11-07 04:31:06 +00:00
Howard Chu
f8ad90167b ITS#5209 sasl_host may be different from global_host 2007-11-05 09:30:40 +00:00
Howard Chu
43359bb02f Don't leak logfiles 2007-10-16 00:59:39 +00:00
Howard Chu
e63ac9ac9e Fix error message propagation 2007-10-15 10:22:51 +00:00
Howard Chu
e9749fcd7b Revert prev commit, bogus 2007-10-15 10:16:36 +00:00
Howard Chu
d796273e8f Save return code from cleanup handler 2007-10-15 09:56:03 +00:00
Howard Chu
f74d9f6099 Partial revert from 1.246, not sure what's the point 2007-10-15 09:38:25 +00:00
Howard Chu
ec7a05adff Check for cleanup on Adds, not just Modifies 2007-10-08 06:19:50 +00:00
Howard Chu
f0468901c6 ITS#4884 fix prev commit 2007-10-08 05:41:44 +00:00
Howard Chu
d2179d885f Use attr_valfind instead of value_find_ex to optimize lookups 2007-09-24 05:02:31 +00:00
Howard Chu
e8c2414831 Preliminary sorted value support 2007-09-24 01:31:23 +00:00
Howard Chu
75df004a04 Use OLcfgCt{Oc|At} arc for contrib modules 2007-09-22 23:58:54 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Howard Chu
f385341f46 Add IA5String macro 2007-09-03 00:40:52 +00:00
Howard Chu
d316b89bc3 Fix schema undo crash 2007-09-02 23:47:49 +00:00
Howard Chu
2437abac38 ITS#5082 RE23 compatibility, allow olcPasswordHash in global entry 2007-09-02 13:24:14 +00:00
Howard Chu
e10a33753a Partially resurrect cn=Include stuff - parse from LDIF and ignore. 2007-09-02 12:01:56 +00:00
Pierangelo Masarati
eff90dc512 note what SID the server is assuming 2007-08-29 18:12:05 +00:00
Howard Chu
4ccb430c8c Convert collect to dynamic config. Even though it's only a demo... 2007-08-28 09:19:07 +00:00
Pierangelo Masarati
5674d38a17 allocate OID for back-sql configuration 2007-08-27 07:14:55 +00:00
Pierangelo Masarati
7dc7c60c4b improve previous commit; fix ITS#5108 by letting both SID and RID be 0..4095, input/output in decimal, but consistently handled in hexadecimals within CSN 2007-08-26 17:03:22 +00:00
Pierangelo Masarati
ee8431b22d add memberOf overlay 2007-08-24 02:46:55 +00:00
Howard Chu
7ef61c0ec0 Register dyngroup OID 2007-08-23 01:52:04 +00:00
Pierangelo Masarati
f95fe8c756 fix yet another potential dereference of NULL op (caught by Coverity) 2007-08-20 22:09:19 +00:00
Pierangelo Masarati
27428ac00e uniformly exploit rootdn bind; add support for rootdn bind to backends that didn't have it (ITS#4962) 2007-08-16 09:38:15 +00:00
Howard Chu
a49ff7878e Fix prev commit 2007-08-10 23:26:25 +00:00
Howard Chu
e4a7d8ad77 ITS#5082 must remove olcPasswordHash from global config... 2007-08-10 22:32:03 +00:00
Howard Chu
faf9339cc8 ITS#5082 allow olcPassdwordHash in frontendDB config 2007-08-10 22:28:24 +00:00
Pierangelo Masarati
61787df79b add back-config support to back-relay 2007-08-06 23:22:19 +00:00
Ralf Haferkamp
3a9310431e Reworked recent backend API changes, now using a separate struct,
(ConfigReply) for the error messages.
2007-08-03 12:02:07 +00:00
Ralf Haferkamp
bc1aa3afa7 initialize msg[] Array, fixed typo 2007-07-31 15:49:16 +00:00
Ralf Haferkamp
5ae46c195e Added a new parameter (ConfigArgs*) to the _db_init, _db_open, _db_close and
_db_destroy functions.
2007-07-25 17:21:05 +00:00
Hallvard Furuseth
259c1baf23 Revert integer type change from rev 1.281 (ITS#5035) for now. It just
replaced one inttype bug with another, the proper fix is to change the API.
2007-07-23 20:18:30 +00:00
Pierangelo Masarati
4066e22c59 "register" slapo-rwm 2007-07-14 16:17:43 +00:00
Howard Chu
88cbe052e0 Fallout from ITS#4986 - remove unused param of select_backend() 2007-07-13 03:18:20 +00:00
Hallvard Furuseth
c71a4ae4f3 Fix integer overflow in slap_loglevel_get() - ITS#5035. 2007-07-01 13:39:24 +00:00
Howard Chu
6b793c85cb ITS#4870 remove lint 2007-06-19 13:49:03 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Howard Chu
bdd8bf4133 Add CRLfile option for GNUtls 2007-05-13 01:34:12 +00:00
Hallvard Furuseth
b6bb36eaf1 Add back-monitor (and its OID arc) to Backend/Database registry 2007-05-12 17:55:37 +00:00
Hallvard Furuseth
584ea90db2 Remove unused variables 2007-05-09 19:11:44 +00:00
Howard Chu
dda5e19904 ITS#4949 make config_syslog accumulate across multiple values
Can set to zero to explicitly clear it. (As well as just deleting
all values.)
2007-05-05 01:22:29 +00:00
Howard Chu
8033f476f4 Disallow runtime delete of modload values 2007-04-24 11:46:22 +00:00
Howard Chu
0c2d84819d Fix prev commit, config_obsolete 2007-04-06 00:31:08 +00:00
Howard Chu
a2405e0a7e Axe slurpd / replog support 2007-04-06 00:21:02 +00:00
Ralf Haferkamp
d06a8bd198 olcDatabase=config always gets index 0,
don't allow multiple olcDatabase=config entries (ITS#4914)
2007-04-05 16:12:24 +00:00
Howard Chu
a5363815fd Fix uninit'd serverID field 2007-04-05 01:03:02 +00:00
Ralf Haferkamp
726146da59 use slap_add_opattrs as discussed on -devel. 2007-03-30 18:39:33 +00:00