[Pkg-samba-maint] Bug#949394: libsmbclient: smbclient and others cannot rename remote files

Gilles Grandou gilles at grandou.net
Wed Jan 29 12:37:45 GMT 2020


By reverting libsmbclient to stretch version, correct behaviour is
restored: 

$ sudo apt install smbclient/stretch libwbclient0/stretch
samba-libs/stretch libsmbclient/stretch libldb1/stretch 

$ dpkg -l libsmbclient 
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================-======================-============-======================================================
hi libsmbclient:amd64 2:4.5.16+dfsg-1+deb9u2 amd64 shared library for
communication with SMB/CIFS servers 

$ smbclient //SMBSERVER/tmp
WARNING: The "syslog" option is deprecated
Enter gilles's password: 
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.4.16]
smb: \> ls
. DA 0 Wed Jan 22 08:59:54 2020
.. DA 0 Wed Jan 29 02:04:57 2020 

3746086260 blocks of size 1024. 1360087588 blocks available
smb: \> put hello.txt 
putting file hello.txt as \hello.txt (0.7 kb/s) (average 0.7 kb/s)
smb: \> rename hello.txt hello2.txt
smb: \> ls
. DA 0 Wed Jan 29 13:32:43 2020
.. DA 0 Wed Jan 29 02:04:57 2020
hello2.txt A 6 Wed Jan 29 13:32:32 2020 

3746086260 blocks of size 1024. 1360087588 blocks available
smb: \>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20200129/15a14072/attachment.html>


More information about the Pkg-samba-maint mailing list