Displaying 3 results from an estimated 3 matches for "linux_const".
2007 Jun 27
1
User mapping via pam
..._USER within a pam module, and observed that
dovecot 0.99 does not support this. I then looked at 1.x and found:
src/auth/passdb-pam.c:232:
/* FIXME: this doesn't actually work since we're in the child
process.. */
status = pam_get_item(pamh, PAM_USER, (linux_const void
**)&item);
if (status != PAM_SUCCESS) {
*error = t_strdup_printf("pam_get_item() failed: %s",
pam_strerror(pamh, status));
return status;
}
auth_request_set_field(request, "...
2005 Feb 02
0
Dovecot doesn't call pam_open_session, thus dodging pam_mkhomedir (fwd)
..._close_session(pamh, 0)) != PAM_SUCCESS) {
+ *error = t_strdup_printf("pam_close_session(%s) failed: %s",
+ user, pam_strerror(pamh, status));
+ return status;
+ }
+
status = pam_get_item(pamh, PAM_USER, (linux_const void **)&item);
if (status != PAM_SUCCESS) {
*error = t_strdup_printf("pam_get_item(%s) failed: %s",
--cut--
> I am running dovecot-0.99.13 on FC2 with pam_mkhomedir, and it has been
> working fine. Not sure why you are having a problem. If I could just...
2005 Jan 27
1
Dovecot doesn't call pam_open_session, thus dodging pam_mkhomedir
I hit a small snag using Dovecot-imapd smoothly in my environment
with maildir and most of my accounts in LDAP. Since the accounts are
created through a web interface on another server home directories on
the mail server don't get created automatically. There's the handy pam
module pam_mkhomedir.so to automagically create home directories, but
unfortunatly Dovecot wasn't calling