[Bug 1087] SSH fails to show PAM password expiry message from LDAP on login

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Sep 29 23:00:24 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1087


t8m at centrum.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t8m at centrum.cz




------- Additional Comments From t8m at centrum.cz  2005-09-29 23:00 -------
This will leave the message from pam_account in loginmsg to be picked up later
when pty is allocated.

--- openssh-4.1p1/monitor.c.nologin     2005-06-29 11:30:56.000000000 +0200
+++ openssh-4.1p1/monitor.c     2005-06-29 11:32:18.000000000 +0200
@@ -854,9 +854,7 @@
        ret = do_pam_account();

        buffer_put_int(m, ret);
-       buffer_append(&loginmsg, "\0", 1);
-       buffer_put_cstring(m, buffer_ptr(&loginmsg));
-       buffer_clear(&loginmsg);
+       buffer_put_string(m, buffer_ptr(&loginmsg), buffer_len(&loginmsg));

        mm_request_send(sock, MONITOR_ANS_PAM_ACCOUNT, m);





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list