Results 1 to 5 of 5

Thread: Samba mount in linux

  1. #1
    Join Date
    Oct 2009
    Posts
    61

    Samba mount in linux

    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.

  2. #2
    Join Date
    Jan 2008
    Posts
    3,388

    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>

  3. #3
    Join Date
    May 2008
    Posts
    4,085

    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>

  4. #4
    Join Date
    Apr 2008
    Posts
    3,267

    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>

  5. #5
    Join Date
    Apr 2008
    Posts
    3,522

    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

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,557,018.30495 seconds with 17 queries