From Bugzilla Helper: User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.0) Gecko/20020529 Description of problem: UW imap doesn't call pam_open_session and pam_close_session in the current linux versions because of an incompatibility with certain pam implementations on other unices. pam_mkhomedir requires a session to be opened to trigger its work. This problem shows up when an account is authenticated, but does not have an existing home directory, such as when authenticating against a windows domain using pam_winbind. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. place this line in /etc/pam.d/imap : session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0027 2. create a new account. remove it's home directory. 3. login via imap using the account above. Actual Results: The home directory for the new account doesn't get created. Expected Results: The home directory for the new account should be created automatically. Additional info: I have fixed this bug. See the modified source code at http://chumpsquad.com/bugfixes/ckp_pam.c The file it replaces is imap-2000c/src/osdep/unix/ckp_pam.c I simply added calls to pam_open_session and pam_close_session. This change should be added as an additional patch to the RPM. For corroborating evidence of this bug, see http://archives.neohapsis.com/archives/pam-list/2002-01/0095.html
You're referencing imap-2000c, however the current version of the imap package that we ship and support, is 2001a, which is available as an update via Red Hat Network (up2date) or via our ftp site. Please upgrade to the latest version of imap that we have available for Red Hat Linux 7.2, and update the bug report with your results. After you're using the latest version, if the problem persists, I can investigate the issue. There isn't sense in me wasting time however on an ancient release of the software.
I have verified that the same bug appears in the new version of imap from ftp://updates.redhat.com/7.2/en/os/SRPMS/imap-2001a-1.72.0.src.rpm and of course the regular RPM as well. The code for ckp_pam.c in the new version has commented code that recognizes the error documented above. I've made the changes to the code and recompiled and verified that the problem is fixed. The updated code is located at the same url as above http://chumpsquad.com/bugfixes/ckp_pam.c
This bug has been inappropriately marked MODIFIED. Please review the bug life cycle information at http://bugzilla.redhat.com/bugzilla/bug_status.cgi Changing bug status to ASSIGNED.
Did this fix ever make it in?
I don't know anything about this bug however 7.2 is rather old and we no longer ship UW imap. I'm closing as won't fix.