services: dovecot: Fix passwd and userdb 'args' types.

* gnu/services/mail.scm (passwd-configuration)[args]
(userdb-configuration)[args]: Change type from 'free-form-args' to
'space-separated-string-list'.
* doc/guix.texi (Mail Services): Document it.
This commit is contained in:
Clément Lassieur 2017-03-02 23:34:13 +01:00
parent 7070088a2d
commit deb3618810
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
2 changed files with 10 additions and 10 deletions

View File

@ -11362,9 +11362,9 @@ The driver that the passdb should use. Valid values include
Defaults to @samp{"pam"}. Defaults to @samp{"pam"}.
@end deftypevr @end deftypevr
@deftypevr {@code{passdb-configuration} parameter} free-form-args args @deftypevr {@code{passdb-configuration} parameter} space-separated-string-list args
A list of key-value args to the passdb driver. Space separated list of arguments to the passdb driver.
Defaults to @samp{()}. Defaults to @samp{""}.
@end deftypevr @end deftypevr
@end deftypevr @end deftypevr
@ -11381,9 +11381,9 @@ The driver that the userdb should use. Valid values include
Defaults to @samp{"passwd"}. Defaults to @samp{"passwd"}.
@end deftypevr @end deftypevr
@deftypevr {@code{userdb-configuration} parameter} free-form-args args @deftypevr {@code{userdb-configuration} parameter} space-separated-string-list args
A list of key-value args to the userdb driver. Space separated list of arguments to the userdb driver.
Defaults to @samp{()}. Defaults to @samp{""}.
@end deftypevr @end deftypevr
@deftypevr {@code{userdb-configuration} parameter} free-form-args override-fields @deftypevr {@code{userdb-configuration} parameter} free-form-args override-fields

View File

@ -160,8 +160,8 @@
@samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and @samp{pam}, @samp{passwd}, @samp{shadow}, @samp{bsdauth}, and
@samp{static}.") @samp{static}.")
(args (args
(free-form-args '()) (space-separated-string-list '())
"A list of key-value args to the passdb driver.")) "Space separated list of arguments to the passdb driver."))
(define (serialize-passdb-configuration field-name val) (define (serialize-passdb-configuration field-name val)
(format #t "passdb {\n") (format #t "passdb {\n")
@ -178,8 +178,8 @@
"The driver that the userdb should use. Valid values include "The driver that the userdb should use. Valid values include
@samp{passwd} and @samp{static}.") @samp{passwd} and @samp{static}.")
(args (args
(free-form-args '()) (space-separated-string-list '())
"A list of key-value args to the userdb driver.") "Space separated list of arguments to the userdb driver.")
(override-fields (override-fields
(free-form-args '()) (free-form-args '())
"Override fields from passwd.")) "Override fields from passwd."))