using samba

Discussion in 'Software' started by Poltergiest, Jun 1, 2009.

  1. Poltergiest

    Poltergiest Private E-2

    I was wondering if an new a easy "how to" to correctly compile and install Samba.And also all the extra applications that is needed to go along with it?
     
  2. BoredOutOfMyMind

    BoredOutOfMyMind Picabo, ICU

    Which distro of Linux are you using?
     
  3. wiebelhaus

    wiebelhaus Private E-2

    For a Debian based system First install samba


    Code:
    sudo apt-get install samba 
    With this you will have samba installed on your system, now you need to edit the configuration file which is located at:


    Code:
    /etc/samba/smb.conf 
    Here's a simple configuration that should be added and edited with your specific information at the end of smb.config file.

    Workgroup; Lets you specify the windows workgroup.

    Netbios name; Lets you specify the name with your Linux PC will be seen by windows PCs.

    Security; specifies the level of security, default is user, but if the users on the windows PCs are not the same as the ones on the Linux PC, you better use share instead

    Auth methods; Possible options include guest (anonymous access), sam (lookups in local list of accounts based on netbios name or domain name), winbind (relay authentication requests for remote users through winbindd), ntdomain (pre-winbindd method of authentication for remote domain users; deprecated in favour of winbind method), trustdomain (authenticate trusted users by contacting the remote DC directly from smbd; deprecated in favour of winbind method).

    Domain master; Lets you configure your PC as a domain master or not, in this case we prefer not, as our goal is only to share files.

    Wins support; If you want or not to have wins enabled or not. Now comes the shares section, the string you put between the will be how windows will sees the share, in this case share1

    Path; You put here the path you may want to share

    Read only; yes or no, depending if you want to permit other users to write on this directories.

    Gest ok; It is a boolean field, and will permit or not guest users to access this resource

    For simple file serving that is all that is needed!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds