Mailing List Archive

[Bug 706] newlines missing in PAM conversations
http://bugzilla.mindrot.org/show_bug.cgi?id=706

Summary: newlines missing in PAM conversations
Product: Portable OpenSSH
Version: 3.7.1p1
Platform: All
OS/Version: Solaris
Status: NEW
Severity: minor
Priority: P2
Component: PAM support
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: paul.a.bolton@bt.com


From the manpage pam_start(3PAM):

"It is the responsibility of the conversation function to
strip off NEWLINE characters for PAM_PROMPT_ECHO_OFF and
PAM_PROMPT_ECHO_ON message styles, and to add NEWLINE char-
acters (if appropriate) for PAM_ERROR_MSG and PAM_TEXT_INFO
message styles."

In auth-pam.c sshpam_thread_conv() and sshpam_query() in the PAM_ERROR_MSG and
PAM_TEXT_INFO messages do not append a newline. pam_chauthtok_conv() does.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 706] newlines missing in PAM conversations [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=706





------- Additional Comments From paul.a.bolton@bt.com 2003-09-23 23:06 -------
Created an attachment (id=458)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=458&action=view)
fix




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