Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Samba - Linux - Lecture Slides, Slides of Linux skills

A lecture on linux explaining topics like Samba, Protocols, Components, Samba Suite, Testparm, Smbpasswd, Development

Typology: Slides

2013/2014

Uploaded on 01/29/2014

jamil
jamil 🇮🇳

4

(12)

141 documents

1 / 22

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Samba
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Partial preview of the text

Download Samba - Linux - Lecture Slides and more Slides Linux skills in PDF only on Docsity!

Samba

What is the Samba?

  • Samba is a suite of programs which work together to allow clients to

access to a server's filespace and printers via the SMB (Server

Message Block) and CIFS (Common Internet Filesystem) protocols.

WHY DO PEOPLE WANT TO USE SMB?

  • Many people want to integrate their Microsoft or IBM style desktop machines with their Unix or VMS (etc) servers.
  • Others want to integrate their Microsoft (etc) servers with Unix or VMS (etc) servers. This is a different problem to integrating desktop clients.
  • Others want to replace protocols like NFS, DecNet and Novell NCP, especially when used with PCs.

Samba

  • Initially written for Unix, Samba now also runs on Netware, OS/2,

VMS, StratOS and Amigas. Samba gives the capability for these

operating systems to behave much like a LAN Server, Windows NT

Server or Pathworks machine, only with added functionality and

flexibility designed to make life easier for administrators.

Samba

  • SMB has been implemented over many protocols, including XNS,

NBT, IPX, NetBEUI and TCP/IP. Samba only uses TCP/IP.

  • Many users report that compared to other SMB implementations

Samba is more stable, faster, and compatible with more clients

WHAT CAN SAMBA DO?

  • For many networks this can be simply summarised by "Samba

provides a complete replacement for Windows NT, Warp, NFS or

Netware servers."

What samba includes

  • a ftp-like SMB client so you can access PC resources (disks and

printers) from unix, Netware and other operating systems

  • a tar extension to the client for backing up PCs
  • limited command-line tool that supports some of the NT

administrative functionality, which can be used on Samba, NT

workstation and NT server.

Whats are the Components of Samba?

  • Smbd
  • smbclient
  • smbstatus
  • make_smbcodepage
    • nmbd
    • testparm
    • testprns
    • nmblookup
    • smbpasswd The Samba suite is made up of several components.

nmbd

  • nmbd is a server that understands and can reply to NetBIOS

over IP name service requests, like those produced by

SMBD/CIFS clients such as Windows 95/98, Windows NT and

LanManager clients. It also participates in the browsing

protocols which make up the Windows “Network

Neighborhood” view.

nmbd

  • nmbd can also be used as a WINS (Windows Internet Name Server) server. What this basically means is that it will act as a WINS database server, creating a database from name registration requests that it receives and replying to queries from clients for these names. In addition, nmbd can act as a WINS proxy, relaying broadcast queries from clients that do not understand how to talk the WINS protocol to a WIN server.

testparm

  • testparm is a very simple test program to check an smbd configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that smbd will successfully load the configuration file. If testparm finds an error in the smb.conf file it returns an exit code of 1 to the calling program, else it returns an exit code of 0. This allows shell scripts to test the output from testparm

testprns

  • testprns is a very simple test program to determine whether a given printer name is valid for use in a service to be provided by smbd

nmblookup

  • nmblookup is used to query NetBIOS names and map them to

IP addresses in a network using NetBIOS over TCP/IP queries.

The options allow the name queries to be directed at a

particular IP broadcast area or to a particular machine. All

queries are done over UDP

make_smbcodepage

  • make_smbcodepage compiles or de-compiles codepage files for use with the internationalization features of Samba 2. 0