Presentation on samba server

5,235 views
4,827 views

Published on

I have tried my best to describe Samba Server through this PPT. I hope you guys will love this and this ppt will be helpful for you all.

Thanks,
Veeral Arora

Published in: Education
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,235
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

Presentation on samba server

  1. 1. SAMBA SERVER IN LINUX Submitted by: Veeral Bhateja +91-8741810758
  2. 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. 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. 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. 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. 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. 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. 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. 9. What is CIFS? • CIFS – Common Internet File System is a protocol that is basically an updated SMB.
  10. 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. 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. 12. How to configure Samba? • First we check there is samba server package is installed or not. We find package samba* not installed.
  13. 13. We install samba* package. rpm -ivh along with package name installs the package.
  14. 14. Then we open the samba server configuration file. Command: # vim /etc/samba/smb.conf.
  15. 15. In the last page of configuration file, we make some changes here.
  16. 16. Then we create a valid user who has been shared the directories.
  17. 17. Restart the services
  18. 18. Now we try to connect the user. Command: # smbclient//<IP Adress>/<directory name> -U <username>
  19. 19. The user gets logged in by giving password for authentication
  20. 20. ls command is used to list the files shared.
  21. 21. The screen viewing the listed files. mget command copy the file from shared directory to our machine.
  22. 22. testparm command is used to show the shared directory of the samba server. Hitting enter will show the detailed shared directory.

×