[Bug 219527] Re: Username completion crashes with libnss-ldap

2009-02-23 Thread Hark
Correct, I also don't experience this problem anymore. -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs

Re: [Bug 219527] Re: Username completion crashes with libnss-ldap

2009-02-23 Thread Jakob Østergaard
Hark wrote: Correct, I also don't experience this problem anymore. I find the precise description of the resolution very reassuring... Some day when I have time to toy with this again I'll try the ubuntu packages. For now I'm staying with the debian source packages, compiling them on

[Bug 219527] Re: Username completion crashes with libnss-ldap

2009-02-23 Thread Hark
Correct, I also don't experience this problem anymore. -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

Re: [Bug 219527] Re: Username completion crashes with libnss-ldap

2009-02-23 Thread Jakob Østergaard
Hark wrote: Correct, I also don't experience this problem anymore. I find the precise description of the resolution very reassuring... Some day when I have time to toy with this again I'll try the ubuntu packages. For now I'm staying with the debian source packages, compiling them on

[Bug 219527] Re: Username completion crashes with libnss-ldap

2009-02-21 Thread Michael Zoet
I tested all of the above on a Ubuntu Hardy system and I have no problems with bash completion and LDAP unix authentification. I think this bug can be closed. ** Changed in: openldap (Ubuntu) Status: New = Fix Released -- Username completion crashes with libnss-ldap

[Bug 219527] Re: Username completion crashes with libnss-ldap

2009-02-21 Thread Michael Zoet
I tested all of the above on a Ubuntu Hardy system and I have no problems with bash completion and LDAP unix authentification. I think this bug can be closed. ** Changed in: openldap (Ubuntu) Status: New = Fix Released -- Username completion crashes with libnss-ldap

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-10-17 Thread Matthias Klose
** Also affects: openldap (Ubuntu) Importance: Undecided Status: New -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. --

Re: [Bug 219527] Re: Username completion crashes with libnss-ldap

2008-10-17 Thread Jakob Østergaard
On Fri, Oct 17, 2008 at 09:38:06AM -, Hark wrote: I also have this problem. Updating my Hardy systems did fix the problem on one server, but all other servers still have this problem after updating (and rebooting). No wonder... Since noone fixed the problem it works by accident on some

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-10-17 Thread Hark
I also have this problem. Updating my Hardy systems did fix the problem on one server, but all other servers still have this problem after updating (and rebooting). -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-10-17 Thread Anderson
I don't think this bug was resolved because an accident... I discovered several bugs and saw several unexplained crashes when Ubuntu Hardy was shipped with OpenLDAP 2.4.7. When Ubuntu switched to 2.4.9, my OpenLDAP server and some clients became stable. I can not ensure, but I believe this bug

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-10-17 Thread Matthias Klose
** Also affects: openldap (Ubuntu) Importance: Undecided Status: New -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-08-20 Thread Andreas Moog
This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-08-19 Thread Anderson
Humm... It seems the bug was fixed... $ cd ~luc ~lucasvanini ~luci~luciana/~luciane ~luciano/ ~lucimeire ~lucmei ~lucena ~lucia ~lucianafreitas ~lucianes/ ~lucianotl/ ~lucio/ I am using the same

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-08-19 Thread Martin Emrich
Right, I just tried it too, and it works now... I did not do anything other than regular updates (hardy-updates/hardy-security). -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-06-18 Thread Arnd
Just want to say that I can confirm the crashes with username completion with libnss-ldap_258-1ubuntu3_amd64.deb Any progress with this? Because of #227675 I don't want to switch to libnss-ldapd. -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-05-23 Thread William Lynch
** Changed in: bash (Ubuntu) Status: New = Confirmed -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-05-21 Thread Anderson
I am also getting crashes in my shell when completing LDAP usernames. $ cd ~amgTAB malloc: unknown:0: assertion botched free: start and end chunk sizes differ Aborting... If I try to install libnss-ldapd, APT tries to remove libnss-ldap. My question is: libnss-ldap configuration file is

Re: [Bug 219527] Re: Username completion crashes with libnss-ldap

2008-05-21 Thread Jakob Østergaard
Anderson wrote: I am also getting crashes in my shell when completing LDAP usernames. $ cd ~amgTAB malloc: unknown:0: assertion botched free: start and end chunk sizes differ Aborting... If I try to install libnss-ldapd, APT tries to remove libnss-ldap. My question is: libnss-ldap

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-05-07 Thread Jakob Østergaard
Follow one of the HOWTOs on setting up LDAP distribution of user accounts. In my setup I use kerberos for the authentication whereas most online articles describe how to shovel the authentication into LDAP too, but this doesn't seem to matter. You'll see the problems either way. -- Username

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-30 Thread Olivier Bornet
According to http://www.debian-administration.org/articles/585, it seems it's a bug in libnss-ldap: This is a problem with libnss-ldap. try libnss-ldapd. This came about when they changed from the openssl libraries to the gnutls libraries I have had the same problem on a Debian system.

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-30 Thread Jakob Østergaard
I can confirm that changing to libnss-ldapd seems to solve the problem here. One configuration quirk: To control authorization per-host via LDAP, I had the following in my old libnss-ldap /etc/ldap.conf: nss_base_passwd ou=People,dc=evalesco,dc=com?sub?|(host=eagle.rd)(host=\*.rd)(host=\*)

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-30 Thread Mika Fischer
Maybe one of you can tell me how to reproduce this. I.e. what packages do I need, how should I configure slapd and PAM? And how do I get users into LDAP? If I can reproduce it I'll try to debug the problem. -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-29 Thread Jakob Østergaard
Actually, tcsh shows this problem as well! $ tcsh puffin:~ ls ~ ...[snipped]... puffin:~ ls ~ free(5b3608) bad block. (memtop = 6a5000 membot = 5b3000) ...[snipped]... puffin:~ ls ~ ...[snipped]... It doesn't crash, but the free error is definitely not to be expected... The way I see this,

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-29 Thread Bug Watch Updater
** Changed in: bash-completion (Debian) Status: Unknown = New -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-25 Thread Martin Emrich
I rebuilt the bash package with --without-bash-malloc, and then tried the bash executable from the bash-static/ directory. Same problem if run from gdb. If I just start it with ./bash, and the enter compgen -u, bash enters an endless loop, eats 100% CPU and won't react to SIGTERM; I had to -KILL

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-23 Thread Mika Fischer
I think the dcgettext is just libc finding the right translation for its error message. OK, final try for the test program. This is now almost a line-by-line copy of the function in bash... If this does not crash, the only idea I have left is to rebuild bash so that it can be debugged... **

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-23 Thread Martin Emrich
Test program 3 runs fine, too. But I found out why all the test programs run fine: They use the libc6 malloc(), while bash brings its own: I did apt-get build-dep bash apt-get source bash, then debian/rules in there. After that: [EMAIL PROTECTED]:~/pwent-test/bash-3.2# grep start and end chunk

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-23 Thread Mika Fischer
Yes, that's good. I was also wondering about the missing malloc calls :) I think it would be best if you could take this to the bash-bug mailinglist. They should know how best to debug this. You can do this via the bashbug script. You could also try the bash-static package which is build with

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-22 Thread Martin Emrich
Sorry, same useless result: [EMAIL PROTECTED]:~# gdb --args bash -c 'compgen -u' GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it.

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-22 Thread Mika Fischer
This gets stranger and stranger. :) Maybe you could try this: sudo apt-get install ltrace ltrace -o ltrace.txt -S -n 4 -f bash -c 'compgen -u' and post the log (maybe gzip it first :)) That should give much information. At least it does in my case... -- Username completion crashes with

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-22 Thread Martin Emrich
Ouch, how could I have overseen such a good debugging tool for all these years ;-/ Here is the ltrace, I just removed the plain usernames to protect the innocent :) ** Attachment added: ltrace-bash-compgen-u-anonymized.txt.bz2

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-22 Thread Mika Fischer
Yes, ltracte is quite handy at times. It seems that the crash occurs in endpwent(), I added this to the test program. Could you check whether it crashes now? ** Attachment added: New test program with endpwent() http://launchpadlibrarian.net/13828755/pwent-test2.c -- Username completion

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-22 Thread Martin Emrich
No, the test program did not crash, but behaves like the first one. I'm sure many programs (like getent, ...) use this API, but the only thing exhibiting this bug until now is the bash completion. Attached is an ltrace of the pwent-test2.c program. I noticed that there are none of the dcgettext()

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-21 Thread Mika Fischer
Martin, can you try to compile and run the attached test program? It should do pretty much what bash is doing when completing filenames. gcc -o pwent_test pwent_test.c ./pwent_test ** Attachment added: Test program http://launchpadlibrarian.net/13612636/pwent-test.c -- Username completion

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-21 Thread Martin Emrich
Hi! Your program works fine, lists all available users. In the same shell just afterwards, hitting su - poTAB crashes the bash instance (bumps me back to the Box I ssh'd into the server from). BTW: I upgraded my real server over the weekend, and it exhibits the same behaviour as the VM I first

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-21 Thread Mika Fischer
Hm, strange... You can get debug symbols for the Ubuntu packages, see: https://wiki.ubuntu.com/DebuggingProgramCrash gdb should pick them up automatically, IIRC. -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-21 Thread Martin Emrich
Hmm, it gets more bizzare: After installing libc6-dbgsym, libnss-ldap-dbgsym, libc6-i686-dbgsym and bash-dbgsym, I geht just this: [EMAIL PROTECTED]:~# gdb bash GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-21 Thread Mika Fischer
Maybe: gdb --args bash -c 'compgen -u' ? -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-19 Thread Martin Emrich
** Attachment added: bash-completion-error-strace.txt.gz http://launchpadlibrarian.net/13575884/bash-completion-error-strace.txt.gz -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-19 Thread Martin Emrich
** Bug watch added: Debian Bug tracker #464210 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464210 ** Also affects: bash-completion (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464210 Importance: Unknown Status: Unknown -- Username completion crashes with

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-19 Thread Mika Fischer
Hi Martin, Can you try the following and see if it also crashes? $ compgen -u -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 219527] Re: Username completion crashes with libnss-ldap

2008-04-19 Thread Martin Emrich
Yes, compgen -u gives me the same error message. When I remove the ldap entries in nsswitch.conf, the error does not occur. -- Username completion crashes with libnss-ldap https://bugs.launchpad.net/bugs/219527 You received this bug notification because you are a member of Ubuntu Bugs, which is