sean3z
Published in

sean3z

Configuring Samba to share with Windows

I’ve had several headaches trying to configure samba to work properly with windows without being prompted to login every time I tried to access my share. This post should help those in need of accomplishing the same.

First we need to install samba using your native package management system

Before we get started, let’s make a backup of the original config.

Now, there a few things you will want to know.

  • path point - the directory you want to share.
  • share name - essentially a network alias for our path.
  • workgroup - should match the windows machine your attempting to share with
  • netbios name – the hostname we want to use for our share.

Once we have that, we can implement our own config

If you’re using PuTTy you can simply copy and paste this

Now simply save and exit, then restart samba

done!

now we should be able to access the share from our windows machine

--

--

Code, Comics, and Fhqwhgads!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store