Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
2Activity

Table Of Contents

An Introduction to SMB/CIFS
Windows Networking and the Development of Samba
The Basic Protocols: NetBIOS, NetBEUI, and SMB
The Evolution of SMB Protocols
The Emergence of Samba
SMB/CIFS in Various Environments
Integration of TCP/IP and SMB/CIFS
SMB/CIFS Terminology
Clients, Servers, and Shares
Workgroups and Domains
Network Browsing
The Structure of an SMB/CIFS Network
Naming of NetBIOS Computers and Networks
A Named Hierarchy in a Flat Space
Resource Types
The Role of PDCs
The Role of NBNS Servers
NetBIOS Browsing
Samba’s Capabilities
Summary
Integrating SMB/CIFS into Linux
SMB/CIFS over TCP/IP
TCP/IP vs. NetBEUI as a Transport Protocol
Binding SMB/CIFS to TCP/IP in Windows
Linux Features Required for Samba
The Samba Daemons
Samba TNG
Resolving Filesystem Feature Conflicts
Filename Length and Case Retention
FAT-Style File Attributes
Ownership and Permission
Partitions, Mount Points, and Shares
Installing Samba
Obtaining Samba
Samba with Your Linux Distribution
Updates from Your Linux Distributor
Getting the Most Up-to-Date Samba
Installing a Binary Package
Installing an RPM
Installing a Debian Package
Installing a Tarball
Compiling the Source Code
Compiling a Source RPM
Compiling Source from a Tarball
Locating Important Files
Common Installation Directories
Configuration Files
Running Samba
Running Samba Manually
Common Distribution Startup Scripts
Keeping Your Configuration File Readable
Testing Your Configuration File
Using SWAT to Configure Samba
Initial SWAT Configuration
Limiting SWAT Access
A Tour of SWAT Options
Recommendations for Working with SWAT
Important General Configuration Options
Server Identification
Logging Options
An Overview of Security Issues
Configuring File Sharing
Configuring File Shares
A Basic File Share Example
Home Directory Shares
Browsing Options
Filename Options
File Locking
Setting Ownership and Permissions
Samba Ownership and Permission Options
Interactions with Other Services
Storing FAT-Style File Attributes
A Network Security Preview
Some Common File-Sharing Scenarios
Shared Program and File Server
User Files on a High-Security Central Server
Serving Files to Legacy DOS Systems
Sharing Files Using Multiple Protocols
Configuring Printer Sharing
Creating Print Queues
Ghostscript and PostScript Printing
Raw Queues
Fax Queues
Configuring Printer Shares
A Basic Printer-Sharing Example
Sharing All or Some Printers
Samba Options for Printer Shares
Windows Printer Driver Installation
Controlling Access to Printers
Security Options and Printer Shares
Some Common Printer-Sharing Scenarios
Sharing All Local Printers with Variations
Re-Exporting a Remote Printer
Using Samba as a PostScript Processor
Using Linux as an SMB/CIFS Client
When to Use Samba as a Client
Accessing Resources on a Windows Network
Linux as a Translator
Using Linux Programs on Windows Files
Linux as a Backup Server
Accessing Remote Computers
Transferring Files
Manipulating Remote Files
Mounting Remote Filesystems
Mounting Remote Shares
Access Quirks of a Mounted Share
GUI Browsers
Printing Files on Remote Printers
Automation
Uses for Automation
Dynamically Configuring Samba
Dynamically Configuring Windows
Performing Linux Tasks from Windows
Server-Side Automation
A Review of Variables
Using Pseudo-Printers
Using Magic Scripts
Client Network Scripts
Basic Domain Controller Configuration
Creating a Logon Script
Setting Up Roaming Profiles
Using Roaming Profiles from Windows Clients
Caveats about Logon Scripts and User Profiles
Samba as an NBNS Server
Understanding NBNS
The Function of NBNS
NBNS and DNS
Setting the Node Type
Samba NBNS Operations
Configuring Samba as an NBNS Server
Name Resolution Order
NBNS under Various OSs
Windows NT 4
Windows 2000
Configuring Domains
Understanding Domains
What Is a NetBIOS Domain?
Domains and Workgroups
Why Use a Domain?
NetBIOS Domains and Internet Domains
Electing a Local Master Browser
The Role of NBNS in Browsing
Configuring Samba for Browsing
Allowing Clients to Browse Shares
Samba as a Local or Domain Master Browser
Common Configuration Examples
Small Network, No Routing
Small Network with Isolated Samba Servers
Workgroup across Subnets
Hardware Bottlenecks
Software Bottlenecks
Working Around Bottlenecks
Linux Configuration Options
Samba Configuration Options
Linux TCP/IP Performance
Additional Linux Options
Windows Configuration Options
Windows NT TCP/IP Options
Integrating Samba into a Broader Network
Controlling Ownership, Permissions, and Filenames
Working with File Contents
Creating Workable File-Locking with NFS
Re-Exporting Shares
Printer Sharing Trade-Offs
Samba Interactions with Netatalk
Controlling Filenames, Ownership, and Permissions
Creating Workable File-Locking with Netatalk
Coping with Netatalk Resource Forks
Using a Samba Server to Serve Additional Protocols
Integration with File-Serving Protocols
Protocols That May Affect Shared Files
Additional Protocols
Multiple Dedicated Servers vs. Single-Server Networks
Samba Security Considerations
Controlling Initial Access to Samba
Binding Samba to Specific Network Interfaces
Restricting Access by Computer
Authenticating Users by Username and Password
Encrypted versus Cleartext Passwords
Default Encryption for Versions of Windows
Using Samba’s Encryption Policy
Samba’s Password Support Programs
Setting the Windows Encryption Policy
File Ownership and Permissions
Evaluating Per-Share Ownership and Permissions
Evaluating Per-User Access Controls
Integrating ACLs with Samba
Samba over SSL
Configuring SSL
Creating Certificates
Configuring Samba to Use SSL
Configuring a Client to Use SSL
Samba in the Broader Security World
Ports Used by SMB/CIFS
Non-Samba Servers
Managing Accounts
Using Linux Usernames and Groups
Matching Windows and Linux Usernames
Managing Guest Access
Creating Groups to Emulate ACLs
Managing Passwords
Passwords in Workgroups and Domains
Changing Passwords
Password Change Strategies
Backups
An Overview of Backup Options
Backup Hardware Options
Server- vs. Client-Initiated Backups
Backup Software Choices
Timing Backups
Backup Storage
Backing Up a Samba Server Locally
Preparing for Disaster: Developing a Recovery Plan
Backing Up a Samba Server Remotely
Using NFS to Back Up a Server
Performing a Client-Initiated Backup
Using Samba to Back Up Client Computers
Preparing Windows Clients
Cautions Concerning Remote Backups
Emergency Recovery Options
Troubleshooting
General-Purpose Troubleshooting
Testing Basic Networking
Checking Log Files
Using Samba Utilities
Problems with Domain Controllers
Conflicts with Windows Computers
Rejected Passwords
Problems Locating a Samba Server
Checking SMB/CIFS Binding to TCP/IP
Browsing Problems
Name Resolution Problems
Problems Accessing Samba Shares
Initial Troubleshooting Measures
Host-by-Host Security Features
User-Based Security Features
Problems Accessing Files
Checking Permissions
File-Hiding Options
Problems with Printing
General Printer Troubleshooting Advice
Vanishing Print Jobs
Garbled Output
Poor-Quality Printouts
Last-Page Difficulties
Appendices
Configuration Reference Guide
OS-Specific Issues
Samba and DOS
Obtaining Software
Configuring Software
Using Samba from DOS
Samba and Windows 3.11
Samba and OS/2
Configuring OS/2 for SMB/CIFS
Using Samba Shares from OS/2
Printer Sharing
Understanding OS/2 SMB/CIFS Peculiarities
Samba and BeOS
Installing SMB/CIFS Support in BeOS
Using a Samba Server from BeOS
Creating Compromise Configurations
The GNU GPL
Index
0 of .
Results for:
No results containing your search query
P. 1
Samba

Samba

Ratings: (0)|Views: 24 |Likes:
Published by damunani26

More info:

Published by: damunani26 on Dec 03, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/21/2012

pdf

text

original

You're Reading a Free Preview
Pages 14 to 292 are not shown in this preview.
You're Reading a Free Preview
Pages 318 to 332 are not shown in this preview.
You're Reading a Free Preview
Pages 346 to 601 are not shown in this preview.
You're Reading a Free Preview
Pages 615 to 652 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->