1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.

Slides:



Advertisements
Similar presentations
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
Advertisements

Module 6: Configuring Windows XP Professional to Operate in a Microsoft Network.
Nassau Community College
Homework 5b: Samba. Computer Center, CS, NCTU 2 Network-based File Sharing (1)  NFS (UNIX-based) mountd is responsible for mount request nfsd and nfsiod.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Samba Integrating SMB file systems with UNIX. Samba Provides a file server compatible with Windows 9x and NT.. SMB Can function in NETBIOS name browsing.
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
Chapter 13 Chapter 13: Managing Internet and Network Interoperability.
Understanding Networks I. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Network Shares and Accounts Sharing Printers, Drives, Folders – Setup Windows 95/98 Windows NT (2000, XP) Linux – Users – Groups.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Module 6 Windows 2000 Professional 6.1 Installation 6.2 Administration/User Interface 6.3 User Accounts 6.4 Managing the File System 6.5 Services.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
File sharing. Connect the two win 7 systems with LAN card Open the network.
Click to edit Master subtitle style Chapter 17: Troubleshooting Tools Instructor:
CMSC 691X – Summer 2002 Project By Pravin D’Souza.
Installing Samba Vicki Insixiengmay Jonathan Krieger.
1 COP 4343 Unix System Administration Unit 16: file server – samba.
UNIT - III. Installing Samba Windows uses Sever Message Block(SMB) to communicate with each other using sharing services like file and printer. Samba.
© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Advanced Samba Administration Part.
Linux Operations and Administration
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Module 7: Configuring TCP/IP Addressing and Name Resolution.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Module 4: Add Client Computers and Devices to the Network.
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
VsFTP in Linux. Introduction to FTP The File Transfer Protocol (FTP) is used as one of the most common means of copying files between servers over the.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Ferry Astika Saputra Workshop Administrasi Jaringan SAMBA PROTOCOL.
SAMBA Integrating Linux and Window. What is Samba? Free suite of programs that enables flavors of UNIX to work with other operating systems such as OS/2.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
New SA Training Topic 8: File System Access  Our organization uses a variety of services for accessing files on remote systems  WWW  FTP  CIFS/SMB.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
Samba Advanced System Administration Course James Lwali University computing Centre Ltd, University of Dar es salaam,
Samba version 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.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap Five : Samba 王俊城RHCE/RHCX.
1 Electronic Messaging Module - Electronic Messaging ♦ Overview Electronic messaging helps you exchange messages with other computer users anywhere in.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
1 Linux Networking and Security Chapter 5. 2 Configuring File Sharing Services Configure an FTP server for anonymous or regular users Set up NFS file.
Kickstart Installation
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Windows-Linux Interconnection Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved Samba.
1 Network Information System (NIS). 2 Module – Network Information System (NIS) ♦ Overview This module focuses on configuring and managing Network Information.
Network Infrastructure Microsoft Windows 2003 Network Infrastructure MCSE Study Guide for Exam
1 Active Directory Administration Tasks And Tools Active Directory Administration Tasks Active Directory Administrative Tools Using Microsoft Management.
Linux Operations and Administration
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
COMP1321 Digital Infrastructure Richard Henson March 2016.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Setting up a Printer. ♦ Overview Linux servers can be used in many different roles on a LAN. File and print servers are the most common roles played by.
Samba Server Samba is used for *share a linux FS with windows-95,98 &NT. *Share printers connected to either linux or Windows systems. *Samba is based.
Unit –III CHAP-I 1 Created By Asst. Prof. Ashish Shah, J.M.Patel College of Commerce.
LINUX - SAMBA
Microsoft OS Vulnerabilities April 1, 2010 MIS 4600 – MBA © Abdou Illia.
Guide to Operating Systems, 5th Edition
Click to edit Master subtitle style
Network Administration Module 09
Exercise 7 Samba.
LINUX ADMINISTRATION 1
Workshop Administrasi Jaringan
Configuring Internet-related services
Samba.
Presentation transcript:

1 SAMBA

2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This module focuses on SAMBA which is an advanced Windows-to-UNIX interoperability package. ♦ Lessons covered in this module ► SAMBA Configuration ► SAMBA Domains ► Using SAMBA

3 SAMBA Lesson 1 - SAMBA Configuration ♦ Introduction ► The process involved in configuring SAMBA ensures interoperability with other networks. This helps in accessing Windows resources from Linux machines and vice versa. ♦ Topics covered in this lesson ► Checking and Installing SAMBA ► Packages ► Server Configuration ► Client Configuration

4 SAMBA Topic 1 – Checking and Installing SAMBA ♦ To check whether Samba is installed type the following command. rpm –qa samba* (* is used for wild character) ♦ If Samba is not installed, the prompt will return saying so. If Samba is installed, the RPM query returns the version number of Samba. ♦ Red Hat Enterprise Linux includes three Samba packages: Samba, Samba-client, and Samba-common installed during the system installation. ♦ You can obtain the latest version of Samba from its Web site: samba.org. Follow the instructions there and download the RPM file for your distribution.

5 SAMBA Topic 2 – Packages ♦ Samba consists of two key packages or programs smbd and nmbd. Their job is to implement the four basic CIFS (Common Internet File System) services, which are: File print services, Authentication and Authorization, Name resolution, Service announcement (browsing). ♦ smbd provides file and print services. It also handles "share mode" and "user mode" authentication and authorization. ♦ nmbd provides name resolution and browsing. Name resolution is of two types: broadcast and point-to-point. A machine may use either or both of these methods, depending upon its configuration.

