SlideShare a Scribd company logo
SAMBA SERVER IN LINUX

Submitted by:
Veeral Bhateja
+91-8741810758
What is Linux?
• Linux is, in simplest terms, an operating
system. It is the software on a computer
that enables applications and the
computer operator to access the devices
on the computer to perform desired
functions.
• Linux is an operating system, a large
piece of software that manages a
computer. It is similar to Microsoft
Windows, but it is entirely free. The
accurate name is GNU/Linux but "Linux"
is used more often.
• In Linux there are many hundreds of
free, high quality applications you can
find, install and uninstall neatly and
easily.
• Using the open source code of the
Linux kernel, people have been
developing operating systems based
on the Linux kernel.
• Linux has provided us some of the best
servers to share every possible
transactions. One of them is Linux
Samba Server.
What is Samba ?
• Samba is an Open Source Suite, that
provides seamless file and print
services to SMB/CIFS clients.
• Samba is freely available.

• With Samba, you can share a Linux
file system with Windows 95, 98, 2000
and NT and vice versa.
• Samba allows Windows clients to
access resources on Linux computers.
• You can also share printers connected to
either Linux or a system with Windows
95, 98, 2000 or NT.
• Samba enables a Linux or Unix server to
function as a file server for client PCs
running Windows software.
What is SMB?
• SMB stands for – Server Message
Block.
• It is a protocol by which a lot of PCrelated machines share files and
printers and other information such
as lists of available files and printers.
• Operating systems that support this
natively include Windows
NT, OS/2, and Linux.
SMB Components
• smbd daemon: This provides the file and
print services to SMB clients such as
Windows NT or other Linux or Unix clients.
• smb.conf: This is the configuration file for
smbd.
• nmbd daemon: This daemon provides
NetBIOS name serving and browsing
support.

• smbpasswd: This allows the user to change
the password used for their SMB sessions.
• smbclient: This is an smb client program
that implement a simple FTP-like client on
a Linux or Unix box.
• smbmount: This mounting program
enables mounting of server directories on a
Linux or Unix box.
• smbstatus: This programs lists the current
Samba connections.
• SWAT: Swat allows a Samba administrator
to configure the smb.conf file via a Web
browser.
What is CIFS?
• CIFS – Common Internet File System is a
protocol that is basically an updated SMB.
Samba configuration
• Samba configuration file located
at /etc/samba/smb.conf.
• In this file main section is Global where you
can define all parameters.
• Example:
[global]
workgroup = debian
NetBIOS name = debianserver
server string = %h server (Samba %v)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
Samba Service Profile
• Packages: samba, sambacommon, samba-client
• Daemons: smbd, nmbd (NetBIOS
name server)
• Config file : /etc/samba/smb.conf
• Port: 137 (nmbd), 138(smbd)
How to configure Samba?
• First we check there is samba server package is
installed or not. We find package samba* not
installed.
We install samba* package.
rpm -ivh along with package name installs the package.
Then we open the samba server configuration
file. Command: # vim /etc/samba/smb.conf.
In the last page of configuration file, we
make some changes here.
Then we create a valid user who has been shared
the directories.
Restart the services
Now we try to connect the user. Command: #
smbclient//<IP Adress>/<directory name> -U
<username>
The user gets logged in by giving
password for authentication
ls command is used to list the files
shared.
The screen viewing the listed files.
mget command copy the file from shared
directory to our machine.
testparm command is used to show the
shared directory of the samba server.

Hitting enter will show the detailed
shared directory.
Presentation on samba server
Presentation on samba server

More Related Content

What's hot

Remote access service
Remote access serviceRemote access service
Remote access service
Apoorw Pandey
 
Chapter07 Advanced File System Management
Chapter07      Advanced  File  System  ManagementChapter07      Advanced  File  System  Management
Chapter07 Advanced File System Management
Raja Waseem Akhtar
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEM
Roshan Kumar
 

What's hot (20)

Linux file system
Linux file systemLinux file system
Linux file system
 
Linux
Linux Linux
Linux
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Samba power point presentation
Samba power point presentationSamba power point presentation
Samba power point presentation
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
Remote access service
Remote access serviceRemote access service
Remote access service
 
File System Hierarchy
File System HierarchyFile System Hierarchy
File System Hierarchy
 
