search for: pam_cache_key

Displaying 2 results from an estimated 2 matches for "pam_cache_key".

2014 Dec 12
0
PATCH - add username_format to the PAM auth module
...----- next part -------------- --- dovecot-2.2.10/src/auth/passdb-pam.c.orig 2014-12-11 22:48:47.861478049 +0000 +++ dovecot-2.2.10/src/auth/passdb-pam.c 2014-12-12 11:25:23.304742138 +0000 @@ -41,12 +41,13 @@ struct pam_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; i...
2009 Feb 19
2
auth-worker always opens PAM session
..._key=<key>] [<service name>] session=yes makes Dovecot open and immediately close PAM session. Some PAM plugins need this to work, such as pam_mkhomedir. I checked the source code in passdb-pam.c: struct pam_passdb_module { struct passdb_module module; const char *service_name, *pam_cache_key; unsigned int pam_setcred:1; unsigned int pam_session:1; unsigned int failure_show_msg:1; }; And this: /* -session for backwards compatibility */ if (strcmp(t_args[i], "-session") == 0 || strcmp(t_args[i], "session=yes") == 0) module->pam_session = TRUE; It...