marcelvl |
02-24-2015 02:39 AM |
Problem accessing smb share via Avahi
Hi,
I have a server the software running on it is based on RHEL. I use a Apple device to access the Files in my Samba share via Finder. Now would it be nice if the Samba service is announced via Avahi. I've installed
Code:
Feb 19 19:51:46 Updated: avahi-libs-0.6.25-15.el6.x86_64
Feb 19 19:51:46 Updated: avahi-0.6.25-15.el6.x86_64
Feb 19 19:51:46 Updated: avahi-glib-0.6.25-15.el6.x86_64
Feb 22 22:20:08 Installed: avahi-tools-0.6.25-15.el6.x86_64
Feb 22 22:22:43 Installed: nss-mdns-0.10-8.el6.x86_64
and put this in /etc/avahi/services/smb.service
Code:
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_smb._tcp</type>
<port>445</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=Xserve</txt-record>
</service>
</service-group>
I see the server on the left-side of Finder. So it's announced by Avahi. If i then click the server and do "Connect as" i'll get a error "There was a problem connecting to the server "name server". This server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again". If i do Go --> Connect to Server via Finder i can connect to the share on the server. Please some advise...
|