Bugzilla – Attachment 3635 Details for
Bug 3507
Cannot get host-based authentication to work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add server side debugging for hostbased auth
openssh-hostbased-debug.patch (text/plain), 951 bytes, created by
Darren Tucker
on 2022-12-08 12:16:36 AEDT
(
hide
)
Description:
Add server side debugging for hostbased auth
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2022-12-08 12:16:36 AEDT
Size:
951 bytes
patch
obsolete
>diff --git a/auth-rhosts.c b/auth-rhosts.c >index 4fc9252a..667e2df4 100644 >--- a/auth-rhosts.c >+++ b/auth-rhosts.c >@@ -283,6 +283,7 @@ auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, > xasprintf(&path, "%s/%s", > pw->pw_dir, rhosts_files[rhosts_file_index]); > if (stat(path, &st) == -1) { >+ debug3_f("stat %s: %s", path, strerror(errno)); > free(path); > continue; > } >diff --git a/auth.c b/auth.c >index 13e8d799..5a88ab48 100644 >--- a/auth.c >+++ b/auth.c >@@ -571,14 +571,13 @@ auth_debug_add(const char *fmt,...) > va_list args; > int r; > >- if (auth_debug == NULL) >- return; >- > va_start(args, fmt); > vsnprintf(buf, sizeof(buf), fmt, args); > va_end(args); >- if ((r = sshbuf_put_cstring(auth_debug, buf)) != 0) >- fatal_fr(r, "sshbuf_put_cstring"); >+ debug3("%s", buf); >+ if (auth_debug != NULL) >+ if ((r = sshbuf_put_cstring(auth_debug, buf)) != 0) >+ fatal_fr(r, "sshbuf_put_cstring"); > } > > void
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 3507
:
3629
|
3630
|
3631
|
3632
|
3633
|
3634
|
3635
|
3636
|
3637
|
3638
|
3639