Username completion crashes with libnss-ldap
Bug #219527 reported by
Martin Emrich
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
bash-completion (Debian) |
New
|
Unknown
|
|||
openldap (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash-completion
After upgrading to hardy, bash-completion crashes when trying to complete a username and libnss-ldap is enabled.
Steps to reproduce:
1. Set up ldap authentication (slapd, a few users, libnss-ldap, libpam-ldap,....)
2. enable bash completion
3. type e.g. "id <tab>".
Instead of showing available users, it prints:
malloc: unknown:0: assertion botched
free: start and end chunk sizes differ
Aborting...
Attached is an strace, attached to the bash on tty1 just before hitting "TAB" and detached afterwards.
Ciao
Martin
Changed in bash-completion: | |
status: | Unknown → New |
Changed in bash: | |
status: | New → Confirmed |
To post a comment you must log in.
Hi Martin,
Can you try the following and see if it also crashes?
$ compgen -u