bugmldonkey, a multi-networks file-sharing client - Bugs: bug #19735, \\\\hostname\\share not shared in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #19735: \\\\hostname\\share not shared in win32

Submitted by:  vbnuy6 <gyhu94t>
Submitted on:  Sun 29 Apr 2007 03:45:46 AM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Works For Me
Assigned to: NoneOpen/Closed: Closed
Release: 2.8.5Release: 2.8.5
Operating System: MinGW W2K/WinXPBinaries Origin: CVS / Self compiled
CPU type: Intel x86

(Jump to the original submission Jump to the original submission)

Sat 01 Sep 2007 04:06:35 PM UTC, comment #8:

All shared dirs must be accessible for MLDonkey before it starts,
see this comment: https://savannah.nongnu.org/bugs/?20930#comment3

spiralvoice <spiralvoice>
Project Administrator
Mon 07 May 2007 08:19:04 PM UTC, comment #7:

Rather less trivially, if the user is not logged in to the Samba share, mldonkey does not start.

vbnuy6 <gyhu94t>
Tue 01 May 2007 04:37:26 PM UTC, comment #6:

No, all ascii.

vbnuy6 <gyhu94t>
Tue 01 May 2007 12:00:15 PM UTC, comment #5:

Do you use non ascii chars in the names of samba shares?

spiralvoice <spiralvoice>
Project Administrator
Mon 30 Apr 2007 06:24:42 PM UTC, comment #4:

No, still nothing. I should add that even though the stats fail, the files in the share are found.

==== share 0 //hostname/share/test
directory //hostname/share/test added
(files found but "--- --- --- not supported" as above)

==== share 0 //hostname/share/test/
no such directory

==== debug_disk /hostname/share/test
Exception stat failed on /hostname/share/test: No such file or directory

==== debug_disk /hostname/share/test/
Exception stat failed on /hostname/share/test/: No such file or directory

==== debug_disk //hostname/share/test
working on dir //hostname/share/test
bsize Unknown
blocks Unknown
bfree Unknown
bavail Unknown
fnamelen Unknown
filesystem not supported
disktotal Unknown
diskfree Unknown
diskused Unknown
percentused Unknown
percentfree Unknown

stat_device 2
stat_inode 0

==== debug_disk //hostname/share/test/
Exception stat failed on //hostname/share/test/: No such file or directory

==== debug_disk \\hostname\\share\\test
working on dir \hostname\share\test
bsize Unknown
blocks Unknown
bfree Unknown
bavail Unknown
fnamelen Unknown
filesystem not supported
disktotal Unknown
diskfree Unknown
diskused Unknown
percentused Unknown
percentfree Unknown

stat_device 2
stat_inode 0

==== debug_disk \\hostname\\share\\test\\
Exception stat failed on \\hostname\\share\\test\\: No such file or directory

==== debug_disk \\\\hostname\\share\\test
Exception stat failed on \\\\hostname\\share\\test: No such file or directory

==== debug_disk \\\\hostname\\share\\test\\
Exception stat failed on \\\\hostname\\share\\test\\: No such file or directory

vbnuy6 <gyhu94t>
Mon 30 Apr 2007 11:08:14 AM UTC, comment #3:

Can you add a "/" to the share name, so use

//hostname/share/test/

instead of

//hostname/share/test

Does it work then?

The reason:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getvolumeinformation.asp
"A trailing backslash is required. For example, you specify \\MyServer\MyShare as \\MyServer\MyShare\, or the C drive as "C:\"."

Do not worry about the backslash in the MS description, its
translated to a slash in MinGW. But the trailing slash is required:

mldonkey-command line > debug_disk /host/share
exception [stat failed on /host/share: No such file or directory]

mldonkey-command line > debug_disk /host/share/
working on dir /host/share/
bsize 512
blocks 8322945
bfree 8322945
...

If this works for you I will try to update the "shares" command
to add a trailing slash when displaying filesystem data.

spiralvoice <spiralvoice>
Project Administrator
Sun 29 Apr 2007 09:15:14 PM UTC, comment #2:

So it does, sorry. C:\using\windows dulls\My Brain
There remains a minor problem: the shares web page shows
z:\test
used free % free FS
70.29G 149.08G 67% ntfs
but
//hostname/share/test
used free % free FS
--- --- --- not supported

for the same Samba share.

vbnuy6 <gyhu94t>
Sun 29 Apr 2007 09:45:54 AM UTC, comment #1:

Works for me using this syntax: share 0 //hostname/share/dir

spiralvoice <spiralvoice>
Project Administrator
Sun 29 Apr 2007 03:45:46 AM UTC, original submission:

Remote Samba shares cannot be added by
share 0 \\\\hostname\\sambashare\\somedir
However if mapped to a drive letter eg Z then
share 0 Z:\\somedir
is detected correctly.
Thanks for all your work.

Buildinfo
Version: MLNet Multi-Network p2p client version 2.8.5 (mlnet.exe)
SCM version: cannot find out SCM Version (no STAT)
Networks: Global Shares Donkey (SUI)
Ocaml version: 3.09.3 - C compiler version: 3.4.4 - C++ compiler version: 3.4.4
Built on: MINGW32_NT-5.1 i686 1.0.11(0.46/3/2) (little endian)
Configure args: '--disable-multinet' '--disable-gui' '--disable-gd'
Features: threads zlib-1.2.3 bzip2-1.0.3 no-gd iconv(active) no-magic no-check-bounds

Runinfo
User: admin (PW Protected) - uptime: 2d 4h 1m 8s
Enabled nets: Donkey Overnet Kademlia
Server usage: enabled
Geoip: enabled, GeoLite data created by MaxMind, available from http://maxmind.com/
IP blocking: no blocking list loaded
System info: Microsoft Windows XP Professional Service Pack 1 (Build 2600)
language: JA - locale: CP932 - UTC offset: +0100
max_string_length: 16777211 - word_size: 32 - max_array_length: 4194303 - max_int: 1073741823
max file descriptors: 1024 - max useable file size: 2^63-1 bits (do the maths ;-p)

vbnuy6 <gyhu94t>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by spiralvoice (Posted a comment)
  • -unavailable- added by gyhu94t (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 01 Sep 2007 04:06:35 PM UTCspiralvoiceOpen/ClosedOpen=>Closed
      Summary\\\\\\\\hostname\\\\share not shared in win32=>\\\\hostname\\share not shared in win32
    Sun 29 Apr 2007 09:45:54 AM UTCspiralvoiceStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1