ALT Linux Bugzilla
– Attachment 4135 Details for
Bug 22557
pam_ck_connector.so запущенный с RHOST=localhost не считает сессию локальной
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч
0001-fix-localhost.patch (text/plain), 1021 bytes, created by
Vladislav Zavjalov
on 2009-12-16 17:42:35 MSK
(
hide
)
Description:
патч
Filename:
MIME Type:
Creator:
Vladislav Zavjalov
Created:
2009-12-16 17:42:35 MSK
Size:
1021 bytes
patch
obsolete
>From d5f292ead54b50ef7163fcc8eb0563c06b2513d0 Mon Sep 17 00:00:00 2001 >From: Vladislav Zavjalov <slazav@altlinux.org> >Date: Tue, 17 Nov 2009 17:04:27 +0300 >Subject: [PATCH] fix localhost > >--- > pam-ck-connector/pam-ck-connector.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/pam-ck-connector/pam-ck-connector.c b/pam-ck-connector/pam-ck-connector.c >index 4203651..20a89ca 100644 >--- a/pam-ck-connector/pam-ck-connector.c >+++ b/pam-ck-connector/pam-ck-connector.c >@@ -286,7 +286,7 @@ pam_sm_open_session (pam_handle_t *pamh, > remote_host_name = NULL; > s = NULL; > res = pam_get_item (pamh, PAM_RHOST, (const void **) &s); >- if (res == PAM_SUCCESS && s != NULL && s[0] != '\0') { >+ if (res == PAM_SUCCESS && s != NULL && s[0] != '\0' && strcmp(s, "localhost")) { > remote_host_name = s; > if (opt_debug) { > ck_pam_syslog (pamh, LOG_INFO, "using '%s' as remote-host-name", remote_host_name); >-- >1.6.5.2 >
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 22557
: 4135