Commit Graph

533 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
f93aec341c (partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed 2005-02-27 18:05:22 +00:00
Kurt Zeilenga
aefb272680 Fix compiler error and warnings. 2005-02-27 06:10:01 +00:00
Howard Chu
049a1dbca0 SASL/TLS fixes to prev commit 2005-02-24 09:07:40 +00:00
Howard Chu
660c5de77b Added syncrepl retrieval 2005-02-23 14:58:53 +00:00
Howard Chu
c54cd8b7f1 Added replica retrieval 2005-02-23 12:03:14 +00:00
Howard Chu
5d46454d87 Fix prev, add security factors 2005-02-23 07:09:24 +00:00
Howard Chu
0383195cc0 Fix up memory usage 2005-02-23 04:25:24 +00:00
Pierangelo Masarati
91961faab6 missing successful return was causing erroneous failure detection 2005-02-22 15:01:14 +00:00
Howard Chu
b1a575899d Make replica directives visible/editable 2005-02-22 12:18:53 +00:00
Howard Chu
e0ca6e386e Added acl_unparse, slap_sasl_getpolicy 2005-02-22 12:02:34 +00:00
Howard Chu
367e4915ab Added includeFile objects 2005-02-21 17:38:27 +00:00
Howard Chu
39906c96e3 More schema fixes 2005-02-21 14:57:02 +00:00
Howard Chu
4295f398af Retrieve more values, bypass tool mode (for now) 2005-02-21 03:50:05 +00:00
Howard Chu
1895da7f52 Simple values retrievable 2005-02-21 02:21:29 +00:00
Howard Chu
c6f373bce1 Juggle ARG flags, needed some more bits 2005-02-21 01:10:23 +00:00
Pierangelo Masarati
49d2945e9a fix previous commit (please check) 2005-02-20 23:06:55 +00:00
Howard Chu
efc8c43b73 Adding back-config pieces 2005-02-20 18:33:40 +00:00
Howard Chu
a26148af99 Preliminary config attribute schema 2005-02-20 11:24:24 +00:00
Howard Chu
dfb6f870f6 Rearrange, merge sasl config back into main config 2005-02-20 06:47:54 +00:00
Howard Chu
3b34a6f81c ITS#3546 fix consumer crash on interrupt (provider crash still unresolved) 2005-02-17 15:07:27 +00:00
Pierangelo Masarati
0d475ca4f0 cleanup 2005-01-19 00:12:46 +00:00
Howard Chu
495c315672 More consolidation for single consumer-context syncrepl 2005-01-14 04:26:59 +00:00
Howard Chu
f845c573b0 Single consumer context per database 2005-01-13 21:15:50 +00:00
Howard Chu
93c56951ed Use a single sessionlog per context, delete sid 2005-01-13 19:51:01 +00:00
Howard Chu
bf27ba977b Deleted syncrepl updatedn 2005-01-13 18:51:29 +00:00
Pierangelo Masarati
c1e4eeb23b fix max arg number for limits 2005-01-03 18:20:37 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
24a3f59e53 use pre-formatted log string in configure; note the failure reason for DN syntax checks 2004-12-08 19:07:24 +00:00
Howard Chu
8dd2d202e5 Fix defaultSearchBase 2004-12-05 02:10:50 +00:00
Howard Chu
dfb8c86dc3 Deleted subordinate keyword in favor of glue overlay 2004-12-04 20:08:56 +00:00
Howard Chu
36a3a1d62f FIx ITS#3417,3418 bogus string arg handling 2004-12-03 17:53:07 +00:00
Pierangelo Masarati
2624711bc5 fix ITS#3413,3414; cleanup for readability; silence warnings 2004-12-03 10:11:43 +00:00
Howard Chu
5a5fc55a13 Fix ITS#3413, bad variable re-use 2004-12-03 03:39:27 +00:00
Howard Chu
a4f3a45b6d Fix ITS#3412, bogus TLS option processing 2004-12-03 03:22:05 +00:00
Howard Chu
a88c78d64e Remove syncinfo si_UUID_dn, make consumer use modify/modrdn instead of
just deleting and adding modified entries.
2004-11-29 05:56:51 +00:00
Howard Chu
616d7962ef Fix bind_anon keyword 2004-11-10 18:20:49 +00:00
Howard Chu
4e56d4b75f ITS#3376 fix subordinate keyword 2004-11-05 07:51:33 +00:00
Howard Chu
1d35c8f8ec ITS#3376 Fix prev commit, handling of replogfile 2004-11-05 07:10:44 +00:00
Howard Chu
db8debbfc8 ITS#3376 table-driven config engine 2004-11-05 06:22:04 +00:00
Ralf Haferkamp
93cec8b694 - Added autoconf test for CRL capable OpenSSL Version
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Ralf Haferkamp
5704a2ef6e CRL checking options for ldap.conf and slapd.conf 2004-10-28 18:50:38 +00:00
Pierangelo Masarati
fbe8243b86 warn when using "replogfile" or "replica" inside monitor database 2004-10-27 11:34:27 +00:00
Kurt Zeilenga
e983616d75 More NEW_LOGGING removal 2004-10-19 01:40:38 +00:00
Jong Hyuk Choi
0af878ac3f syncrepl consistency patch: utilize BDB txn rollback 2004-10-12 17:53:50 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Howard Chu
bf7c7a22d6 ITS#2661: configurable substring index lengths
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Pierangelo Masarati
d2c08ed8d3 misc syncrepl cleanup/fixes 2004-09-26 23:00:35 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Jong Hyuk Choi
e4d199d7bb A follow-on commit to the previous @oc support change to use anlist 2004-09-23 19:23:17 +00:00
Jong Hyuk Choi
5c0581b184 Modified @oc supprot code to the share anlist routines; Revised anlist routines 2004-09-23 02:48:14 +00:00
Jong Hyuk Choi
34280359b5 misc bug fix for @oc support 2004-09-20 19:44:05 +00:00
Jong Hyuk Choi
ffbb5d4ed2 *oc support in attr list 2004-09-18 02:07:41 +00:00
Jong Hyuk Choi
7dc0487341 support for syncrepl attr list in file (both attrs and exattrs) 2004-09-14 01:02:18 +00:00
Jong Hyuk Choi
98dc97bcb9 memory leak fixes 2004-09-11 02:02:09 +00:00
Kurt Zeilenga
3869e3b84d Add localSSF slapd.conf(5) directive to set SSF associated
with ldapi:// sessions.
2004-09-10 22:35:24 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Kurt Zeilenga
64c5fa4a9d ITS#3320: 'restrict' cleanup 2004-09-03 21:49:13 +00:00
Kurt Zeilenga
17d920063a subsequent allows/disallows directives should be additive 2004-09-01 00:34:34 +00:00
Kurt Zeilenga
1ece02dc7d cleanup 2004-09-01 00:23:34 +00:00
Jong Hyuk Choi
6f9025423f ITS#3289 - exattrs support 2004-08-29 22:28:28 +00:00
Pierangelo Masarati
7b4a51cc28 further improve loglevel selection 2004-07-29 12:39:51 +00:00
Pierangelo Masarati
f33b51832a allow to use names to set loglevel 2004-07-29 00:10:03 +00:00
Pierangelo Masarati
d723dbc34b in case of early exit, frontendDB might be uninitialized 2004-07-27 21:15:33 +00:00
Pierangelo Masarati
cd9a9c628d frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080) 2004-07-26 21:26:34 +00:00
Pierangelo Masarati
9a2b8f9d40 honor signedness 2004-06-28 21:20:13 +00:00
Jong Hyuk Choi
3917d2b15d limit checking in syncrepl 2004-06-22 18:15:29 +00:00
Pierangelo Masarati
42f3b3d87b improve parsing - first step 2004-06-18 09:11:53 +00:00
Jong Hyuk Choi
763f8c76ee syncrepl retry-on-error code 2004-06-18 05:04:03 +00:00
Jong Hyuk Choi
ef0a404729 revert pervious change 2004-06-18 02:59:47 +00:00
Kurt Zeilenga
0ae37bd468 Add SLAP_BFLAG_NOLASTMODCMD backend flag. When set, use of
the lastmod command will fail.  To be set by backends
(e.g., back-ldap) which force the value of SLAP_DBFLAG_NOLASTMOD
database flag.
2004-06-16 04:47:21 +00:00
Howard Chu
14ca92e851 load_ucdata is now a no-op 2004-05-31 05:44:04 +00:00
Howard Chu
910101a267 ITS#3064 don't reset sync interval to zero on PERSIST 2004-05-21 23:53:14 +00:00
Pierangelo Masarati
25a054a487 improve restricted exop 2004-05-01 18:55:23 +00:00
Pierangelo Masarati
03c64541d4 add granular op restriction 2004-05-01 17:53:37 +00:00
Pierangelo Masarati
3c1c61c5ef log slapi config read failure (partial fulfilment of ITS#3098) 2004-04-24 11:43:52 +00:00
Pierangelo Masarati
b9dcdbb2d8 rename macro accordingly to new authz naming 2004-04-20 19:12:56 +00:00
Pierangelo Masarati
2320192db0 more cleanup 2004-04-19 18:42:00 +00:00
Kurt Zeilenga
a54900be42 s/saslAuthz/authz/ 2004-04-16 06:12:13 +00:00
Pierangelo Masarati
9962894c58 sounds a bit more conservative... 2004-04-15 20:26:39 +00:00
Pierangelo Masarati
1f9d280b1a sounds like we're there... 2004-04-15 11:12:01 +00:00
Pierangelo Masarati
e77b064aab fix default sizelimit on pr (ITS#3085) 2004-04-15 09:15:30 +00:00
Pierangelo Masarati
d7884b5853 rename macro 2004-04-14 23:23:46 +00:00
Pierangelo Masarati
63035a5b5b allow optional overlays 2004-04-13 18:49:31 +00:00