CSE 265: System and Network Administration

Similar documents
Samba. Samba. Samba 2.2.x. Limitations of Samba 2.2.x 1. Interoperating with Windows. Implements Microsoft s SMB protocol

Using Samba to play nice with Windows. Bill Moran Potential Technologies

Samba on HP StorageWorks Enterprise File Services (EFS) Clustered File System Software

SAMBA SERVER (PDC) Samba is comprised of a suite of RPMs that come on the RHEL/Fedora CDs. The files are named:

Samba File Sharing 1 of 17. File Sharing. Hal Miller & Leeland Artra. Notes:

Distributed File System

# Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable its WINS Server ; wins support = no

Using Single Sign-on with Samba. Appendices. Glossary. Using Single Sign-on with Samba. SonicOS Enhanced

Linux Administrator (Advance)

Univention Corporate Server. Operation of a Samba domain based on Windows NT domain services

Setting up VNC, SAMBA and SSH on Ubuntu Linux PCs Getting More Benefit out of Your Local Area Network

Other documents in this series are available at: servernotes.wazmac.com

How to Setup Scan to SMB to a Microsoft Vista Workstation Using a bizhub C451/ C550

How To Use Directcontrol With Netapp Filers And Directcontrol Together

How To Set Up A Macintosh With A Cds And Cds On A Pc Or Macbook With A Domain Name On A Macbook (For A Pc) For A Domain Account (For An Ipad) For Free

Configure Samba with ACL and Active Directory integration Robert LeBlanc BioAg Computer Support, Brigham Young University

Linuxdays 2005, Samba Tutorial

Linux Development Environment Description Based on VirtualBox Structure

Windows Services. Support Windows and mixed-platform workgroups with high-performance, affordable network services. Features

CONFIGURING ACTIVE DIRECTORY IN LIFELINE

PRINT CONFIGURATION. 1. Printer Configuration

embeo Getting Started and Samples

Work No. 1 Samba. What is Samba?

Load Balancing and High availability using CTDB + DNS round robin

Debian and Windows Shared Printing mini HOWTO

Parallels Plesk Panel

Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation.

Using Network Attached Storage with Linux. by Andy Pepperdine

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

Chapter 9 Understanding Complex Networks

Integrating Red Hat Enterprise Linux 6 with Microsoft Active Directory Presentation

Adding Devices to the Windows Home Server Network

(june > this is version 3.025a)


How to use edgebox as a PDC and to Share Files

Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server

Interoperabilnost LINUX-Windows. It is easily possible for Linux & Windows to coexist & even work together.

Integration with Active Directory. Jeremy Allison Samba Team

Implementing a Secure Home Intranet and VPN Solution Using Linux

Macintosh Clients and Windows Print Queues

How to Backup XenServer VM with VirtualIQ

VCL Access. VCL provides access to Linux and Windows 7 Virtual Machines. Users will only see those images that they are authorized to access.

Attunity RepliWeb PAM Configuration Guide

Configure thin client settings locally

Charles Firth Managing Macs in a Windows World

TB168 (Rev4) - Networking Linux Based Controls

Using the Linux Samba Client with iseries NetServer

Centralized Mac Home Directories On Windows Servers: Using Windows To Serve The Mac

Kaspersky Endpoint Security 8 for Linux INSTALLATION GUIDE

Open Directory. Apple s standards-based directory and network authentication services architecture. Features

How To Use 1Bay 1Bay From Awn.Net On A Pc Or Mac Or Ipad (For Pc Or Ipa) With A Network Box (For Mac) With An Ipad Or Ipod (For Ipad) With The

Network Station - Thin Client Computing - Overview

Remote Desktop Administration

WHICH INTERFACE: USB OR ETHERNET?... 3 CONNECTING NAS DRIVE USING USB...

Installing QuickBooks Enterprise Solutions Database Manager On Different Linux Servers

How to Join QNAP NAS to Microsoft Active Directory (AD)

OpenVMS Update & OpenVMS Common Internet File System based on SAMBA

