bugzilla-daemon at bugzilla.mindrot.org
2009-Mar-27 14:55 UTC
[Bug 1579] New: long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 Summary: long usernames get truncated and fail to log in Product: Portable OpenSSH Version: 5.2p1 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org ReportedBy: ossman at cendio.se A username cannot currently be longer than 128 characters as that is the size of the "username" field in struct logininfo. Under some circumstances this is not enough though. In our specific case, we log in using the common name from a certificate, which often surpasses 128 characters. Logging in using common names from an LDAP tree is another case where username can easily get very long. In a perfect world, the server could cope with any length, but at the very least the length should be extended. 256 bytes covers the cases we've seen, but 512 bytes might be prudent. Memory usage should not be an issue in these ranges. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Mar-27 15:15 UTC
[Bug 1579] long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 Peter ?strand <astrand at lysator.liu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |astrand at lysator.liu.se -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-18 04:31 UTC
[Bug 1579] long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 --- Comment #1 from Damien Miller <djm at mindrot.org> --- Created attachment 1873 --> https://bugzilla.mindrot.org/attachment.cgi?id=1873 /home/djm/sshd-loginrec-namelen-crank.diff crank name length to 512 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-18 04:32 UTC
[Bug 1579] long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1873| |ok?(dtucker at zip.com.au) Flags| | -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-18 04:43 UTC
[Bug 1579] long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Blocks| |1708 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-22 04:59 UTC
[Bug 1579] long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1873|ok?(dtucker at zip.com.au) |ok+ Flags| | -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2010-Jun-22 05:02 UTC
[Bug 1579] long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Damien Miller <djm at mindrot.org> --- patch applied - this will be in OpenSSH-5.6 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2011-Jan-24 01:33 UTC
[Bug 1579] long usernames get truncated and fail to log in
https://bugzilla.mindrot.org/show_bug.cgi?id=1579 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Damien Miller <djm at mindrot.org> 2011-01-24 12:33:36 EST --- Move resolved bugs to CLOSED after 5.7 release -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.