6 SAMBA Topic 3 – Server Configuration Contd … ♦ The Samba configuration file is called smb.conf and is located in the /etc/samba directory by the installation program. ♦ samba-swat GUI interface can be used for configuring Samba. ♦ The Samba configuration file smb.conf has different sections: ► [global] for global settings ► [homes] for access to the users into their home directories ► [printers] for printer services ♦ Use the testparm tool to test Samba configurations

7 SAMBA Topic 3 – Server Configuration ♦ The easiest way to begin configuring Samba is to start with the minimal configuration. You can later add to it. So at first you can just create a workgroup, name your server, and add a simple file share. ♦ The first section of the smb.conf file, the [global] section contains settings that apply to the entire server and default settings that may apply to the other shares. The next section [homes] of the smb.conf file enables the Samba server to give users quick access to their home directories. The [printers] section sets the options for printing. ♦ After modifying and saving the /etc/samba/smb.conf file, check the syntax of the file using testparm command. Pressing Enter displays the contents of the configuration file, the smb.conf. The command to start Samba is: service smb start

8 SAMBA Topic 4 – Client Configuration ♦ Create a user and test it as follows: ► For Windows machine or a Linux machine using smbmount //server’s ipaddress/sharedname /mnt/samba ♦ This utility creates only the users' accounts and not their passwords. You need to create passwords for your users by using the smbpasswd command. ♦ On a windows machine go to network places click on view workgroup computers, then click on Microsoft Windows Network. Then you will see the samba server location as shown in the picture.

9 SAMBA Lesson 2 – SAMBA Domains ♦ Introduction When machines in Windows domain and Linux domain interoperate using SAMBA they are in the SAMBA domain with SAMBA as a domain controller. SAMBA has many utilities useful for this purpose. ♦ Topics covered in this lesson ► Utilities ► Domains and Support ► SAMBA as Domain Controller

10 SAMBA Topic 1 - Utilities ♦ smbclient is a simple SMB client, with an interface like that of the FTP utility. It can be used from a Unix system to connect to a remote SMB share, transfer files, and send files to remote print shares. ♦ nmblookup is a NetBIOS name service client. It can be used to find NetBIOS names on a network, lookup their IP addresses, and query a remote machine for the list of names it ownes. ♦ swat is the Samba Web Administration Tool. It allows you to configure Samba remotely, using a web browser. For this you require samba-swat package.

11 SAMBA Topic 2 – Domains and Support ♦ Adding users to a Samba domain has three steps as follows: ► Add a Linux user on the Samba server ► Create a Samba smbpasswd that maps to the new Linux user ♦ Map a Windows drive to the user's Linux home directory ♦ Samba supports domain groups to allow group members to have Administrator rights on each machine in the domain. They can add software and configure network settings. ♦ Removing users from SAMBA domain as this following steps: ► Delete the user using the smbpasswd with the -x switch ► Delete corresponding the Linux User by normal deletion process

12 SAMBA Topic 3 - SAMBA as Domain Controller ♦ A domain controller configuration can be achieved with a simple configuration using the new tdbsam password backend. Its performance will fall as the size and complexity of the domain increases. The use of tdbsam is limited to sites that do not need more than a Primary Domain Controller. ♦ A better option uses Microsoft Active Directory or an LDAP-based backend. Samba-3 provides for both options as a domain member server. As a PDC, Samba-3 is not able to provide an exact alternative to Active Directory. Samba-3 can provide a scalable LDAP-based PDC/BDC solution.

13 SAMBA Lesson 3 - Using SAMBA ♦ Introduction Using SAMBA in an effective way is essential to communicate across networks. It can be used to join Windows workgroups and Domains with different versions of Windows machines. It can be used to access Windows shares from Linux machines. ♦ Topics covered in this lesson ► Joining a Windows Work Group/Domain. ► Accessing Windows Shares ► Performance Tuning

14 SAMBA Topic 1 - Joining a Windows Work Group/Domain ♦ There are many types of Windows programs installed and each has its own procedure for joining a domain. ♦ Windows 95/98/ME and Windows XP Home- These machines do not implement full domain membership and so do not require machine trust accounts. ♦ Windows NT- Create a manual Samba machine trust account. ♦ Windows 200x and Windows XP Professional- For these machines, create a dynamic Samba machine trust account

15 SAMBA Topic 2 - Accessing Windows Shares ♦ On the Windows machine double-click the ‘My Network Places’ from the desktop. ♦ In the Network Places window, you should see a listing for your Red Hat machine. ♦ Double-click your machine icon, and you will see the shares you made available. ♦ When you double-click the directory share from your Linux machine, you are prompted for a username and password to enter the directories. ♦ Enter them and now you can share files between your Linux and Windows computers.

16 SAMBA Topic 3 - Performance Tuning ♦ There are three options in smb.conf file to improve server performance: ► Auto disconnect- To disconnect after some idle time, set this global option in the smb.conf file. deadtime - 60 ► Limit connections- Add the following to a share smb.conf file to limit the maximum number of connections, for example, to 20: max connections - 20 ► socket options- This enables the server to be tuned for better performance. TCP-NODELAY is a default value; the BuF values set send and receive buffers. socket options - TCP-RODELAY 50-RCVBUF= _SMD- BUP- 8192

17 SAMBA Lab Exercises ♦ Configuring a working SAMBA server accessible to several users with smbclient.

18 SAMBA Conclusion ♦ Summary ► Samba packages are: Samba, Samba-client, and Samba-common. The two key programs smbd and nmbd implement the four basic CIFS services. ► A domain controller configuration can be achieved with a simple configuration using the new tdbsam password backend. ► There are many types of Windows programs installed and each has its own procedure for joining a Samba domain. ► Options to improve server performance: auto disconnect, limit connections and socket options. ♦ Question and Answer Session