Networking in linux
Networking in linuxNetworking in linux
Networking in linux
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
 
Linux seminar
Linux seminarLinux seminar
Linux seminar
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
 
Chapter07 Advanced File System Management
Chapter07      Advanced  File  System  ManagementChapter07      Advanced  File  System  Management
Chapter07 Advanced File System Management
 
Systems Administration
Systems AdministrationSystems Administration
Systems Administration
 
NETWORK FILE SYSTEM
NETWORK FILE SYSTEMNETWORK FILE SYSTEM
NETWORK FILE SYSTEM
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Linux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating SystemLinux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating System
 
Linux security
Linux securityLinux security
Linux security
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Course 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and PermissionsCourse 102: Lecture 14: Users and Permissions
Course 102: Lecture 14: Users and Permissions
 

Viewers also liked

Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)
Raghu nath
 

Viewers also liked (20)

Samba
SambaSamba
Samba
 
Introduction to samba
Introduction to samba Introduction to samba
Introduction to samba
 
Presentation on samba server & apache server
Presentation on samba server & apache serverPresentation on samba server & apache server
Presentation on samba server & apache server
 
Samba
SambaSamba
Samba
 
Samba
SambaSamba
Samba
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
 
Rhel4
Rhel4Rhel4
Rhel4
 
Linux network file system (nfs)
Linux   network file system (nfs)Linux   network file system (nfs)
Linux network file system (nfs)
 
Nfs
NfsNfs
Nfs
 
Telnet & SSH Configuration
Telnet & SSH ConfigurationTelnet & SSH Configuration
Telnet & SSH Configuration
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
illumos day 2014 SMB2
illumos day 2014 SMB2illumos day 2014 SMB2
illumos day 2014 SMB2
 
Linux02 install SSh
Linux02 install SShLinux02 install SSh
Linux02 install SSh
 
Squid Proxy Server
Squid Proxy ServerSquid Proxy Server
Squid Proxy Server
 
Samba
SambaSamba
Samba
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Squid
SquidSquid
Squid
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
Using samba
Using sambaUsing samba
Using samba
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 

Similar to Presentation on samba server

Samba Optimization and Speed Tuning f...
Samba Optimization and Speed Tuning f...Samba Optimization and Speed Tuning f...
Samba Optimization and Speed Tuning f...
wensheng wei
 
A comprehensive guide that explains the core functioning of Linux, covering t...
A comprehensive guide that explains the core functioning of Linux, covering t...A comprehensive guide that explains the core functioning of Linux, covering t...
A comprehensive guide that explains the core functioning of Linux, covering t...
domaron20
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lamp
Nadhi ya
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
2tharan21
 

Similar to Presentation on samba server (20)

Samba server linux (SMB) BY ROHIT MALAV
Samba server linux (SMB) BY ROHIT MALAVSamba server linux (SMB) BY ROHIT MALAV
Samba server linux (SMB) BY ROHIT MALAV
 
samba server setup Pts ppt (rohit malav)
samba server setup Pts ppt (rohit malav)samba server setup Pts ppt (rohit malav)
samba server setup Pts ppt (rohit malav)
 
Samba server in sna
Samba server in snaSamba server in sna
Samba server in sna
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
linux
linuxlinux
linux
 
Meeting 9 samba
Meeting 9   sambaMeeting 9   samba
Meeting 9 samba
 
Linux Based Network Proposal
Linux Based Network ProposalLinux Based Network Proposal
Linux Based Network Proposal
 
Samba
SambaSamba
Samba
 
RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)RHCE (RED HAT CERTIFIED ENGINEERING)
RHCE (RED HAT CERTIFIED ENGINEERING)
 
Samba tutorial
Samba tutorialSamba tutorial
Samba tutorial
 
Samba Optimization and Speed Tuning f...
Samba Optimization and Speed Tuning f...Samba Optimization and Speed Tuning f...
Samba Optimization and Speed Tuning f...
 
A comprehensive guide that explains the core functioning of Linux, covering t...
A comprehensive guide that explains the core functioning of Linux, covering t...A comprehensive guide that explains the core functioning of Linux, covering t...
A comprehensive guide that explains the core functioning of Linux, covering t...
 
