Samba

From Void Linux Wiki
Jump to: navigation, search

This page contains information on various use cases of Samba on Void.

Client

You'll want to install cifs-utils and smbclient.

Mounting SMB Shares

Via FSTAB

Here is an example fstab entry, from the Samba wiki:

//192.168.2.100/share	/mnt/oneterra		cifs	guest,_netdev,uid=mike 0 0

_netdev is used to wait until a network is brought up before mounting.

Tip: You can also use noauto to keep the system from automatically mounting the share.

Via Command Line

here is an example command from the Samba wiki:

mount -t cifs -o user=luke //192.168.1.104/share /mnt/linky_share

Server

Server package: samba
The service folder is /etc/sv/smbd
Default configuration is under /etc/samba/

Troubleshooting