2.0.7pre3: smbclient issues
Giulio Orsero
giulioo at pobox.com
Mon Apr 3 07:33:01 GMT 2000
My systems: rh61, 2.2.14 + smbfs-nls.patch.
I refer to 2.0.7pre3 as 2.0.7
=== 1) "ls" of an empty dir
1a)
1.9.18 doing "ls" to an empty samba dir:
smb: \> ls
49550 blocks of size 16384. 33754 blocks available
1b)
2.0.7 doing "ls" to an empty samba dir:
smb: \> ls
ERRDOS - ERRbadfile (File not found.) listing \* <=======
49550 blocks of size 16384. 33754 blocks available
1c) dir listing compatibility with win9x/nt
When connecting with smbclient to a win share, the . and .. dir are
showed in the top share too, even if .. obviously cannot be cd'ed into.
I know . and .. in the topshare are useless, but if win does this way...
If samba did like win9x/nt do, then the error at point ii) would go away
automatically.
=== 2) putting just 1 of 2 dirs.
I have a linux dir with
dir1/file1
dir2/file2
I cannot find a way to connect to another smb server share and
transferring just the dir1 with the file(s) within.
smb: \> recurse
directory recursion is now on
smb: \> prompt
prompting is now off
smb: \> mask *
smb: \> put dir1
dir1 does not exist
smb: \> mput dir1 (dir1 is transferred without file1, no output)
smb: \> mput dir* (dir1 and dir2 transferred without files, no output)
smb: \> mput * (dir1 and dir2 transferred with files, output to screen)
putting file dir1/file1 as \dir1\file1 (0.781235 kb/s) (average 0.78125
kb/s)
putting file dir2/file2 as \dir2\file2 (1.46481 kb/s) (average 1.08507
kb/s)
smb: \>
I think "mput dir1" should do it, right?
=== 3) no output when transferring empty dirs
"put" of empty dirs gives no output to the screen, even if the dirs are
actually transferred, this causes confusion:
smb: \> prompt
prompting is now off
smb: \> mput emptydir
smb: \> recurse
directory recursion is now on
smb: \> mput emptydir
smb: \>
The 2nd mput really transfers the dir, the 1st does not, but the output
is the same for both.
=== 4)
smbclient does not output anymore the line with
"security=share" or "security=user" or "connected as guest
security=user" after commands as "smbclient '\\srv\shr'" like 1.9.18
did.
I think it was useful.
--
giulioo at pobox.com
More information about the samba
mailing list