{"id":521,"date":"2011-05-04T13:05:29","date_gmt":"2011-05-04T19:05:29","guid":{"rendered":"http:\/\/wp.natsci.colostate.edu\/cnsit\/?p=521"},"modified":"2021-07-19T09:41:41","modified_gmt":"2021-07-19T15:41:41","slug":"samba-smb-syntax","status":"publish","type":"post","link":"https:\/\/cnsit.colostate.edu\/kb\/samba-smb-syntax\/","title":{"rendered":"Samba \/ SMB Syntax"},"content":{"rendered":"<div>\n<p>Here&#8217;s a cheat sheet for Samba syntax &#8211; used to mount SMB\/Linux\/Windows shares on Windows, OSX, and Linux systems:<\/p>\n<p>Basic form:<br \/>\nsmb:\/\/[[[authdomain;]user@]host[:port][\/share[\/dirpath][\/name]]][?context]<\/p>\n<p>UNC FORM \u00a0URL FORM<\/p>\n<p>\\\\host\\share \u00a0smb:\/\/host\/share<\/p>\n<p>\\\\host\\share\\dirpath smb:\/\/host\/share\/dirpath<\/p>\n<p>\\\\host\\share\\dirpath\\filename \u00a0smb:\/\/host\/share\/dirpath\/filename<\/p>\n<p>Examples:<\/p>\n<p>smb:\/\/host\/share\/<\/p>\n<p>smb:\/\/host\/share\/dirpath<\/p>\n<p>smb:\/\/host\/share\/name<\/p>\n<p>smb:\/\/host\/share\/dirpath\/name<\/p>\n<p>smb:\/\/WORKGROUP@host\/share<\/p>\n<p>smb:\/\/WORKGROUP;User@host\/share<\/p>\n<p>Usually the name of the share must be specified.<\/p>\n<p>Shared disks are specified with a trailing $, e.g. for C the share is C$<\/p>\n<p>Substitute %20 for any spaces in the share names.<\/p>\n<p>References:<\/p>\n<p><a href=\"http:\/\/ubiqx.org\/cifs\/Appendix-D.html\">http:\/\/ubiqx.org\/cifs\/Appendix-D.html<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a cheat sheet for Samba syntax &#8211; used to mount SMB\/Linux\/Windows shares on Windows, OSX, and Linux systems: Basic form: smb:\/\/[[[authdomain;]user@]host[:port][\/share[\/dirpath][\/name]]][?context] UNC FORM \u00a0URL FORM \\\\host\\share \u00a0smb:\/\/host\/share \\\\host\\share\\dirpath smb:\/\/host\/share\/dirpath \\\\host\\share\\dirpath\\filename \u00a0smb:\/\/host\/share\/dirpath\/filename Examples: smb:\/\/host\/share\/ smb:\/\/host\/share\/dirpath smb:\/\/host\/share\/name smb:\/\/host\/share\/dirpath\/name smb:\/\/WORKGROUP@host\/share smb:\/\/WORKGROUP;User@host\/share Usually the name of the share must be specified. Shared disks are specified with a trailing [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":522,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,6],"tags":[],"class_list":["post-521","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet-networking","category-knowledge-base"],"_links":{"self":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/comments?post=521"}],"version-history":[{"count":1,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/521\/revisions"}],"predecessor-version":[{"id":3976,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/posts\/521\/revisions\/3976"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/media\/522"}],"wp:attachment":[{"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/media?parent=521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/categories?post=521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cnsit.colostate.edu\/kb\/wp-json\/wp\/v2\/tags?post=521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}