The Samba-Bugzilla – Bug 4728
smbclient: Tab completion doesn't know about spaces
Last modified: 2012-05-08 15:54:04 UTC
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)
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.
Bug still in 3.6.5