ports/92721: [Bug] nss_ldap

Yuan-Chung Hsiao ychsiao at ychsiao.org
Thu Feb 2 08:00:22 UTC 2006


>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 at 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 at 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 at 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 at 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 at 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 at Opteron [~xxx] (15:51) id xxx
uid=10000(xxx) gid=500(family) groups=500(family)

But finger can't query ldap user.
root at 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:



More information about the freebsd-ports-bugs mailing list