Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  2 Feb 2006 16:00:02 +0800 (CST)
From:      Yuan-Chung Hsiao <ychsiao@ychsiao.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92721: [Bug] nss_ldap 
Message-ID:  <20060202080002.7E7926781D@FreeBSD.stu.edu.tw>
Resent-Message-ID: <200602020800.k1280LhC059575@freefall.freebsd.org>

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

>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:



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