Skip to content

Samba

SAMBA

= the unix/linux re-implementation of the MS SMB networking protocol
Samba provides file and print services for Microsoft Windows clients
and can integrate with a Microsoft Windows Server domain, either as a Domain Controller (DC) or as a domain member.
As of version 4, it supports Active Directory and Microsoft Windows NT domains.
Samba runs on most Unix-like systems

install & implimentations

https://goldensoapbox.com/how-to-share-an-external-ntfs-formatted-usb-drive-on-linux-mint/
https://tenbulls.co.uk/2017/04/18/samba_on_mint/

  1. install caja-share

Restart SMBD daemon  :     sudo service smbd restart

  1. configuratie
    /etc/samba/smb.conf

windows workgroup = CSC , dus identieke naam nemen
change section “global

add line  
[[]{style=”font-size: 13pt”}]{style=”font-family: Helvetica Neue”}

::: {style=”text-align: left”}

:::

force user =

::: {style=”text-align: left”}
[[ ward
]{style=”font-family: Helvetica Neue”}]{style=”font-size: 13pt”}
:::

change[ ]{style=”font-size: 2pt”}

::: {style=”text-align: left”}
[ line]{style=”font-family: Helvetica Neue”}
:::

::: {style=”text-align: left”}
[[  “]{style=”font-size: 13pt”}]{style=”font-family: Helvetica Neue”}
:::

workgroup =

::: {style=”text-align: left”}
[[ CSC
]{style=”font-family: Helvetica Neue”}]{style=”font-size: 13pt”}
:::

section toevoegen

  • [USB-ext-1TB]
  • path = /media/ward/USB-ext-1TB
  • valid users = ward
  • read only = No
  • create mask = 0777
  • directory mask = 0777

    -

  • Install Samba  :  sudo apt-get install samba

  • ( nee, werkt niet      check  :  sudo service –status-all | grep
    smbd            OR sudo service –status-all | grep samba )
    -
  • Add SMB password
  • Ensure you add an SMB password for every valid user that you wish to
    access the share:

smbpasswd -a mylinuxuser

menu > administration > users & groups
group sambashare must exist
user ward must be member of sambashare
sambashare must be