Kaspersky Anti-Virus 8.0 for Linux File Server Installation Guide

Installing the SSH Client v3.2.2 For Microsoft Windows

Remote Unix Lab Environment (RULE)

SMB a protocol example

Samba and Vista with IPv6

USING USER ACCESS CONTROL LISTS (ACLS) TO MANAGE FILE PERMISSIONS WITH A LENOVO NETWORK STORAGE DEVICE

Back Up Linux And Windows Systems With BackupPC

Course Description and Outline. IT Essential II: Network Operating Systems V2.0

QuickBooks Enterprise Solutions. Linux Database Server Manager Installation and Configuration Guide

Common Internet File System

OVERVIEW OF TYPICAL WINDOWS SERVER ROLES

Setting Up Scan to SMB on TaskALFA series MFP s.

Product Description. Licenses Notice. Introduction TC-200

EVault for Data Protection Manager. Course 361 Protecting Linux and UNIX with EVault

Computer Science and Engineering MacOS Cisco VPN Client Installation and Setup Guide

Allowing Linux to Authenticate to a Windows 2003 AD Domain. Prepared by. Thomas J. Munn, CISSP 11-May-06

Linux Printing Tutorial at Linux Kongress 2002 Cologne, Germany: (VI.) Connections: How CUPS talks to Print Servers, Print Clients and Printers

SWsoft, Inc. Plesk File Server. Administrator's Guide. Plesk 7.5 Reloaded

SAMBA VI: As a Domain Controller

SoftNAS Application Guide: In-Flight Encryption 12/7/2015 SOFTNAS LLC

Network User's Guide for HL-2070N

Advanced Linux System Administration Knowledge GNU/LINUX Requirements

SerNet. Samba Status Update. Linuxkongress Hamburg October 10, Volker Lendecke SerNet Samba Team. Network Service in a Service Network

Instructions for Accessing the Advanced Computing Facility Supercomputing Cluster at the University of Kansas

1. Set Daylight Savings Time Create Migrator Account Assign Migrator Account to Administrator group... 4

Active Directory integration with CloudByte ElastiStor

Storage / SAN / NAS. Jarle Bjørgeengen University of Oslo / USIT. October 18, 2011

Lecture No 01 Novell Products Open Enterprise Server 2 Preview By Haim Malool. Main features Preview

Instructions for Adding a MacOS 10.4.x Client to ASURITE

Remote Access: Internet Explorer

Dell PowerVault NAS Systems

Transcription:

CSE 265: System and Network Administration Making mixed environments work Sharing Resources Common authentication Network name resolution Printers Files Making Windows look like Linux and vice versa Add or configure similar interface/functionality Remote desktops Dual-booting OS Emulation/Virtualization

Mixed environments are the norm Windows + UNIX/Linux/Mac Why care about Windoze? (thanks to CJ) It s everywhere (dun dun DUN!) Chances are, more of your clients will be using it than *NIX It has brought computing to the average Joe billions of em It uses inferior multi-user technology, and we should help them where possible It s not leaving anytime soon get over it

Sharing Resources (1) Regardless of OS, clients want: Common authentication NIS, LDAP, Active Directory Network name services DNS, NetBIOS, WINS

Sharing Resources (2) Regardless of OS, clients want: Access to printers CUPS LPD SMB Novell JetDirect

Sharing Resources (3) Regardless of OS, clients want: Access to files NFS UNIX can be client or server PC client is available SMB Windows & UNIX can be client or server Novell not so popular AFS prob. upcoming lab OpenAFS.org PC client avail. UNIX can be client or server

Samba Samba can allow for peaceful coexistence between Windows & Linux/UNIX systems wrt: Provide/Assist with Windows Internet Name Service (WINS) Printer sharing Client Authentication Backup PCs (smbtar) File sharing Will do only setup of file sharing today

How does Samba do it? SMB = Server Message Block SMB is an extension added by MS to allow DOS to redirect calls to NetBIOS NetBIOS = (crude) interface between network and application CIFS = Common Internet File System Different paradigm than NFS Per-user authentication Based on protocols from SMB Now supported directly by Linux

