| Summary: | GSSAPI-with-mic doesn't handle empty usernames | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | David Leonard <David.Leonard> | ||||
| Component: | Kerberos support | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED WONTFIX | ||||||
| Severity: | normal | CC: | djm, jbasney, simon | ||||
| Priority: | P2 | ||||||
| Version: | 4.2p1 | ||||||
| Hardware: | Other | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
David Leonard
2005-10-10 12:24:10 AEST
(In reply to comment #0) > Second, auth2.c calls pwnamallow("") early, before attempting the > gssapi authentication. Untangling this bit of code from the (given) > username check so as to allow empty usernames is not going to be > simple. The gss token exchange has to complete before a username can be > determined. There's an example of how to work around this for PAM in bug #1215 although it may not be the best way. Created attachment 1207 [details]
patch to support empty usernames with gssapi-with-mic
This patch (against CVS tag V_4_5_P1) works for me. Hope it's useful.
Similar to bug #1215 - we do not wish to support user-renaming in at authentication time in OpenSSH. It makes many things more confusing to reason about, sorry. close bugs that were resolved in OpenSSH 8.5 release cycle |