Bug 5702 - Folder will be sent as a file when send the folder to a samba share folder via run "mput"
Folder will be sent as a file when send the folder to a samba share folder vi...
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.31
Other Solaris
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-19 01:37 UTC by Kevin Qi
Modified: 2008-08-24 22:32 UTC (History)
1 user (show)

See Also:


Attachments
samba.log (188.13 KB, application/octet-stream)
2008-08-19 01:40 UTC, Kevin Qi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Qi 2008-08-19 01:37:31 UTC
1. Install and configure the 3.0.31samba on the solaris 8 sparc
2. set the share folder "/samba-test" and chmod "/samba-test" as 777
3. smbpass -a ted
4. Login as ted
5. Create a folder "test" under "/export/home/ted/" and a file "test.txt" under
"/export/home/ted/test" 
6. Access the samba-test folder via run "smbclient -U ru //b-sol8/samba-test"
7. Try put the folder to samba-test folder via run "mput test"

Results:
1. At stet#7, the folder "test" was sent as a file to the "samba-test" folder,
it is unexpected.
--------------------------------
-bash-3.00$ smbclient //localhost/samba-test -Ub-sol8\\ted
Password:
Domain=[WONDER] OS=[Unix] Server=[Samba 3.0.31-cdc-4.2.0-147]
smb: \> ls
  .                                   D       0  Tue Aug 19 14:32:45 2008
  ..                                  D       0  Fri Aug  1 10:45:29 2008

                62017 blocks of size 32768. 58460 blocks available
smb: \> put test
test does not exist
smb: \> ls
  .                                   D       0  Tue Aug 19 14:32:45 2008
  ..                                  D       0  Fri Aug  1 10:45:29 2008

                62017 blocks of size 32768. 58460 blocks available
smb: \> mput test*
Put file test? y
putting file test as \test (8.3 kb/s) (average 8.3 kb/s)
smb: \> ls
  .                                   D       0  Tue Aug 19 14:34:03 2008
  ..                                  D       0  Fri Aug  1 10:45:29 2008
  test                                A     512  Tue Aug 19 14:34:03 2008

                62017 blocks of size 32768. 58460 blocks available
smb: \>


The problem also occurs in the same platform with with samba3.0.23b and 3.0.27a
Comment 1 Kevin Qi 2008-08-19 01:40:42 UTC
Created attachment 3490 [details]
samba.log

the samba log at level10