debian - Thunar can't access (samba) shares throught "Browse Network" -


x86_64 debian stretch kernel version 4.7.8-1 xfce

i wasn't able open shares (samba) thunar in browse network (network:///). in location bar saw bad dns-sd names, when tried access shares. names this:

network:///dnssd-domain-tetris%2520-%2520smb%255cscifs._smb._tcp

  • where tetris name of server

so guessed problem in special characters (spaces etc.).

i searched dns-sd name created service avahi. edit file on server: /etc/avahi/services/smb.service , replace string single word (name) of server. (or use "%h" automatically insert server name)

before:

<?xml version="1.0" standalone='no'?> <!doctype service-group system "avahi-service.dtd"> <service-group>   <name replace-wildcards="yes">%h - _smb/cifs</name>   <service>     <type>_smb._tcp</type>     <port>445</port>   </service> </service-group> 

after:

<?xml version="1.0" standalone='no'?> <!doctype service-group system "avahi-service.dtd"> <service-group>   <name replace-wildcards="yes">tetris_smb-cifs</name>   <service>     <type>_smb._tcp</type>     <port>445</port>   </service> </service-group> 

now thunar works fine.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -