core dump for shells using ldap for passwd information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnss-ldap (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
If one presses TAB to expand relative directories/files on command line zsh fails with:
ldap-nss.c:1323: do_init: Assertion `cfg->ldc_
and dumps core. First path component is ok, but second TAB fails.
It seems to dump core on the same error when a directory contains nodes which are owned by groups that are in ldap and does not exist in /etc/group. If node is owned by a user that is in ldap but access is restricted and name for UID is not available zsh doesn't crash on it.
Clearly this seems to be ACL problem on ldap side but still an issue for zsh.
Additionally this only happens with user credentials and not as root. Seems to be permission related.
This was experienced on zsh 4.3.2-13ubuntu1 and libnss-ldap 251-5.2 in edgy:
Linux bewdley 2.6.15.7-ubuntu1 #1 SMP PREEMPT Fri Sep 1 15:40:48 EEST 2006 x86_64 GNU/Linux
Recent changes in edgy has fixed the problem. A combination of the following packages work: 2.1.30- 13build1 2.26-5ubuntu3 2.2.26- 5ubuntu3
libnss-ldap-251-5.2
libpam-ldap-180-1
libldap2-
slapd-2.
ldap-utils-