From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 2 08:00:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99C9816A420 for ; Thu, 2 Feb 2006 08:00:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94EDA43D49 for ; Thu, 2 Feb 2006 08:00:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1280Lg6059576 for ; Thu, 2 Feb 2006 08:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1280LhC059575; Thu, 2 Feb 2006 08:00:21 GMT (envelope-from gnats) Resent-Date: Thu, 2 Feb 2006 08:00:21 GMT Resent-Message-Id: <200602020800.k1280LhC059575@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuan-Chung Hsiao Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8A5316A422 for ; Thu, 2 Feb 2006 08:00:06 +0000 (GMT) (envelope-from ychsiao@FreeBSD.stu.edu.tw) Received: from FreeBSD.stu.edu.tw (FreeBSD.stu.edu.tw [210.71.23.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4436E43D45 for ; Thu, 2 Feb 2006 08:00:04 +0000 (GMT) (envelope-from ychsiao@FreeBSD.stu.edu.tw) Received: by FreeBSD.stu.edu.tw (Postfix, from userid 1000) id 7E7926781D; Thu, 2 Feb 2006 16:00:02 +0800 (CST) Message-Id: <20060202080002.7E7926781D@FreeBSD.stu.edu.tw> Date: Thu, 2 Feb 2006 16:00:02 +0800 (CST) From: Yuan-Chung Hsiao To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/92721: [Bug] nss_ldap X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yuan-Chung Hsiao List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 08:00:22 -0000 >Number: 92721 >Category: ports >Synopsis: [Bug] nss_ldap >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 02 08:00:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yuan-Chung Hsiao >Release: FreeBSD 6.0-RELEASE-p2 amd64 >Organization: Computer Center, Shu-Te University >Environment: System: FreeBSD Opteron.stu.edu.tw 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #0: Wed Jan 18 16:35:44 CST 2006 root@Opteron.stu.edu.tw:/usr/obj/usr/src/sys/FreeBSD amd64 >Description: My system use FreeBSD 6.0(amd64, Opteron), and OpenLDAP 2.3.11/pam_ldap 1.8.0/nss_ldap 1.244. I want to use login by ssh(pam+nss_ldap), and it work fine. But when ldap user login system, and run 'ls -al' or 'finger', I get core dump msg: xxx@Opteron [~xxx] (3:37) ls -al Assertion failed: (cfg->ldc_uris[__session.ls_current_uri] != NULL), function do_init, file ldap-nss.c, line 1245. Abort (core dumped) xxx@Opteron [~xxx] (15:25) finger Assertion failed: (cfg->ldc_uris[__session.ls_current_uri] != NULL), function do_init, file ldap-nss.c, line 1245. Abort (core dumped) 'id' can't query user. xxx@Opteron [~xxx] (15:58) id xxx id: xxx: no such user Finally, I use root to run 'ls -al' or 'id' ,it work fine. root@Opteron [~xxx] (15:48) ls -al total 1782 drwxr-xr-x 2 xxx family 512 Feb 2 15:23 ./ drwxr-xr-x 3 root wheel 512 Feb 2 03:04 ../ -rw-r--r-- 1 xxx family 767 Feb 2 03:04 .cshrc -rw------- 1 xxx family 1127 Feb 2 15:22 .history root@Opteron [~xxx] (15:51) id xxx uid=10000(xxx) gid=500(family) groups=500(family) But finger can't query ldap user. root@Opteron [~xxx] (15:48) finger xxx finger: xxx: no such user I'm not sure this problem was nss_ldap or other problem, so the category classify ports bug. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: