[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash crashes on tab completion of usernames (with nss-ldap)



On Tue, Feb 19, 2008 at 05:42:07PM -0800, Richard A Nelson wrote:
> On Wed, 20 Feb 2008, Alex Samad wrote:
>
>> When i try this
>> ls ~al<tab>
>
> Ah, that is what I missed before... tab completion of user names
> not directory entries
yeah only on username expansion 
>
>> malloc: unknown:0: assertion botched
>> free: start and end chunk sizes differ
>> last command: ls -l
>
>> so readers, how can I debug this further and has  any one else seen this
>> problem on their machines ?
>
> are you running nscd ?
yep tried it with it on and off (tested again just now and same problem)
>
> does `getent passwd` show you all the users ?
yep and I can log into the system with ldap users, I can use id and whoami

>
>> I have had a look at the libnss-ldap code and the change set is rather minor
>> (although I have only looked at the diff not the resulting code).
>
> I can't see why one shell would work and the others fail, unless they
> do their own expansion instead of usernames instead of using whatever
> the nss services provide (if anything).
my thoughts to. but it doesn't seem to cause any problems in zsh (was thinking 
of trying it out anyway)

>
> I must confess to never really looking at the nss functionality in
> detail, for me it was enough that, unlike AIX, it just pretty much
> works (with some nasty caveats if you're using nscd and have multiple
> sources for data).
>
> -- 
> Rick Nelson
> A feature is nothing more than a bug with seniority.
> 		-- Unknown source
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a 
> subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

-- 
"As you know, these are open forums, you're able to come and listen to what I have to say."

	- George W. Bush
10/28/2003
Washington, DC

Attachment: signature.asc
Description: Digital signature


Reply to: