Re: What driives me crazy about bugzilla [Making Progress]



On Thu, 04 Feb 2010 08:54:01 +0800
Ed Greshko <Ed.Greshko@xxxxxxxxxxx> wrote:

Sam J Sharpe wrote:
I see machines running Mac OSX as you describe in Places->Network
when on my corporate network. After some experimentation, I
discovered that those machines displayed are the ones that are
advertising "SFTP Transfer Service" via mDNS.

Assuming you've got avahi-daemon running and your local firewall
isn't denying it, try creating this file and see if your machines
show up as you expect:

[sam@work services]$ cat /etc/avahi/services/sftp.service
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_sftp-ssh._tcp</type>
<port>22</port>
</service>
</service-group>

Adding that file to the f12 side but not the f11 side will show an
icon for f12 on the f12 side and permit sftp access.

Adding that file to both f12 and f122 will show icons for both on the
f12 side and allow sftp access to both.

So, good job...great catch.

But, of course, that just shows the inconsistencies in the various
implementations...and raises another question. From this test, it
would seem that the KDE implementation will send its own MDNS query
and ignore the "defaults" in the services directory. But, even if
GNOME does use the files in the services directory it seems to be
ignoring the ssh.service file that exists. Neither f11 nor f12
system offers ssh as a service under GNOME. However, KDE in both f11
and f12 offers ssh and sftp regardless of what is in the services
directory.

noo.... you mis-understand what that file does. Neither Gnome or KDE is
checking that file at all.

Creating the sftp.service file for Avahi makes Avahi advertise the
service is available when responding to an mDNS query. The machine
(whether you're using Gnome or KDE) is not advertising sftp unless that
is configured.

KDE is obviously doing an mDNS query (as is Gnome) but Gnome is only
showing things that are broadcasting that they serve SFTP. I'm
surprised by this, as if it were me I probably would have made Gnome
also show Samba Servers in the same way. Heck - I have no right to
complain though, it's not like I've ever offered to assist the Gnome
Peeps ;o)


--
Sam
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines