Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 15:14:41 GMT
From:      Alexander <nr1c0re@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152483: Segmentation fault in sshd with pam_ldap and openssl from ports
Message-ID:  <201011221514.oAMFEfaf042661@red.freebsd.org>
Resent-Message-ID: <201011221520.oAMFK3CQ016967@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152483
>Category:       ports
>Synopsis:       Segmentation fault in sshd with pam_ldap and openssl from ports
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 22 15:20:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alexander
>Release:        7.3
>Organization:
>Environment:
FreeBSD server2.domain.com 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #0: Sun Oct  3 21:04:26 MSD 2010     root@server2.domain.com:/usr/obj/usr/src/sys/CARP  i386

>Description:
1st server - 8.1-RELEASE - openldap + ssl at 636 port. Compiled with base openssl.
2nd server - 7.3-RELEASE - pam_ldap + ssl. Compiled with openssl from ports.


If on 2nd server I use openssl from base system - I can login normaly with ldap or system account to system.
If on 2nd server I use openssl from ports - I cannot login via ssh. After entering login and password I got closed connection. In /var/log/messages I that message:
"Nov 22 17:40:00 server2 kernel: pid 61898 (sshd), uid 0: exited on signal 11"


>How-To-Repeat:
On first server install openldap with ssl support using base openssl.

On second server install openssl from ports and then install pam_ldap. Configure authentication via pam_ldap. Try to login on second server.

>Fix:
Temporary fix:
Use only base openssl, do not use openssl from ports.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011221514.oAMFEfaf042661>