shell dumps core while accessing libnss-ldap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsh (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libnss-ldap
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
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
moved this to a bug report #64318 as for libnss-ldap as it seems that it is not directly related to zsh but is indeed repeatable also on bash.