can not connect to share from mac os x 10.4

Bug #69368 reported by sam tygier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GShare
Invalid
Undecided
Celso Pinto

Bug Description

I have gshare working between a couple of ubuntu computers.

when i bring a mac os x 10.4 machine onto the network, it can see the shares in the 'Network' folder in the finder, but when i try to connect i get the error message

"The alias "Sam's Shared Files" could not be opened, because the original item cannot be found"

i can connect if i use Go -> Connect to server. and put in ftp://titania.local:43818

Revision history for this message
Celso Pinto (cpinto) wrote :

Hi Sam,

I don't own an Apple computer so I had to search the web for possible hints (links below).

The first thing that comes to mind is that the Finder somehow caches the address but one of the GShare features is that it doesn't always use the same IP port, for example the next time you run GShare it may not be listening on port 43818. It seems that it is possible to check the value of the Alias in Finder.

Can you please do that and try to open the URL in that alias to see if that is what's causing this problem? If it is I'll try to fix this problem by forcing GShare to always use the same port, which is something that has already been requested.

Links for similar problems:

http://forums.macosxhints.com/archive/index.php/t-37526.html
http://forums.macrumors.com/showthread.php?t=97581
http://www.experts-exchange.com/Networking/Macintosh_Networking/Q_21594656.html

Changed in gshare:
assignee: nobody → cpinto
status: Unconfirmed → Needs Info
Revision history for this message
Celso Pinto (cpinto) wrote :

Sam, can you please try version 0.93? It's available at http://yimports.com/~cpinto/downloads/gshare/0.93 and it installs on, at least, Ubuntu 6.06.

Revision history for this message
sam tygier (samtygier) wrote :

thanks

i wont have a chance to test this for a week or 2, but as soon as i can i'll let you know

Revision history for this message
sam tygier (samtygier) wrote :

hello

i had a go with version 0.93 today. unfortunately it seems not to fix the problem.

but i found out a few things, which might help

there is a mac os x ftp client called cyberduck, which can see the share in its book marks and connect to it.

then i made a ftp share on mac os x (by ticking a box in the system prefs) and had a look at it with avahi discovery from linux. all looked the same, except ipv6 address, no TXT bit, and only the hostname as the name.

so i had a play with avahi-publish and tried to republish my share from linux. the command

avahi-publish -s sam _ftp._tcp 10021

made a share that worked in mac os x finder :-)

avahi-publish -s sam's _ftp._tcp 10021
made one that would not connect.

it seems to me that the ' character is the cause of the problem. i suspect that if gshare did not use that then everything would work.

Changed in gshare:
status: Needs Info → Confirmed
Revision history for this message
sam tygier (samtygier) wrote :

i tried fixing the problem by editing src/gshared/daemon.cs

< AVAHI_SERVICE_NAME = Catalog.GetString("{0}'s Shared Files");
---
> AVAHI_SERVICE_NAME = Catalog.GetString("{0}s Shared Files");

but it did not seem to help.

could changing the share name be exposed in the user interface or gconf in the next version.

Revision history for this message
Celso Pinto (cpinto) wrote :

Sam, can you please try the development version available at http://yimports.com/~cpinto/downloads/gshare/testing/ and tell me if these new options would be good enough for you?

Also, if you could give it a test drive and send me some feedback on it, it would be great.

Revision history for this message
sam tygier (samtygier) wrote :

thanks for the new test version. i have had a good play now, but not got anywhere. maybe the name is not the problem. maybe its a mac os x finder bug.

Revision history for this message
Celso Pinto (cpinto) wrote :

Sam,

so is it ok to close this report?

Revision history for this message
sam tygier (samtygier) wrote :

if you want. maybe reject it, if you think the bug is most likely in the mac os x finder.

i can reopen it if i get any closer to the solution.

Celso Pinto (cpinto)
Changed in gshare:
status: Confirmed → Rejected
Revision history for this message
David J. Kordsmeier (dkords) wrote :

Confirmed workaround described in comment #4. Do not use special characters in name of share. Mac OS X 10.4 doesn't seem to handle these. You must restart after renaming your share and reconnect in OS X 10.4 to access the contents of the share.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.