Commit Graph

437 Commits

Author SHA1 Message Date
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