Configuring Samba to share with Windows

Sean Wragg
Mar 18, 2009 · 1 min read

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

sean3z

Code, Comics, and Fhqwhgads!

Sean Wragg

Written by

Writing about code, comics, and fhqwhgads!

sean3z

sean3z

Code, Comics, and Fhqwhgads!