Displaying 1 result from an estimated 1 matches for "expanded_service".
2014 Dec 12
0
PATCH - add username_format to the PAM auth module
...pam_strerror(pamh, status2));
+ str_free(&username);
return PASSDB_RESULT_INTERNAL_FAILURE;
}
@@ -300,6 +324,7 @@
auth_request_set_field(request, "reason",
ctx.failure_msg, NULL);
}
+ str_free(&username);
return result;
}
@@ -319,6 +344,7 @@
}
expanded_service = t_str_new(64);
+
var_expand(expanded_service, module->service_name,
auth_request_get_var_expand_table(request, NULL));
service = str_c(expanded_service);
@@ -338,6 +364,8 @@
module = p_new(pool, struct pam_passdb_module, 1);
module->service_name = "dovecot";
+ modu...