Preface
Configuring samba in Artix OpenRC
Installation
sudo pacman -S samba-openrc
formerly I use arch linux (systemd) and she has 2 daemon for running samba services,smbd
and nmbd
. So, in Artix only I need smb
.
Before that, I need to configure smb.conf
Example:
[global]
security = user
workgroup = bima
netbios name = artix
[bima-public]
path = /home/bima/bin
public = yes
# if set public = No, we should set parameter valid users .
# and when the user or group is in AD , the setting syntaxes is:
# valid users = CPUBS\username +CPUBS\group
writable = yes
[bima]
path = /home/bima/bin
browsable = yes
writable = yes
guest ok = yes
read only = no
[homes]
comment = Home directories
read only = No
browseable = No
and let’s add new user for that config bima (use password) and bima-public (no password)
sudo smbpasswd -a bima
...(type new password)
sudo smbpasswd -a bima
...(type new password)
Finally, start smb services
sudo rc-update add smb boot
sudo rc-services smb start
Samba services has configured and it show up on thunar file manager
and windows at \\192.168.1.4\bima
aslkdsad;lkajsdaskjbsaf