Moved iSQL auth before pam

This commit is contained in:
Tube 2023-11-03 20:11:18 +01:00
parent bed7362475
commit 5d383badcc
1 changed files with 13 additions and 13 deletions

View File

@ -37,32 +37,32 @@ vars:
"dbs" string => string_mustache(' "dbs" string => string_mustache('
"userdbs":[ "userdbs":[
{{#cfg.pam_auth}}
{
"driver":"passwd",
"args":""
},
{{/cfg.pam_auth}}
{{#fg.vimb_auth}} {{#fg.vimb_auth}}
{ {
"driver":"sql", "driver":"sql",
"args":"$(dovecot_vimbadmin_sql.cfg_file)" "args":"$(dovecot_vimbadmin_sql.cfg_file)"
}, },
{{/cfg.vimb_auth}} {{/cfg.vimb_auth}}
],
"passdbs":[
{{#cfg.pam_auth}} {{#cfg.pam_auth}}
{ {
"driver":"pam", "driver":"passwd",
"args":"dovecot" "args":""
}, },
{{/cfg.pam_auth}} {{/cfg.pam_auth}}
],
"passdbs":[
{{#cfg.vimb_auth}} {{#cfg.vimb_auth}}
{ {
"driver":"sql", "driver":"sql",
"args":"$(dovecot_vimbadmin_sql.cfg_file)" "args":"$(dovecot_vimbadmin_sql.cfg_file)"
} , } ,
{{/cfg.vimb_auth}} {{/cfg.vimb_auth}}
{{#cfg.pam_auth}}
{
"driver":"pam",
"args":"dovecot"
},
{{/cfg.pam_auth}}
],', ],',
bundlestate("$(this.bundle)")); bundlestate("$(this.bundle)"));
@ -185,6 +185,6 @@ methods:
"any" usebundle => dovecot(@(dovecot_cfg)); "any" usebundle => dovecot(@(dovecot_cfg));
"any" usebundle => postfix(@(postfix_cfg)); "any" usebundle => postfix(@(postfix_cfg));
reports: reports:
"DCP: $(dovecot_protos)"; # "DCP: $(dovecot_protos)";
"DBS: $(dbs)"; # "DBS: $(dbs)";
} }