Changes

Jump to: navigation, search

OPS335 Samba Lab

9 bytes added, 22:00, 6 September 2011
Configuring an SMB Server on Linux
Use "su -" to become root.
Ensure SAMBA is installed:
yum install samba
Edit the file /etc/samba/smb.conf, delete all original lines and include the following:
[global]
testparm
You can now start your SAMBA server
/etc/init.d/smb start or service smb start
Test if you have a connection with the command
smbclient -L 142.204.141.yyy -Uxxxxxxx%ppppppp*where 142.204.141.yyy is your Fedora Linux IP addressand xxxxxxx is your Matrix account nameand ppppppp is your SAMBA password*If the previous command worked, use another PC (Fedora then Windows) to establish a connection with the SMB server on your Fedora Linux machine. This step is important to ensure your SMB server on Linux is working. **NOTE: If your set up looks correct but you can't connect to your SMB server from the outside then you may need to adjust your firewall to allow SMB connections.From another Linux PC, use the mount command to mount your home directory onto /mnt. Step 4 in PART B should help you with this. Record this command as you'll need it for PART Dyour lab submission
==Completing the Lab==
Answer the following questions
1
edit

Navigation menu