Ubuntu For Intranet Services
Ubuntu For Intranet ServicesUbuntu For Intranet Services
Ubuntu For Intranet Services
 
Presentation1
Presentation1Presentation1
Presentation1
 
Nadhiya lamp
Nadhiya lampNadhiya lamp
Nadhiya lamp
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
 
Lamp ppt
Lamp pptLamp ppt
Lamp ppt
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Linux
LinuxLinux
Linux
 
Topic #3 of outline Server Environment.pptx
Topic #3 of outline Server Environment.pptxTopic #3 of outline Server Environment.pptx
Topic #3 of outline Server Environment.pptx
 

Recently uploaded

Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
YibeltalNibretu
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 

Recently uploaded (20)

Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDF
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

Presentation on samba server

  • 1. SAMBA SERVER IN LINUX Submitted by: Veeral Bhateja +91-8741810758
  • 2. What is Linux? • Linux is, in simplest terms, an operating system. It is the software on a computer that enables applications and the computer operator to access the devices on the computer to perform desired functions. • Linux is an operating system, a large piece of software that manages a computer. It is similar to Microsoft Windows, but it is entirely free. The accurate name is GNU/Linux but "Linux" is used more often.
  • 3. • In Linux there are many hundreds of free, high quality applications you can find, install and uninstall neatly and easily. • Using the open source code of the Linux kernel, people have been developing operating systems based on the Linux kernel. • Linux has provided us some of the best servers to share every possible transactions. One of them is Linux Samba Server.
  • 4. What is Samba ? • Samba is an Open Source Suite, that provides seamless file and print services to SMB/CIFS clients. • Samba is freely available. • With Samba, you can share a Linux file system with Windows 95, 98, 2000 and NT and vice versa. • Samba allows Windows clients to access resources on Linux computers.
  • 5. • You can also share printers connected to either Linux or a system with Windows 95, 98, 2000 or NT. • Samba enables a Linux or Unix server to function as a file server for client PCs running Windows software.
  • 6. What is SMB? • SMB stands for – Server Message Block. • It is a protocol by which a lot of PCrelated machines share files and printers and other information such as lists of available files and printers. • Operating systems that support this natively include Windows NT, OS/2, and Linux.
  • 7. SMB Components • smbd daemon: This provides the file and print services to SMB clients such as Windows NT or other Linux or Unix clients. • smb.conf: This is the configuration file for smbd. • nmbd daemon: This daemon provides NetBIOS name serving and browsing support. • smbpasswd: This allows the user to change the password used for their SMB sessions.
  • 8. • smbclient: This is an smb client program that implement a simple FTP-like client on a Linux or Unix box. • smbmount: This mounting program enables mounting of server directories on a Linux or Unix box. • smbstatus: This programs lists the current Samba connections. • SWAT: Swat allows a Samba administrator to configure the smb.conf file via a Web browser.
  • 9. What is CIFS? • CIFS – Common Internet File System is a protocol that is basically an updated SMB.
  • 10. Samba configuration • Samba configuration file located at /etc/samba/smb.conf. • In this file main section is Global where you can define all parameters. • Example: [global] workgroup = debian NetBIOS name = debianserver server string = %h server (Samba %v) log file = /var/log/samba/log.%m max log size = 1000 syslog = 0
  • 11. Samba Service Profile • Packages: samba, sambacommon, samba-client • Daemons: smbd, nmbd (NetBIOS name server) • Config file : /etc/samba/smb.conf • Port: 137 (nmbd), 138(smbd)
  • 12. How to configure Samba? • First we check there is samba server package is installed or not. We find package samba* not installed.
  • 13. We install samba* package. rpm -ivh along with package name installs the package.
  • 14. Then we open the samba server configuration file. Command: # vim /etc/samba/smb.conf.
  • 15. In the last page of configuration file, we make some changes here.
  • 16. Then we create a valid user who has been shared the directories.
  • 18. Now we try to connect the user. Command: # smbclient//<IP Adress>/<directory name> -U <username>
  • 19. The user gets logged in by giving password for authentication
  • 20. ls command is used to list the files shared.
  • 21. The screen viewing the listed files. mget command copy the file from shared directory to our machine.
  • 22. testparm command is used to show the shared directory of the samba server. Hitting enter will show the detailed shared directory.