{"id":287,"date":"2007-05-23T20:46:48","date_gmt":"2007-05-23T19:46:48","guid":{"rendered":"http:\/\/www.dotmana.com\/index.php\/?p=287"},"modified":"2007-12-02T19:15:47","modified_gmt":"2007-12-02T18:15:47","slug":"smbfs-cifs-share-on-synology-nas-and-ubuntu-2","status":"publish","type":"post","link":"https:\/\/www.dotmana.com\/weblog\/2007\/05\/smbfs-cifs-share-on-synology-nas-and-ubuntu-2\/","title":{"rendered":"Smbfs \/ Cifs share on Synology NAS and Ubuntu"},"content":{"rendered":"<p>If you get some issue with mounting shares with your NAS from your Ubuntu OS, consider this :<\/p>\n<p>With SMBFS : this solution is unsupported, you have to use CIFS. For example, in your fstab :<\/p>\n<p>\/\/192.168.1.250\/public \/media\/NAS     cifs iocharset=utf8,user=diskstation_username,password=diskstation_password,rw,uid=ubuntu_username,gid=ubuntu_username    0 0<\/p>\n<p>With CIFS : if you can mount your share directory, but listing returns always an empty list, there is the solution.<\/p>\n<blockquote><p><span class=\"postbody\"> I found another workaround in a ds101 mailing list : you can disable &#8220;unix extensions&#8221; in the ds106&#8217;s samba server. To achieve this, you need to add the folowing line in the [global] section of \/usr\/syno\/etc\/smb.conf :<br \/>\n<\/span><\/p><\/blockquote>\n<blockquote>\n<table width=\"90%\" cellspacing=\"1\" cellpadding=\"3\" border=\"0\" align=\"center\">\n<tr>\n<td><span class=\"genmed\"><strong>Code:<\/strong><\/span><\/td>\n<\/tr>\n<tr>\n<td class=\"code\">unix extensions=no<\/td>\n<\/tr>\n<\/table>\n<p><span class=\"postbody\">Then, restart samba :<br \/>\nDiskStation> \/usr\/syno\/etc\/rc.d\/S80samba.sh restart <\/span><\/p>\n<p>source : http:\/\/www.synology.com\/enu\/forum\/viewtopic.php?=&#038;p=6244<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>If you get some issue with mounting shares with your NAS from your Ubuntu OS, consider this : With SMBFS : this solution is unsupported, you have to use CIFS. For example, in your fstab : \/\/192.168.1.250\/public \/media\/NAS cifs iocharset=utf8,user=diskstation_username,password=diskstation_password,rw,uid=ubuntu_username,gid=ubuntu_username &hellip; <a href=\"https:\/\/www.dotmana.com\/weblog\/2007\/05\/smbfs-cifs-share-on-synology-nas-and-ubuntu-2\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-divers"],"_links":{"self":[{"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":0,"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}