Commit Graph

424 Commits

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