Changes

Jump to: navigation, search

OPS335 Samba Lab

29 bytes added, 22:49, 6 September 2011
Connecting to a Linux SMB Server (Matrix) from a Linux Client (Fedora 13)
===Connecting to a Linux SMB Server (Matrix) from a Linux Client (Fedora 13)===
There are 4 ways that a Linux client can connect to an SMB server. Start by logging into your Fedora 13 system as joker and opening a terminal window.
#The first way is to use the "Places" menu from a Gnome desktop:#*Switch to root and ensure you are using the default Fedora 13 firewall.#*As root, ensure Samba is installed. Use these two commands: "yum install samba" and "yum install samba-client"*#*Fedora encrypts passwords when authenticating SMB connections. Unfortunately Windows clients (here at Seneca) insist on passwords being sent in plain text. For this reason Matrix SMB is set to use plain text passwords. To change Fedora to use plain text passwords switch to root and edit the /etc/samba/smb.conf file and immediately after the [global] section header insert these two lines: #**client plaintext auth = yes #**client lanman auth = yes#*Create a new account on Fedora with the same name as your LEARN acount. Set the password to 'seneca99'.#*Logout of joker and login to Fedora using your LEARN name.#*Now try the following:#*#From the "Places" menu at the top of your screen, select "Network" and wait until the network scan completes. Then click on the "Windows Network" and then click the "File" menu and select "Connect to Server" and input matrix.senecac.on.ca for the server, your username for the ShareName and UserName fields. Then click the Connect button. You should now be able to browse your Matrix files.  #The second way is to use a web browser with support for the SMB protocol such as Konqueror. #*If Konqueror is not installed then install it with the command: 'yum install kdebase'. #*Start Konqueror, the web/file browser, and in the Location edit box enter the following: 'smb://matrix/xxxxxx'. Where xxxxxx is your Matrix username. #*Login to your Matrix account. Konqueror should open a window of your Matrix home directory. #*Use the mouse to drag and drop files to and from your Matrix account and your Fedora Linux machine.Close Konqueror.  #The third way is to use the "smbclient" command in a terminal window.#*At the command prompt enter the following: #** smbclient '\\matrix\xxxxxx' -U xxxxxx #***where xxxxxx is your Matrix username#**You should get a prompt similar to #***smb: \>
Enter the ls command to see a list of your Matrix files.
Enter ? to see a list of smbclient commands.
1
edit

Navigation menu