Bugzilla – Attachment 1198 Details for
Bug 1248
bug with HostbasedUsesNameFromPacketOnly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
pat (text/plain), 855 bytes, created by
Richard E. Silverman
on 2006-10-05 08:53:09 AEST
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Richard E. Silverman
Created:
2006-10-05 08:53:09 AEST
Size:
855 bytes
patch
obsolete
>--- auth2-hostbased.c.~1.1.1.2~ 2006-10-04 18:49:07.861917000 -0400 >+++ auth2-hostbased.c.~1.2~ 2006-10-04 18:51:45.783753000 -0400 >@@ -142,15 +142,16 @@ > debug2("userauth_hostbased: chost %s resolvedname %s ipaddr %s", > chost, resolvedname, ipaddr); > >+ if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { >+ debug2("stripping trailing dot from chost %s", chost); >+ chost[len - 1] = '\0'; >+ } >+ > if (options.hostbased_uses_name_from_packet_only) { > if (auth_rhosts2(pw, cuser, chost, chost) == 0) > return 0; > lookup = chost; > } else { >- if (((len = strlen(chost)) > 0) && chost[len - 1] == '.') { >- debug2("stripping trailing dot from chost %s", chost); >- chost[len - 1] = '\0'; >- } > if (strcasecmp(resolvedname, chost) != 0) > logit("userauth_hostbased mismatch: " > "client sends %s, but we resolve %s to %s",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1248
: 1198