Professional Documents
Culture Documents
com/2012/04/25/how-to-installsamba-server-on-ubuntu-12-04/
Go to your Windows machine and use this command in order to check the WORKGROUP name:
net config workstation
Backup the smb.conf file, then delete it and create the new one:
sudo sudo sudo sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak rm /etc/samba/smb.conf touch /etc/samba/smb.conf nano /etc/samba/smb.conf
Add this, in your smb.conf file (or change it according to your requirement):
#======================= Global Settings ===================================== [global] workgroup = WORKGROUP server string = Samba Server %v netbios name = ubuntu security = user map to guest = bad user dns proxy = no #============================ Share Definitions ============================== [MyShare] path = /samba/share browsable =yes
Access the samba share from windows (where ubuntu is the name of my samba server):
Change it, in such a way that everyone can read and write it(Check it, that it is allowed in your environment or not):
sudo chmod -R 0777 share ls -l
Part 2: Add and manage users and groups Add a group in your ubuntu server (in my case smbgrp):
sudo addgroup smbgrp
Create a new share, set the permission on the share ,add the user to the samba group and create samba password:
cd /samba/ sudo chown -R arbab:smbgrp secure/ ls -l sudo chmod -R 0770 secure/ ls -l sudo adduser arbab smbgrp sudo smbpasswd -a arbab
browsable = yes
Restart the samba service and check the syntax error with testparm:
sudo service smbd restart sudo testparm
Hope this will help you! Please Remember me in your prayers! Enjoy
http://ubuntuserverguide.com/2012/06/install-samba-server-ubuntu-server-1204-lts.html
Install and Configure Samba Server as File Server on Ubuntu Server 12.04
in File Server, How To, Samba Server Samba server is best option for sharing files between Ubuntu dan Windows Computer. Samba is a free and open source application re-implementation of SMB/CIFS networking protocol, originally developed by Australian Andrew Tridgell. As of version 3,samba can be used as file and print services between Linux and Windows-Based clients. Following tutorial is on How to Install Samba Server in Ubuntu Server 12.04 LTS in order to share files with Windows-based clients
Tips: if you want convert ubuntu user as samba user, just type the command : sudo smbpasswd a <Ubuntu User> Now, restart samba server with following command
sudo /etc/init.d/smbd restart
To Connect samba server on ubuntu : Open nautilus Menu File Connect to Server
To Connect samba server on Windows XP: Start Run or press Windows Button + R . see screen shoot below
http://www.unixmen.com/howto-install-and-configure-samba-share-in-ubuntu/
Install and Configure Samba share in Ubuntu 13.04 Raring Ringtail , 12.10, 12.04| Howto
Written by Mel Kham on March 11, 2012. Posted in Linux tutorials, Ubuntu
13EmailShare
Updated 05-04-2013: One of the most asked features for Samba is a graphical user interface to help with configuration and management, there are several GUI interfaces to Samba available, for me the most simple and powerful one of these tools is samba server configuration tool. In this post, i will show you how to install and configure samba in Ubuntu 12.10 and 13.04 Raring Ringtail, this work also for previous releases of Ubuntu. Check also our previous post on installation and configuration of samba via command line.
2- Install some dependencies for Configuration tools (don`t forget to install pythonglade2)
sudo apt-get install python-glade2
3- Installing Samba Server configuration Tool : Now install the graphical interface System-config samba
sudo apt-get install system-config-samba
7- Add the folder you want to share and setup the permissions access.
8- Now before to connect to the share, you have to create the samba user :
sudo smbpasswd -a pirat9 New SMB password retype New SMB Password
Now the configuration is done. Tip: You can chose any directory you want to share by right click on the folder directory and open the share options
9- Now, let`s test if samba share is working from another Linux Machine, in my case will try to connect from LinuxMint12 machine to Ubuntu 12.04 machine where we just installed samba, from menu open connect to server and type the details of your Ubuntu machine