Implementing Samba

How to integrate your Unix/Linux systems with your Microsoft network using Samba

• 2 days • £1540/$1960 • world-wide

You will learn:

  • Install and build Samba
  • Configure Samba on Linux
  • Create and manage shares.
  • Create and manage Samba printer services
  • Understand the Samba security and authentication options
  • Implement Domain security
  • Manage users and groups
  • Understand how to create, update and synchronise user and machine passwords
  • Implement WINS
  • Use advanced Samba techniques


Course Benefits

Microsoft networking (also known as SMB /CIFS) is widely used in corporate networks for sharing files, printers and for the authentication of users. Often it is desirable to use Linux or Unix servers in a Microsoft environment. Samba makes this possible.

Whilst setting up a network using Windows can seem deceptively easy, in actual fact SMB/CIFS networking is very complex. NT Domains and Active Directory add to the complexity. Understanding these protocols and systems is essential when seeking to use them effectively and particularly when you wish to mix Microsoft networking across multiple operating systems.

This course explains in detail the principles of networking using CIFS/SMB. It also shows in detail how you can use Samba to implement Microsoft networking on Linux and Unix.


Who should attend?

This course is ideal for network administrators who are responsible for integrating Microsoft networking with Unix and Linux platforms.

A good knowledge of general networking concepts and TCP/IP in particular, is required.


Course Contents

Background to Samba

  • Windows Networking
  • NetBIOS
  • Server Message Block (SMB)
  • NetBIOS Names and UNCs
  • NetBIOS and the Transport Layer
  • NetBIOS over TCP/IP (NBT

Introduction to Samba

  • What is Samba?
  • File sharing and printer services
  • WINS server
  • Authentication models
  • Integration with Unix and Linux
  • Active directory and Samba

Installing Samba

  • Obtaining Samba
  • Building and Compiling Samba
  • Installing Samba
  • Testing the installation

Configuring Samba

  • The Samba daemons
  • Starting restarting & stopping
  • The smbcontrol command
  • The Samba net command
  • The Samba configuration file
  • Basic shares in smb.conf
  • The security parameter
  • Samba smb.conf variables
  • Viewing Samba's Status
  • Debugging Samba
  • Configuring Samba with SWAT
  • Installing SWAT

Configuring Samba Clients

  • Basic principles
  • Configuring TCP/IP
  • Advanced TCP/IP
  • Computer Name
  • Workgroup or Domain

File Sharing and Samba

  • Uses for file shares
  • Basic shares in smb.conf
  • Using shares
  • The [homes] share
  • Windows and Unix files
  • File filename options
  • Unix and Windows links
  • Locking and locking options
  • File attributes
  • Basic Unix file permissions
  • Controlling user access
  • Windows ACLs and POSIX ACLs
  • Virtual servers

Name Services & Browsing

  • NetBIOS Name Resolution
  • The hosts and lmhosts Files
  • Broadcasts
  • The Windows Internet Name Service (WINS)
  • Mode types
  • Raw CIFS/SMB over TCP/IP Name Resolution
  • The Domain Name System
  • DNS and Active Directory
  • Browsing
  • Master Browsers
  • Domain Master Browsers

Samba Printer Service

  • Samba Print Services
  • Unix Printing
  • The Samba [printers] Share
  • Printer Drivers
  • The PRINT$ Share

Samba Security Models

  • SMB/CIFS security
  • Users and Passwords
  • Encrypted passwords
  • Samba user security
  • The smbpasswd backend
  • Samba domain security
  • Samba ads security
  • Samba server security
  • Samba as an NT PDC
  • Mapping SIDs to UIDs
  • The tdbsam backend
  • LDAP and identity management
  • The ldapsam backend
  • The nisplus and mysql backends
  • Samba backup domain controllers
  • NSS and PAM
  • Winbind and IDMAP mappings
  • Kerberos
  • Samba and Active Directory

Appendix Network Recap

  • What is a protocol?
  • History of Networking Standards
  • OSI Networking Layers
  • TCP/IP Stack
  • Network Stacks and Layers


Samba Practical Work

Delegates will each have a Linux server running Samba. Windows servers will be available within the classroom.

Hands-On includes:

  • Installing and building Samba
  • Configuring Samba shares
  • Configuring a Samba Print server
  • Manage browsing in Samba
  • Create and manage an NT Domain using Samba
  • Set-up a Samba WINS server
  • Configuring Winbind


The Lecturers

All our trainers are practising network consultants with extensive experience with Samba networking on UNIX & Linux in large commercial environments. They are ideally suited to bring you the highest quality of training.



Our courses are available world-wide in our virtual classrooms accompanied by virtual labs. We also deliver on-site training and public training at venues around the world.

Please contact us if you are looking for training in your area.


  • Aberdeen, Scotland, UK
  • Basingstoke, England, UK
  • Edinburgh, Scotland, UK
  • Glasgow, Scotland, UK
  • Inverness, Scotland, UK
  • Leeds, England, UK
  • London, England, UK
  • Manchester, England, UK
  • Sheffield, England, UK
  • Europe - various locations
  • Ljubljana, Slovenia
  • Malaysia - various locations
  • Boston, USA
  • San Francisco, USA
  • New York, USA
  • Washington DC, USA
  • USA - various locations