Howard Chu
a6a8fb514b
Add TLS context configuration
2007-01-08 23:36:24 +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
e73ce756cc
fix DN (and berval'ued items requiring) normalization in bindconf_parse (ITS#4766)
2006-12-02 16:13:25 +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
cbf05fd777
log messages related to blocking failures at "none" level as well, so they make it through slaptest
2006-10-15 15:03:02 +00:00
Howard Chu
3f4e196beb
Portability cleanups
2006-09-14 07:29:46 +00:00
Howard Chu
5342ce61dd
Add register_at / register_oc helpers.
2006-09-13 12:48:45 +00:00
Pierangelo Masarati
8eb455e7b2
add sb_version to slap_bindconf;
...
rework slap_client_connect() and slap_discover_feature() accordingly
2006-09-11 00:52:43 +00:00
Howard Chu
c9562fa8fb
Hide config schema if !LDAP_DEVEL
2006-08-29 02:02:12 +00:00
Howard Chu
f4da18e7e4
TLS ctx is already cleaned up
2006-08-29 01:34:55 +00:00
Kurt Zeilenga
d35d3b2026
Use LINE_MAX instead of BUFSIZ. Per POSIX, LINE_MAX should be at least 2K.
...
For ITS#4651
2006-08-25 20:05:14 +00:00
Kurt Zeilenga
97fa3f1efd
More LDAP_DEVEL cleanup
...
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Pierangelo Masarati
c458df6441
add bverb_to_mask() API
2006-08-17 16:10:17 +00:00
Pierangelo Masarati
bd8e1bb522
make log messages more esplicative
2006-08-05 16:34:19 +00:00
Pierangelo Masarati
bbdc0bcd00
fix logging
2006-08-05 12:33:53 +00:00
Pierangelo Masarati
cc84163f30
factor connection code out of syncrepl
2006-08-04 19:20:59 +00:00
Howard Chu
1fb33c0e9f
Fix ARG_OFFSET to work with overlays
2006-05-30 11:34:36 +00:00
Pierangelo Masarati
1d24564f9d
fix DN-valued (and likely others not handled in the switch) attrs duplication (occcurred with olcDbSuffix during attrs_dup(); please check)
2006-05-27 19:14:39 +00:00
Howard Chu
1ed9fff84c
Fix uninit'd var
2006-05-25 01:05:29 +00:00
Howard Chu
b8b8ca1814
Rearrange, ARGS_TYPES should not be bitmasks
2006-05-11 02:13:03 +00:00
Howard Chu
6fcc7b9b21
Hide starttls keyword if no TLS
2006-05-03 03:12:16 +00:00
Howard Chu
966c47e5b4
Detect TLS config changes
2006-05-03 02:48:23 +00:00
Pierangelo Masarati
ec849bd981
no TLS no party
2006-04-13 12:09:34 +00:00
Howard Chu
4c754ec249
Fix typo
2006-04-07 03:08:43 +00:00
Howard Chu
c6d0edc3b7
Use TLS context stuff in syncrepl
2006-04-07 02:57:39 +00:00
Howard Chu
7a5d12cc51
Add TLS options to bindconf struct
2006-04-07 01:49:19 +00:00
Hallvard Furuseth
581c1ff6c7
Cast ctype.h char arguments to unsigned char
2006-04-01 23:44:42 +00:00
Howard Chu
0af1940f3f
plug leaks
2006-03-31 12:20:04 +00:00
Howard Chu
90c8a53db4
plug leaks
2006-03-31 11:15:26 +00:00
Howard Chu
297d12c808
ITS#4376 add missing parameters in config_generic_wrapper
2006-01-28 08:26:21 +00:00
Kurt Zeilenga
f5b9ff7940
unifdef -DSLAPD_CONF_UNKNOWN_BAILOUT -DSLAPD_CONF_UNKNOWN_IGNORED=""
...
-DSLAPD_DEBUG_CONFIG_ERROR=LDAP_DEBUG_ANY
2006-01-24 04:40:01 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
266c6ad1ea
plug one-time leaks; misc cleanup
2005-12-16 01:58:36 +00:00
Pierangelo Masarati
e788a5c380
first part of fix to ITS#4262
2005-12-15 23:46:23 +00:00
Pierangelo Masarati
93d0ef91e6
allow parsing of numbers in whatever base (ITS#4257)
2005-12-09 18:11:07 +00:00
Howard Chu
32fe0ead9f
Distinguish error message for frontendDB config
2005-12-07 11:34:16 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Pierangelo Masarati
3e7fd464dc
streamline back-ldap/slapo-chain configuration; add the possibility to cache non-configured, anonymous referral URIs
2005-11-19 17:48:33 +00:00
Pierangelo Masarati
f4781b1527
minor schema parsing cleanup
2005-11-19 14:57:25 +00:00
Pierangelo Masarati
28aca605c7
more URI into bindconf
2005-11-16 21:52:14 +00:00
Hallvard Furuseth
82c73ef51a
Fix pointer cast in assignment
2005-11-14 14:43:25 +00:00
Pierangelo Masarati
1cef82abe9
return the position of the failing verb
2005-11-14 11:23:44 +00:00
Pierangelo Masarati
fc2912ba92
move bindconf_[un]parse() into generic API
2005-11-06 23:28:54 +00:00
Pierangelo Masarati
757c34ee4b
s/sprintf/snprintf/
2005-11-01 17:50:57 +00:00
Howard Chu
3200892a95
ITS#4111 fix mask_to_verbs return value
2005-10-28 01:57:40 +00:00
Howard Chu
f2930835ce
ITS#4077. I wonder if we should have an ARG_OCTAL flag to preserve the
...
representation ... ?
2005-10-11 18:57:34 +00:00
Kurt Zeilenga
bb19302db6
cast pointer to long instead of int to hopefully avoid
...
truncation. Change does at least silence warning.
2005-09-08 21:38:20 +00:00
Howard Chu
9ec2e2c690
ITS#3807 use a different tokenizer for parsing LDIF values into words.
2005-09-06 09:04:26 +00:00
Hallvard Furuseth
f17ffeb925
Rename label "leave" to "done".
...
Tru64 5.1 alpha's <pthread.h> turns "leave" into an exception handling keyword.
2005-08-26 22:23:27 +00:00
Pierangelo Masarati
f76e1055f8
treat extra args as errors
2005-07-29 09:01:44 +00:00
Pierangelo Masarati
136fe60e0e
improve verbstomask diagnostics
2005-07-25 20:48:24 +00:00
Pierangelo Masarati
4c1339cf22
add infrastructure to register verbmasks; allow to register loglevels programmatically; cleanup glue protos
2005-07-23 11:32:10 +00:00
Pierangelo Masarati
551dab0d03
more cleanup
2005-07-19 15:13:32 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
ae3ef7b3cd
Make ConfigArgs.lineno int like elsewhere instead of unsigned long
2005-07-18 05:48:21 +00:00
Pierangelo Masarati
395207029b
need a regular file (ITS#3865)
2005-07-14 18:03:29 +00:00
Hallvard Furuseth
da1c57ff3e
Add missing function declarations in config.h
2005-07-11 19:03:27 +00:00
Hallvard Furuseth
ba5305eea4
fp_parse_line():
...
* More slapd.conf-keywords with passwords to log as "<keyword> ***":
"syncrepl" (in slapd), "acl-bind", "acl-method", "idassert-bind"
(in back-ldap), "acl-passwd" (in back-<ldap/meta>).
* When no tokens, i = -1 initialization caused out-of-bounds access.
* Handle initial argc == argv_size (e.g. 0).
2005-07-11 18:56:50 +00:00
Howard Chu
5d2ba11ad9
ITS#3847 silence warnings
2005-07-11 12:11:15 +00:00
Hallvard Furuseth
8a696d21b2
Format fixes (%d<->%lu etc)
2005-07-04 05:29:12 +00:00
Pierangelo Masarati
904d86a28a
better fix to ITS#3806
2005-06-28 22:06:24 +00:00
Howard Chu
62b81c9632
More for prev commit - break from mask_to_verbs when mask has gone to zero
2005-06-09 23:39:18 +00:00
Howard Chu
0658ff91b7
Tweak mask_to_verbs for multiple-bit masks
2005-06-09 22:55:21 +00:00
Howard Chu
5f5356567e
ITS#3747 move subschemasubentry attr initialization
2005-05-24 17:06:33 +00:00
Pierangelo Masarati
672c39024e
further fixing of back-ldap config; added enum_to_verb call to ease mapping enumerations to strings...
2005-05-23 14:14:34 +00:00
Pierangelo Masarati
e73e9ddd7c
allow LDAP_AUTH_NONE
2005-05-23 07:22:32 +00:00
Howard Chu
1d283c2154
More fixes for overlay support. Converted pcache to config table.
2005-05-09 10:33:43 +00:00
Howard Chu
048a36a60f
Fix prev commit, trim unused cfOC vars
2005-05-09 05:02:23 +00:00
Howard Chu
ee59484f7b
Restructured to allow miscellaneous Adds under database/overlay objects
2005-05-09 03:42:51 +00:00
Pierangelo Masarati
54de0cbffc
use appropriate log level if bailing out; need to use Debug() instead fprintf( stderr ) in many places...
2005-05-06 20:36:59 +00:00
Pierangelo Masarati
d23243a507
more on strict config parsing (ITS#3705)
2005-05-06 16:42:03 +00:00
Pierangelo Masarati
87d7ca8957
ITS#3705: bailout if unknown config directive is found
2005-05-04 18:46:45 +00:00
Howard Chu
0ec5e2df77
Fix some return codes
2005-04-25 09:18:32 +00:00
Howard Chu
be99e9e758
More error reporting for clients
2005-04-25 08:44:52 +00:00
Howard Chu
b5ef8ea6f4
More modify support. ACL editing works.
2005-04-19 16:39:48 +00:00
Howard Chu
60533ad197
More for Modify. Single-valued attrs working.
2005-04-13 06:38:00 +00:00
Pierangelo Masarati
159dad3d9f
iptr was unint'd
2005-04-11 21:44:29 +00:00
Pierangelo Masarati
c1885efd83
more bindconf cleanup
2005-04-10 23:43:17 +00:00
Howard Chu
26a101edce
ITS#3644 include limits.h in config.h, set PATH_MAX in config.h
2005-04-09 06:35:28 +00:00
Pierangelo Masarati
f1e2d35bd6
rework few members of slap_bindconf; silence few warnings
2005-04-02 01:33:48 +00:00
Howard Chu
c9141a9a08
More parsing fixes
2005-03-21 11:14:37 +00:00
Howard Chu
119cbcaba4
Schema unparsing support
2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f
Add HARDCODE schema flags
2005-03-21 00:22:54 +00:00
Howard Chu
fda662bd34
More for loading config from LDIF
2005-03-20 09:13:48 +00:00
Howard Chu
83c748fe5c
More for loading config from database. Fix non-reentrant strtok_quote.
2005-03-17 23:07:44 +00:00
Howard Chu
cd23b2ddf4
Fix unterminated debug msgs
2005-03-16 21:29:32 +00:00
Howard Chu
585b4a02ef
Fix prev commit, overlay config was broken
2005-03-16 20:31:49 +00:00
Howard Chu
bc4564cac4
More back-config / back-ldif integration, added config_generic_wrapper,
...
added -F option to specify config directory
2005-03-15 08:57:34 +00:00
Howard Chu
50c3487e03
Fix backend config table fallthru
2005-03-04 10:01:31 +00:00
Howard Chu
74e38c0ad4
More verbmasks cleanup, added index unparsing
2005-03-02 16:35:59 +00:00
Howard Chu
530e93f96e
Cleanup verb/mask processing
2005-03-02 14:49:54 +00:00
Howard Chu
1bc59be16d
Fix initial config file info
2005-03-02 05:20:22 +00:00
Howard Chu
44521fd902
Reorganized config/bconfig. Migrated back-bdb config.
2005-03-02 04:46:50 +00:00
Howard Chu
58865ccb38
Added general limits retrieval
2005-03-01 23:01:47 +00:00
Howard Chu
58939adc36
Added limits_unparse_one
2005-03-01 21:25:32 +00:00
Howard Chu
5acd0c574b
Added authz-regexp, slapi plugin retrieval
2005-03-01 20:08:36 +00:00
Howard Chu
21aa0d0f9f
Added oidm retrieval
2005-03-01 18:05:23 +00:00
Howard Chu
89210b7100
Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse
2005-03-01 11:42:31 +00:00
Howard Chu
05a4b7e234
Added moduleload/modulepath retrieval
2005-02-28 22:19:55 +00:00