{"id":1114,"date":"2025-01-16T14:32:59","date_gmt":"2025-01-16T14:32:59","guid":{"rendered":"https:\/\/thomas.w-p.me.uk\/blog\/?p=1114"},"modified":"2025-01-16T14:33:16","modified_gmt":"2025-01-16T14:33:16","slug":"samba-machine-visible-on-windows-network","status":"publish","type":"post","link":"https:\/\/thomas.w-p.me.uk\/blog\/2025\/01\/samba-machine-visible-on-windows-network\/","title":{"rendered":"samba machine visible on Windows Network"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This has bothered me for ages, but today I worked it out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am using a docker image for samba (dperson\/samba) and that works fine after a bit of work, but it always bothered me that I could not see the computer in the home network. I know it is more secure not to, but sometimes convenience wins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I finally found the answer, and it is <a href=\"https:\/\/github.com\/christgau\/wsdd\">wsdd<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I found an undocumented, <a href=\"https:\/\/hub.docker.com\/r\/viniciusleterio\/wsdd\/tags\">wsdd docker image<\/a> image with 500k downloads in docker hub but no documentation at all. This yaml was enough to allow me to call it what I wanted rather than it&#8217;s rather prosaic name and it came up INSTANTLY:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#FAFAFA\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"  wsdd:\n    image: viniciusleterio\/wsdd\n    container_name: wsdd\n    network_mode: host\n    restart: always\n    command: &gt;\n      -i eth0\n      -n MyServerName\" style=\"color:#90A4AE;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki material-theme-lighter\" style=\"background-color: #FAFAFA\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #90A4AE\">  <\/span><span style=\"color: #E2931D\">wsdd<\/span><span style=\"color: #39ADB5\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #90A4AE\">    <\/span><span style=\"color: #E2931D\">image<\/span><span style=\"color: #39ADB5\">:<\/span><span style=\"color: #90A4AE\"> viniciusleterio<\/span><span style=\"color: #39ADB5\">\/<\/span><span style=\"color: #90A4AE\">wsdd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #90A4AE\">    <\/span><span style=\"color: #E2931D\">container_name<\/span><span style=\"color: #39ADB5\">:<\/span><span style=\"color: #90A4AE\"> wsdd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #90A4AE\">    <\/span><span style=\"color: #E2931D\">network_mode<\/span><span style=\"color: #39ADB5\">:<\/span><span style=\"color: #90A4AE\"> host<\/span><\/span>\n<span class=\"line\"><span style=\"color: #90A4AE\">    <\/span><span style=\"color: #E2931D\">restart<\/span><span style=\"color: #39ADB5\">:<\/span><span style=\"color: #90A4AE\"> always<\/span><\/span>\n<span class=\"line\"><span style=\"color: #90A4AE\">    <\/span><span style=\"color: #E2931D\">command<\/span><span style=\"color: #39ADB5\">:<\/span><span style=\"color: #90A4AE\"> <\/span><span style=\"color: #39ADB5\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #90A4AE\">      <\/span><span style=\"color: #39ADB5\">-<\/span><span style=\"color: #90A4AE\">i eth0<\/span><\/span>\n<span class=\"line\"><span style=\"color: #90A4AE\">      <\/span><span style=\"color: #39ADB5\">-<\/span><span style=\"color: #90A4AE\">n MyServerName<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This has bothered me for ages, but today I worked it out. I am using a docker image for samba (dperson\/samba) and that works fine after a bit of work, but it always bothered me that I could not see the computer in the home network. I know it is more secure not to, but &hellip; <a href=\"https:\/\/thomas.w-p.me.uk\/blog\/2025\/01\/samba-machine-visible-on-windows-network\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">samba machine visible on Windows Network<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110,27,118],"tags":[119,120,121],"class_list":["post-1114","post","type-post","status-publish","format-standard","hentry","category-docker","category-geekiness","category-samba","tag-networking","tag-samba","tag-yaml"],"_links":{"self":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/1114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/comments?post=1114"}],"version-history":[{"count":3,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/1114\/revisions"}],"predecessor-version":[{"id":1117,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/1114\/revisions\/1117"}],"wp:attachment":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/media?parent=1114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/categories?post=1114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/tags?post=1114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}