Changes

Jump to: navigation, search

OPS335 Samba Lab

104 bytes removed, 11:32, 4 November 2015
m
Update for fall 2015
==Configuring a Samba Server on Linux==
*On your VM 2 install Samba
yum dnf install sambasamba-client
*Create a backup of the file /etc/samba/smb.conf, and create a new one that includes only the following:
[global]
path = /home/<learnid>
valid users = <learnid>
; remember <learnid> is your learnid seneca account name
public = no
writable = yes
*Test and review your configuration with the command
testparm
*You can now start your Samba server systemctl start (smb.service*Ensure your server starts ) and ensure it will start at boot. *You will need to determine which ports you need to open Modify the firewall on VM2 to allow connections to your server (hint: there are two tcp ports and two udp ports needed)samba traffic.
*Test if you have a connection with the command
smbclient -U <learnid> -L vm2
932
edits

Navigation menu