0% found this document useful (0 votes)
94 views

Configuration Samba Server File Sharing

The document details the steps to configure a Samba server for file sharing on an Ubuntu system. It describes creating shared directories, installing Samba, editing the Samba configuration file, adding users and groups, and testing the file sharing between the Ubuntu server and Windows clients.

Uploaded by

adu g
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views

Configuration Samba Server File Sharing

The document details the steps to configure a Samba server for file sharing on an Ubuntu system. It describes creating shared directories, installing Samba, editing the Samba configuration file, adding users and groups, and testing the file sharing between the Ubuntu server and Windows clients.

Uploaded by

adu g
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

i

PROJECT

CONFIGURATION SAMBA SERVER FILE SHARING

Arranged by : 1. Rio Ramadhan 1610010186

2. Rizki Amalia 1610010188

Class : 4NAP1

Faculty : Tri Agus Riyadi, MT

Semester : 4

Continuing Education Program Center for Computing and Information Technology

Faculty of Engineering, University of Indonesia

2018
CONFIGURATION SAMBA SERVER FILE SHARING
CONFIG SAMBA
CONFIGURATION SERVER
SAMBA FILEFILE
SERVER SHARING
SHARING

Batch Code : 4NAP1

Start Date : May 15 , 2018

End Date : June 12 , 2018

Name Of The Coordinator : Mr. Tri Agus Riyadi

Name Of Developer : Rio Ramadhan

Rizki Amalia
CERTIFICATE

This is to certify that this report titled CONFIG SAMBA SERVER FILE SHARING embodies
the original work done by Rio Ramadhan and Rizki Amalia in partial fulfillment of their
course requirement at NIIT.

Coordinator:

Mr. Tri Agus Riyadi


ACKNOWLEDGEMENT

First of all, the authors pray gratitude for the presence of God because of favors and
gifts the authors can complete the Project. On this occasion the authors would like to say
thanks the Mr. Tri Agus Riyad, S. Kom, MT and other faculty members who always guide
the authors so this project finish properly and on time. And also the authors say many thanks
to those who have supported in process making this project. Also thanks to reader application
users at the same time. The Authors hope this project can be beneficial.

Depok, May 2018

Authors
INTRODUCTION

Samba is an application that enables a network administrator to work in an open


environment with full flexibility and freedom in terms of configuration, setups and other
selection regarding hardware and system elements. In other words, Samba was designed to
remove hurdles to interoperability.
IN GENERAL STEPS

The following task have been performed to meet the specification of the project scenario :

1. Make directory with mkdir public_share and chmod 777 public_share.


2. Make directory with mkdir admin and chmod 777 admin.
3. Then, sign in sudo su and apt-get install samba for installing samba.
4. Fourth, locate smb.conf.
5. Fifth, gedit /etc/samba/smb.conf for modify directive settings as described below
and save.
6. Then, writte useradd admin.
7. And, addgroup private.
8. Usermod –a –G private admin, only admin change a user's system account settings.
9. Smbpasswd –a admin.
10. Chownadmin : private admin.
11. Sudo service samba restart.
12. Open up cmd and edit file path.
13. Making a folder in public_share and admin.
14. Folder penting and data admin has been exist.
STEP-STEP CONFIGURATION SAMBA
SERVER FILE SHARING

First start by creating a shared samba directory name public_share. Then set the
appropriate permissions on the directory. This will give permissions to all files currently in the
folder and files added in the future without giving permissions to the directory itself.

Then creating a shared samba directory name admin. Then set the appropriate
permissions on the directory. This will give permissions to all files currently in the folder and
files added in the future giving permissions to admin only.
STEP-STEP
STEP-STEPCONFIG SAMBA SERVER
CONFIGURATION SAMBA
FILE SHARING
SERVER FILE SHARING

Entered into root, then installing samba with apt-get install samba

We can find if the installation was successful by running locate smb.conf


STEP-STEP
STEP-STEPCONFIG SAMBA SERVER
CONFIGURATION SAMBA
FILE SHARING
SERVER FILE SHARING

Now open the configuration file : gedit /etc/samba/smb.conf

Next edit or modify the directive settings as described below.

Then press Ctrl-O to save and Ctrl-X to exit from the gedit text editor
STEP-STEP
STEP-STEPCONFIGURATION SAMBA
CONFIG SAMBA SERVER
FILEFILE
SERVER SHARING
SHARING

Adding the admin by useradd admin

Added a group private only admin able to access


STEP-STEPCONFIGURATION
STEP-STEP CONFIG SAMBA SERVER
SAMBA
FILEFILE
SERVER SHARING
SHARING

Only admin change a user's system account settings.

Admin set the encrypted password used by samba server


STEP-STEPCONFIGURATION
STEP-STEP CONFIG SAMBA SERVER
SAMBA
FILEFILE
SERVER SHARING
SHARING

Admin can change owner file.

Now that we have our new share configured, save it and restart Samba for it to take effect.
STEP-STEPCONFIGURATION
STEP-STEP CONFIG SAMBA SERVER
SAMBA
FILEFILE
SERVER SHARING
SHARING

On Windows, open up cmd and edit the file path to:

Between Ubuntu and windows now is connected.


STEP-STEPCONFIGURATION
STEP-STEP CONFIG SAMBA SERVER
SAMBA
FILEFILE
SERVER SHARING
SHARING

Making a folder sharing in public_share.

Click the admin file sharing


STEP-STEPCONFIGURATION
STEP-STEP CONFIG SAMBA SERVER
SAMBA
FILEFILE
SERVER SHARING
SHARING

If user clicked admin, automatic access denied.

Make a folder data admin in admin file sharing


STEP-STEPCONFIGURATION
STEP-STEP CONFIG SAMBA SERVER
SAMBA
FILEFILE
SERVER SHARING
SHARING

Folder penting has been exiest

Folder data admin has been exiest


SYSTEM CONFIGURATION

Windows 7, Ubuntu
i

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy