bin/100209: pam_ssh works no more after introducing src/crypto/openssh/ssh_namespace.h

Dmitry Kazarov kazarov at mcm.ru
Thu Jul 13 12:30:27 UTC 2006


>Number:         100209
>Category:       bin
>Synopsis:       pam_ssh works no more after introducing src/crypto/openssh/ssh_namespace.h
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 12:30:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Kazarov
>Release:        6.1-STABLE
>Organization:
Multicom Ltd, Moscow
>Environment:
FreeBSD kazarov.cds.ru 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu Jul 13 12:29:13 MSD 2006     root at kazarov.cds.ru:/var/tmp/obj/usr/src/sys/CE  i386

>Description:
I had recompiled world today and login (1) became unworkable due to 
auth            sufficient      pam_ssh.so              no_warn try_first_pass
line in /etc/pam.d/system

Found that due to introduction of src/crypto/openssh/ssh_namespace.h some functions names were changed and loading of /usr/lib/pam_ssh.so failed with error 
/usr/lib/pam_ssh.so: Undefined symbol "key_load_private"

IMNO: linker should at least warn on unresolved external references while building shared object.


>How-To-Repeat:
uncomment ssh line in /etc/pam.d/system and try to login
>Fix:
--- pam_ssh.c.orig      Thu Jul 13 15:54:19 2006
+++ pam_ssh.c   Thu Jul 13 16:08:02 2006
@@ -56,6 +56,7 @@

 #include <openssl/evp.h>

+#include "ssh_namespace.h"
 #include "key.h"
 #include "authfd.h"
 #include "authfile.h"

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list