Bug 4728 - smbclient: Tab completion doesn't know about spaces
Summary: smbclient: Tab completion doesn't know about spaces
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.25a
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL: http://bugs.debian.org/269796
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 12:27 UTC by Debian samba package maintainers (PUBLIC MAILING LIST)
Modified: 2012-05-08 15:54 UTC (History)
0 users

See Also:


Attachments
Simple patch, solves part of problem (1.05 KB, patch)
2009-12-15 14:45 UTC, niekt0
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Debian samba package maintainers (PUBLIC MAILING LIST) 2007-06-22 12:27:27 UTC
Hello,

the smbclient command can tab completion but this doesn't work correctly:

I enter: put my<tab>

smb: \> put my file
my does not exist

I enter: put "my<tab>

smb: \> put "my file"
putting file my file as \my file (0,7 kb/s) (average 0,7 kb/s)

I enter: get my<tab>

smb: \> get my file
NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \my

I enter: get "my<tab>

smb: \> get "my file"
getting file \my file of size 6 as my file (0,5 kb/s) (average 0,5 kb/s)

thx.

noel@d.o
Comment 1 niekt0 2009-12-15 14:45:39 UTC
Created attachment 5087 [details]
Simple patch, solves part of problem

Fixes remote filename completion,
also solves discovered memory leak.

For full fix of the problem, readline Completion Variables needs to be used.
Comment 2 Debian samba package maintainers (PUBLIC MAILING LIST) 2012-05-08 15:54:04 UTC
Bug still in 3.6.5