Changes

Jump to: navigation, search

OPS335 Samba Lab

13 bytes removed, 15:01, 16 March 2015
m
updating for new machine names
*You will need to determine which ports you need to open to allow connections to your server (hint: there are a total of six port and protocol combinations needed).
*Test if you have a connection with the command
smbclient -U <learnid> -L vm02vm2
*It will show you a list of all available shares.
== Using smbclient ==
*In a full installation you should not need to install samba-client on your vm01vm1, but if it is not present then do so.*From vm01 vm1 use the "smbclient" command in a terminal window. smbclient '\\vm02vm2\home' -U <learnid>
*After entering your password you should get a prompt similar to
smb: \>
== Using 'mount -t cifs' ==
*The next way is to use the mount command.
*Use the mount command on vm01 vm1 to mount your home directory mkdir /tmp/vm02vm2-home mount -t cifs //vm02vm2/home /tmp/vm02vm2-home -o username=<learnid> ls /tmp/vm02vm2-home
== Using Nautilus to browse Samba shares ==
*Start a graphical interface on vm01vm1.
*Use the "Activities" menu from the desktop on open 'files'.
*From the menu in the side-bar of the files tool, choose 'Connect to Server'.
*Enter 'smb://vm02vm2/home' as the location, and enter your samba password in the prompt.**Where vm02 vm2 is the name of the server, and home is the name of the directory it is sharing.
*After you have checked that you can access your files, unmount the share by right-clicking its icon in the side-bar and clicking 'Unmount'.
yum install kdebase
*Start Konqueror, the web/file browser, and in the address bar enter the following
smb://vm02vm2/home
*Enter your username and password when prompted.
*Double click on a file you have some text in.
932
edits

Navigation menu