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
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