Samba Configuration Only config file: /etc/samba/smb.conf Two daemons smbd file and print services, authentication nmbd NetBIOS name service, browsing Start with /etc/init.d/smbd start

Samba Status Samba runs as a service; usually needs little attention Can check using smbstatus brian.local.davison.net[brian]: smbstatus brian.local.davison.net[brian]: smbstatus Samba version 3.0.14a-2 Samba version 3.0.14a-2 PID Username Group Machine PID Username Group Machine ------------------------------------------------------------------- ------------------------------------------------------------------- 3038 karen karen familydell (192.168.0.111) 3038 karen karen familydell (192.168.0.111) 3038 brian brian familydell (192.168.0.111) 3038 brian brian familydell (192.168.0.111) Service pid machine Connected at Service pid machine Connected at ------------------------------------------------------- ------------------------------------------------------- IPC$ 3038 familydell Sun Mar 26 23:00:24 2006 IPC$ 3038 familydell Sun Mar 26 23:00:24 2006 backups 3038 familydell Sun Mar 26 23:01:15 2006 backups 3038 familydell Sun Mar 26 23:01:15 2006 IPC$ 3038 familydell Sun Mar 26 21:55:42 2006 IPC$ 3038 familydell Sun Mar 26 21:55:42 2006 No locked files No locked files

Samba File Sharing Process Install Samba (rpm for RHEL/CentOS) Customize /etc/samba/smb.conf Add users and set passwords (Add user using useradd) (Set regular user password using passwd) Set Samba password using smbpasswd Restart Samba /etc/init.d/smb restart

/etc/samba/smb.conf Standard, simple scheme attribute = value # or ; denotes a comment Sample Headings: [global] global settings, network IDs [homes] users' home directories [printers] printing utilities [public] open share to all

Shares and Attributes [global] workgroup = name of Windows network group netbios name = system name to appear in Windows Network Neighborhood hosts allow = list of IPs or networks (whitespacedelineated) to have access to SMB shares [homes] browseable = yes, will map directly to /home/user; much like My Documents ability on campus writable = yes (same as read only = no); by default, all shares are read-only

Common Shares and Attributes [public] path = path to RW storage space Often also set read only = no and browseable = yes Note: gives full RW access to anyone be careful [printers] printable = yes path = /var/spool/samba [music] path = path to music files public = yes, will allow access to all users write list = list of users that can write invalid users = list of users that cannot access

Accessing Samba/Win Shares From Windows Network Places Act and look like normal shares From Linux/UNIX Using a file manager (like Konqueror or Nautilus) Mount them in /etc/fstab //SMB_server/share local_mount_dir smbfs options 0 0 mount.cifs o username=name //SMB_server/share mount_dir

Making Windows look like Linux (and vice versa) Dual-booting Not always convenient Add or configure similar interface/functionality OpenOffice.org Microsoft Office file access WINE support for many Windows clients cygwin UNIX-like shell, commands, perl, gcc, etc. ssh clients access to UNIX shells multi-platform web browsers, chat and email clients

Making Windows look like Linux Remote desktops X-Windows (and vice versa) Display separate from computation Clients available for Windows, built-in to most UNIX Windows Remote Desktop VNC Clients available for Windows + UNIX Real remote desktop, even within browser (Java-based) Any platform can operate any other platform Continue working on whatever PC is nearby Services: GoToMyPC.com, LogMeIn.com

Making Windows look like Linux (and vice versa) OS Emulation, Virtualization QEmu VMware Xen VirtualBox Windows Virtual PC And more... in an upcoming lecture

Resources http://www.samba.org/ Tons of documentation, including Using Samba from O Reilly, all online http://www.realvnc.com/ Free and commercial clients and servers http://www.cygwin.com/ Shell, X-Windows, gcc and more for PC http://www.openoffice.org/ Microsoft Office compatible files http://www.winehq.org/