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.

Slides:



Advertisements
Similar presentations
Windows 2003 Server. Windows 2003 Server Contents Fitur Windows 2003 Server Installation And Configuration Windows Management Resource  User Management.
Advertisements

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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 5: Managing File Access.
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.
Chapter 13 Chapter 13: Managing Internet and Network Interoperability.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
Resource Sharing Over a Network
Linux Networking CIS Why Linux/Unix? Configurability ▫Customizable System to satisfy unique needs. Scalability ▫Able to serve an increasing number.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
NETWORK FILE SYSTEM (NFS) By Ameeta.Jakate. NFS NFS was introduced in 1985 as a means of providing transparent access to remote file systems. NFS Architecture.
NFS – Network File System WeeSan Lee
Network File System Joe Paulowskey Joe Paulowskey Susan Mulholland Joe Woulfe.
Network File System CIS 238. NFS (Network File System) The most commercially successful and widely available remote file system protocol Designed and.
Joshua Caltagirone-Holzli
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.
NFS Server Setup NFS SERVER SETUP. Network File Service NFS Server Setup Allows to share Directories between UNIX Systems Daemons: netfs, nfs, nfslock.
Linux Operations and Administration
1.  The Linux system of permissions is much more difficult than that of Windows  System administrators are given more control with the use of three.
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.
11 SHARING FILE SYSTEM RESOURCES Chapter 9. Chapter 9: SHARING FILE SYSTEM RESOURCES2 CHAPTER OVERVIEW Create and manage file system shares and work with.
Chapter 5 File and Printer Services
Samba
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
MCTS Guide to Configuring Microsoft Windows Server 2008 Active Directory Chapter 6: Windows File and Print Services.
Windows Interoperability Chris “CJ” Janneck CSE 398 – Sys Admin 4/19/2004.
1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.
1 COP 4343 Unix System Administration Unit 15: file server – ftp – nfs.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 5: Managing File Access.
Microsoft Internet Information Services 5.0 (IIS) By: Edik Magardomyan Fozi Abdurhman Bassem Albaiady Vince Serobyan.
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.
Samba Erik Turner CSIS 4490 Linux Admin & Security Dr. Hoganson.
Fall 2011 Nassau Community College ITE153 – Operating Systems Session 23 Shared Folders 1.
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.
Day 11 SAMBA NFS Logs Managing Users. SAMBA Implements the ability for a Linux machine to communicate with and act like a Windows file server. –Implements.
中華技術學院 Linux 課程 中華技術學院 Linux 課程 Chap Five : Samba 王俊城RHCE/RHCX.
Chapter 9: SHARING FILE SYSTEM RESOURCES1 CHAPTER OVERVIEW  Create and manage file system shares and work with share permissions.  Use NTFS file system.
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.
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.
Network File System Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved NFS.
Network Resources BICS 565. Device Sharing Sharing CDROM and removable media Shortcuts to folders on other machines Sharing hardware devices across the.
NFS Network File System. NFS (Network File System) Network file systems allow us to share files between users on different systems, often with different.
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.
TOPIC 7.0 LINUX SERVICES AND CONFIGURATION. ROOT USER Root user is called “super user” because it has power far beyond those of mortal user. As root,
LINUX - SAMBA
Microsoft OS Vulnerabilities April 1, 2010 MIS 4600 – MBA © Abdou Illia.
Web Technology Seminar
Guide to Operating Systems, 5th Edition
Windows interoperability with Unix/Linux
Presentation Title Your company information LPI Exam.
Network Administration Module 09
Exercise 7 Samba.
LINUX ADMINISTRATION 1
Chapter 3: Windows7 Part 4.
Dumps Questions
IIS.
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
Samba.
NFS.
CIT 470: Advanced Network and System Administration
Cooperating with Windows
Presentation transcript:

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 (Windows to Windows)  NFS (Linux to Linux)  Samba (Windows to Linux and Linux to Windows

Web Web administration is determining what files to share and how to manage content. Our Linux systems use Apache’s httpd Configuration via httpd.conf (and, optionally, other files) httpd supports only HTTP

Web (cont.) Our Windows systems use Microsoft’s IIS Configuration via MMC IIS supports several internet protocols  HTTP  FTP  SMTP  NNTP  (and others)

FTP Windows FTP runs as a sub-service to IIS Configuration via Internet Service Manager (MMC to Internet Information Services) Linux FTP runs more independently Configuration through.conf file (for example, using vsftp and vsftpd.conf) Avoid anonymous logins unless specifically needed

File systems  The primary problem is how to give a consistent view of the system across multiple hosts.  Any questions on fundamental filesystem issues? (You should be able to perform CRUD at each of these levels.)  Disks  Partitions  File systems  ACLS  File-types  Etc.

Windows File System Access  Windows network filesystem access  DFS – Combines multiple Windows shares into a single “root” for easy access  Shares – CIFS (SMB) protocol used to allow access to files on one computer from another  Enabling sharing  Creating a share  GUI – Explorer or via MMC  Command line – net share or rmtshare

Win. File System Access (cont.)  Viewing available shares  GUI – Explorer or via MMC  Command line – net share or net view  Connecting to a share  GUI - Explorer  Command line – net use

Linux File System Access  Network File System - NFS protocol used to allow file sharing  Enabling NFS  Nfsd  requires rpc.mountd, rpc.nfsd, portmap  Creating a share  /etc/exports  /etc/exports lists directories that a server exports to its clients.  Each line in the file specifies a single directory.

Linux File System Access (cont.)  The syntax of the /etc/exports file is: directory [host1]([option][,option]) [host2]([option][,option]) directory [host1]([option][,option]) directory [host3]([option][,option]) [host7]([option][,option])  The directory is the full path name of the directory  Option can designate a simple flag such as ro, rw, sync, or root_squash  The server automatically exports these when the NFS server is started  These exported directories can then be mounted by clients

Linux File System Access (cont.) /usr/games box1(ro) comp2(ro) (ro) /home box2.external.net(rw,no_root_squash) /var/tmp /usr/lib clients *.internal.net(rw)  Entry #1 - /usr/games can be mounted by the systems named box1, comp2, and sys3. (They can read data/run programs, but they can’t write in the directory)  Entry #2 - /home can be mounted by the system box1 and root access is allowed for the directory  Entry #3 - any client can mount /var/tmp (Note: no access list)  Entry #4 - specifies an access list designated by the netgroup named “clients”. Machines designated as belonging to “clients” can mount the /usr/lib directory from this server; also any host from internal.net can access with read and write permissions

Linux File System Access (cont.)  Considering the exportation of a parent directory in a tree that includes one or more child directories.  If you mount the parent directory, would you expect to see the child directories?  In some implementations, you will see the child directories, but with no data beneath them.  In others, including RH9, you will see the child directories and data  Use the hide and no_hide options if you want to set the entire sub-tree as hidden or visible

Linux File System Access (cont.)  /usr/sbin/exportfs -a  Exportfs can also be used to add/remove shares “on the fly”  Viewing available shares  Showmount –e  Diagnostics on messages set via NFS  nfsstat  Connecting to a share  Establish local mount point and mount share  mount -t nfs server:/share /mnt/mymntpoint  Use fstab  Mounts during system boot

Linux File System Access (cont.)  What about users?  Users are dealt with by assuming that UIDs and GIDs are the same on both the server and the client  Do you want root on clientbox to be root on serverbox? Do you want user1 on client box to be user1 on serverbox?  root_squash  no_root_squash  all_squash

Samba SAMBA Based on SMB (Server Message Block, also known as CIFS) Server and Client Server allows sharing of file system and/or printers with any system that supports SMB (including both Windows and Linux) Client allows for connections to any SMB server Can act as a Windows Domain Controller Supports network “browsing”

Samba Our organization uses Samba because of its ability to share files across platforms. It can provide other services as well.  5 Basic Services  file sharing (this is our primary concern)  network printing  authentication and authorization  name resolution  service announcement (i.e., Windows browsing).

Samba (cont.)  Samba includes two core services  smbd  nmbd (for NetBIOS name resolution)  smb.conf  smbstatus