search for: pam_allow_transform

Displaying 1 result from an estimated 1 matches for "pam_allow_transform".

2014 Dec 12
0
PATCH - add username_format to the PAM auth module
...am_passdb_module { struct passdb_module module; - const char *service_name, *pam_cache_key; + const char *service_name, *pam_cache_key, *username_format; unsigned int requests_left; unsigned int pam_setcred:1; unsigned int pam_session:1; unsigned int failure_show_msg:1; + unsigned int pam_allow_transform:1; }; struct pam_conv_context { @@ -67,6 +68,13 @@ char *string; int i; + const struct var_expand_table *table; + string_t *username; + + username = t_str_new(256); + table = auth_request_get_var_expand_table(ctx->request, auth_request_str_escape); + var_expand(username, passdb->use...