Bug 4728 - smbclient: Tab completion doesn't know about spaces
smbclient: Tab completion doesn't know about spaces
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
3.0.25a
Other Linux
: P3 normal
: none
Assigned To: Volker Lendecke
Samba QA Contact
http://bugs.debian.org/269796
:
Depends on:
Blocks:
  Show dependency treegraph
 
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