LINUX ADMINISTRATION 1 www.educlash.com.

Slides:



Advertisements
Similar presentations
UNIVERSITY OF EDUCATION BY H.M.ISHTIAQ RAFIQUE. Domain Name Structure.
Advertisements

1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
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.
Hussain Ali Department of Computer Engineering KFUPM, Dhahran, Saudi Arabia Microsoft Networking.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Implementing RADIUS AAA Phil & Rick. Content Terms and Concepts Access Control What is AAA? Benefits of AAA What is RADIUS? Microsoft IAS Overview Installation.
FINAL PROJECT SAMBA Server
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.
VPN Plus Samba Making My Home Computing Environment Identical to My Work Computing Environment.
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Samba Objectives Contents Practical Summary
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
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.
Windows Interoperability Chris “CJ” Janneck CSE 398 – Sys Admin 4/19/2004.
Chapter 14: Remote Server Administration BAI617. Chapter Topics Configure Windows Server 2008 R2 servers for remote administration Remotely connect to.
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.
Copyright 2000 eMation SECURITY - Controlling Data Access with
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.
Windows Interoperability. What can Samba do? Allow for peaceful coexistence between Windows and Linux/UNIX systems regarding: File sharing Printer sharing.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Samba Erik Turner CSIS 4490 Linux Admin & Security Dr. Hoganson.
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,
Samba Server Configuration
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap Five : Samba 王俊城RHCE/RHCX.
SAMBA Server Message Block File & Print Server. Service Profile Type: System-V managed service Packages: samba-common, samba-client Daemons: nmbd, smbd.
How to configure DNS for a Windows 2000 domain? 1.Start the Install/Remove Programs Control Panel Applet (Start - Settings - Control Panel - Add/Remove.
CIS Lesson 10 Printers. CIS Lesson 10.
Sys Admin Course NFS and SAMBA Fourie Joubert. Sys Admin Course NFS NFS is the Network File System It allows Linux systems to share a file system, or.
SAMBA Server Message Block File & Print Server. Service Profile Type: System-V managed service Packages: samba-common, samba-client Daemons: nmbd, smbd.
Samba Let’s Dance!. Computer Center, CS, NCTU 2 Network-based File Sharing (1)  NFS (UNIX-based) mountd is responsible for mount request nfsd and nfsiod.
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.
Windows-Linux Interconnection Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved Samba.
1 Terminology. 2 Requirements for Network Printing Print server Sufficient RAM to process documents Sufficient disk space on the print server.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
Web Server Administration Chapter 6 Configuring a Web Server.
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.
Using Samba Doug Maxwell November 13, 2004 – GHGLUG
Guide to Operating Systems, 5th Edition
Enumeration.
Samba.
Ftp File and Print Server
Network Administration Module 09
Exercise 7 Samba.
Workshop Administrasi Jaringan
Network Services CSCI N321 – System and Network Administration
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
IIS.
Network Services.
Configuring Internet-related services
Samba.
Samba - SMB yench.
David Boyce David Darby
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

LINUX ADMINISTRATION 1 www.educlash.com

UNIT 3 CHAPTER-1 2 www.educlash.com

CHAPTER 1 : CONNECTING TO MICROSOFT NETWORKS ฀Installing Samba ฀Configuring the Samba Server ฀Creating Samba Users ฀Starting the Samba Server ฀Connecting to a Samba Client ฀Connecting from a Windows PC to the Samba Server www.educlash.com

Quering samba installed or not Installing Samba Quering samba installed or not rpm -q samba If Samba is not installed, the command returns ―not installed If Samba is installed, the RPM query returns the version number Samba RPM file, install it as follows rpm -i samba(name of file) www.educlash.com

www.educlash.com Configuring the Samba Server [global] [homes] Samba includes a utility called SWAT, the Samba Web Administration Tool. The main Samba configuration file is /etc/smb.conf  [global] workgroup = ONE netbios name = TERRY server string = Samba Server security = SHARE log file = /var/log/samba/log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No wins support = Yes  hosts allow = 192.168.1. hosts deny = all [homes] comment = Home Directories read only = No [printers] comment = All Printers path = /var/spool/samba guest ok = Yes print ok = Yes browseable = Yes 5 www.educlash.com

[global] option = value workgroup = ONE netbios name = TERRY The first section of the smb.conf file is the [global] section. option = value complete listing of options refer to the smb.conf man page. workgroup = ONE is the name of the workgroup shown in the identification tab of the network properties box on the Windows computer. netbios name = TERRY is the name by which the Samba server is known to the Windows computer. server string = Samba Server is the name of the Samba server. security = SHARE is the level of security applied to server Using share makes it easier to create anonymous shares that do not require authentication 6 www.educlash.com

log file = /var/log/samba/log is the location of the log file. max log size = 50 is the maximum size in kilobytes that the file can grow to. socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 enables the server to be tuned for better performance. TCP_NODELAY is a default value, the BUF values set send and receive buffers. dns proxy = No indicates that the netbios name will not be treated like a DNS name and there is no DNS lookup. wins support = Yes is used to tell the Samba server to act as a WINS server.  hosts allow = 192.168.1.  means that requests from this network will be accepted. www.educlash.com

hosts deny = all means that all hosts‘ requests will be denied. www.educlash.com

comment = Home Directories read only = No [homes] The next section of the smb.conf file, [homes], is used to enable the server to give users quick access to their home directories. comment = Home Directories is a comment line read only = No specifies that users can write to their directories. www.educlash.com

This section sets the options for printing. path = /var/spool/samba [printers] This section sets the options for printing. path = /var/spool/samba is the location of the printer spool directory. guest ok = Yes enables guest access to the printer. print ok = Yes enables clients to send print jobs to the specified directory.This option must be set or printing does not work. browseable = Yes means that the printer appears in the browse list. www.educlash.com

USING SYSTEM-CONFIG-SAMBA UTILITY

USING SWAT Before you can use SWAT, you need to change two files to enable it. 1.The first file is /etc/services. Swat 901/tcp 2. Next you need to add a line to /etc/inetd.conf. The inetd daemon runs at system startup and listens for connections at specific ports. Swat stream tcp nowait.400 root /usr/sbin/swat swat www.educlash.com

START THE SWAT 1.need to restart the inetd daemon so it reads the changes you made to inetd.conf. killall -HUP inetd 2.open web browser and in the location box, enter the address for localhost and the port number for SWAT as. http://localhost:901 3.After starting Samba you can run smbclient on your localhost to get some configuration information smbclient -L localhost www.educlash.com

Retype new SMB password:******** ADDING USERS TO SAMBA At this point you should be able to see the samba server from any windows system in the same workgroup but you won't be able to access the share; not until you add the user(s). Samba authenticates its users through its local database. Once you have saved the changes to smb.conf , you need to add the users. Add your existing users to samba or create new users and then add them to samba. [root@server2 root]# smbpasswd –a educlash New SMB password: ******** Retype new SMB password:******** 14 Samba passwords are stored in /etc/samba/smbpasswd www.educlash.com

STARTING THE SAMBA SERVER Start /etc/init.d/samba start Stop /etc/init.d/samba stop Restart /etc/init.d/samba restart 15 www.educlash.com

CONNECTING TO A SAMBA CLIENT smbclient Using smbclient is very similar to using a command- line FTP client. Here are a few useful commands: smbclient -L //hostname hostname is the NetBIOS name of the machine you wish to connect to After being prompted for a password (enter no password for anonymous login) this command will give you a list of available shares on the machine, plus some other information. To connect to a share, you must specify the share name, in the format //hostname/sharename smbclient //educlash.com/educlash After entering siddhu's password, you are given an smb: \> prompt where you may enter commands much like an FTP client 16 www.educlash.com

CONNECTING FROM A WINDOWS PC TO THE SAMBA SERVER  \\192.168.1.3\educlash TYPE IT IN RUN www.educlash.com

TESTING THE SAMBA SERVER use the smbclient utility to access the directories on the Windows computer as follows: Smbclient //systemname/directory name www.educlash.com

WHY USE SAMBA INSTEAD OF NFS? NFS is not used to share Windows files. samba is the Windows native protocol for sharing files and printers Samba sharing operate with a minimum of difficulty www.educlash.com

THANK YOU 20 www.educlash.com