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
Ralf Haferkamp
c6743b5a82
Add operational Attributes when creating frontend and config database entries.
...
(Otherwise test049-sync-config fails)
2007-03-29 15:39:52 +00:00
Ralf Haferkamp
7491b3ff2a
Create frontend and config database entries automatically during slapadd
2007-03-29 14:45:44 +00:00
Pierangelo Masarati
4a73490186
improve previous commit (check result of structural_class())
2007-03-21 09:51:11 +00:00
Pierangelo Masarati
c36904bda5
exploit inheritance in add (ITS#4884): passes all tests; modify may need work. Please review
2007-03-21 00:57:20 +00:00
Howard Chu
0d5a53815a
Don't generate schema entries for include files that didn't define schema
...
elements. Use proper directory separator on Windows
2007-03-12 22:47:43 +00:00
Howard Chu
0b70e471f0
Fix prev commit
2007-02-24 17:34:40 +00:00
Howard Chu
df3da23811
ITS#4848 better config context tracking
2007-02-24 17:24:48 +00:00
Howard Chu
06212e9de9
Plug leaks
2007-02-16 02:22:24 +00:00
Howard Chu
aa19286296
Coverity scan - saved attr may not exist for a Replace
2007-02-13 11:03:16 +00:00
Howard Chu
b6273ef28a
ITS#4833 refix
2007-02-09 18:49:38 +00:00
Howard Chu
73eda09be3
Fix entry ordering in config_build_entry
2007-02-07 16:06:41 +00:00
Howard Chu
4642c21f65
ITS#4833 fix olcDatabase index offset
2007-02-07 16:00:03 +00:00
Howard Chu
290344e683
ITS#4752 add undo for schema entries.
2007-02-07 14:57:02 +00:00
Howard Chu
b06eeff43b
ITS#4752 try to undo failed Modifies
2007-02-07 11:42:23 +00:00
Howard Chu
4067b97cf4
Add equality match for olcSyncrepl
2007-02-06 00:22:49 +00:00
Howard Chu
4e193bc5cb
Fix typos
2007-02-05 12:39:37 +00:00
Howard Chu
fffaea79eb
Preliminary multi-context support for syncrepl. Passes all single-master
...
tests, needs multi-master testing.
2007-02-05 04:50:07 +00:00
Howard Chu
51549d2e5d
Add olcServerID for configuring serverID portion of CSN
2007-02-04 00:02:38 +00:00
Howard Chu
384979a07d
Note for future - we should provide macros for all of the syntaxes
...
listed in RFC4517 and just let users use them.
2007-01-31 11:35:20 +00:00
Howard Chu
6d0c164753
More for syncrepl support
2007-01-30 07:29:11 +00:00
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