Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , , ,

Sponsored Links


Samba mount in linux

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 15-03-2010
Member
 
Join Date: Oct 2009
Posts: 61
Samba mount in linux

Sponsored Links
I am using Linux and windows and structured the samba server for communicating with both of the operating system using the tutorials suggested on this forums but I don't know how to check and how to start the samba server.

I have no any idea about this please do something for me and provide me the suggestion to start the server.

Reply With Quote
  #2  
Old 15-03-2010
Devasis's Avatar
Member
 
Join Date: Jan 2008
Posts: 3,371
Mount a Windows share on Linux with Samba

If you have created the samba server between the windows and Linux and you need to connect with the created server named as samba.

You obviously can so it and can access the contents placed on the windows file manager section.The following command would help you to test the creation and communication between both server. It would be happened with the following command -

Code:
smbclient -L <windows-box> -U <username>
Reply With Quote
  #3  
Old 15-03-2010
Solomon's Avatar
Member
 
Join Date: May 2008
Posts: 4,057
Creating mount point

Creating mount point

You have to create a mount point to mount the samba server.The command for mounting would be located on the this point to be mounted so you have to take some more steps to create and locate the mount point :

Create a directory for the mount point:

Code:
mkdir /mnt/<name-of-mount-point>
Mount the share using -

Code:
mount -t smbfs -o username=<username>,password=<password> //<win-box>/<share> /mnt/<name-of-mountpoint>
Reply With Quote
  #4  
Old 15-03-2010
MrChris-'s Avatar
Member
 
Join Date: Apr 2008
Posts: 3,240
Accessing an SMB Share With Linux Machines

Linux (UNIX) machines is able to open and mount SMB shares.One thing should be remember that doesn't matter that which one is as a server Windows machine or a Samba server!

An SMB client program for UNIX machines is contained within the Samba distribution. It gives an ftp-like interface within the command line. Using this utility,you can transfer the files between a Windows 'server' and a Linux client.

Code:
    smbclient -L <user_name>
Reply With Quote
  #5  
Old 15-03-2010
Calvin K's Avatar
Member
 
Join Date: Apr 2008
Posts: 3,485
Samba mount in linux

For mounting an smbfs share from a Linux workstation using the command line arguments, There are two options can be used :

1- smbmount
2- mount -t smbfs.

Both command achieve the same task. When you use mount -t smbfs, the mount program actually passes the command over to smbmount for execution.

Code:
smbmount //servername/sharename /mountdirectory -o 
                                      username=mywindowsusername,password=mywindowspassword
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Samba mount in linux"
Thread Thread Starter Forum Replies Last Post
How to mount samba share in Linux Redhat? Mishraji Operating Systems 4 13-11-2010 01:32 AM
Configuring Linux in a Windows Network with SAMBA The$Hulk Guides & Tutorials 3 15-09-2010 01:01 AM
Opening port for Linux Samba for windows users afidelino Networking & Security 5 10-03-2010 08:19 PM
Mount an ISO image in Linux Hakon Operating Systems 6 16-09-2009 12:41 PM
Win xp in a linux: samba Jasonholt Operating Systems 2 26-11-2008 06:00 PM


All times are GMT +5.5. The time now is 04:31 AM.