David Boyce David Darby

Slides:



Advertisements
Similar presentations
Chapter 20 Oracle Secure Backup.
Advertisements

1 SMB and NFS Protocol Architecture and Administration SMB and NFS Protocol Architecture and Administration Rob Bradbury, Sales Engineer September 26,
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.
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.
Information Networking Security and Assurance Lab National Chung Cheng University 1 A Real World Attack: wu-ftp.
Network Shares and Accounts Sharing Printers, Drives, Folders – Setup Windows 95/98 Windows NT (2000, XP) Linux – Users – Groups.
FINAL PROJECT SAMBA Server
© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Advanced Samba Administration Part.
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.
VPN Plus Samba Making My Home Computing Environment Identical to My Work Computing Environment.
Samba Objectives Contents Practical Summary
Samba
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.
Chapter 4 Windows NT/2000 Overview. NT Concepts  Domains –A group of one or more NT machines that share an authentication database (SAM) –Single sign-on.
Windows Interoperability Chris “CJ” Janneck CSE 398 – Sys Admin 4/19/2004.
1 Chapter Linux/Windows Internetworking. 2 Chapter Objectives Samba Practical Customization of Samba on a Linux Server Setting Up SWAT to Remotely Configure.
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
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.
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.
Network Services CSCI N321 – System and Network Administration Copyright © 2000, 2007 by Scott Orr and the Trustees of Indiana University.
Windows Interoperability. What can Samba do? Allow for peaceful coexistence between Windows and Linux/UNIX systems regarding: File sharing Printer sharing.
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
Samba Erik Turner CSIS 4490 Linux Admin & Security Dr. Hoganson.
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.
DIT314 ~ Client Operating System & Administration CHAPTER 5 MANAGING USER ACCOUNTS AND GROUPS Prepared By : Suraya Alias.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
Samba Server Configuration
SAMBA Server Message Block File & Print Server. Service Profile Type: System-V managed service Packages: samba-common, samba-client Daemons: nmbd, smbd.
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.
Cosc 4750 Configuring httpd, Mysql, And Samba. defaults By default httpd demean will startup and work User directories are turned off Default directory.
XTOS AppsTraining Environment B. Cotter. Web Pages San Jose Technical Web Page – Sapphire Notebook –
Module 14: Securing Windows Server Overview Introduction to Securing Servers Implementing Core Server Security Hardening Servers Microsoft Baseline.
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.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
SAMBA (ORIGINAL SLIDES BY DR. JAMES WALDEN, NKU) CT320: Advanced Network and System Administration Slide #1 CT320 : Advanced Network and System Administration.
Samba
1 E-Site - FTP Services Setup / install guide. 2 About FTP services can run on any desired port(s) Runs as a windows service Works for all sites installed.
u Babel Com Australia FDS + Samba ● What is LDAP? ● Fedora Directory Server ● Samba ● LDAP Tools.
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.
Linux Systems Administration
Using Samba Doug Maxwell November 13, 2004 – GHGLUG
Guide to Operating Systems, 5th Edition
Introduction to Operating Systems
Samba.
File System Implementation
Network Administration Module 09
Exercise 7 Samba.
LINUX ADMINISTRATION 1
Workshop Administrasi Jaringan
Chapter 6 Introduction to Network Operating Systems
Network Services CSCI N321 – System and Network Administration
DHCP, DNS, Client Connection, Assignment 1 1.3
Network Services.
Samba.
Samba - SMB yench.
Cooperating with Windows
IS 4506 Configuring the FTP Service
Presentation transcript:

David Boyce David Darby Boston Metro ClearCase Users Group March 27, 2001 ClearCase UNIX/NT Interoperability Using Samba David Boyce David Darby

SMB What does SMB stand for? What does NFS stand for? Server Message Block Used to be called Lanman Many old protocols for WfWg/win95/98/NT Also used for print sharing What does NFS stand for? Network File System February 19 BMCCUG

NFS vs. SMB Per-client setup unnecessary Microsoft’s SMB bias SMB not better per se Beneficial side effects February 19 BMCCUG

Other SMB Solutions Total Access Server Sun’s PC-Netlink / EAS Network Appliance Auspex Dave (Mac) EMC February 19 BMCCUG

Our Experiences Fidelity – DiskAccess, Samba 2.0.3 – 2.0.7 Progress – Samba 2.0.7, NetApp Home Lab - Samba 2.2 PDC No discussion of printing February 19 BMCCUG

Samba Intro Read Rational’s TAS documentation Version History and Capabilities < 2.00 (1.9.18 - Stable 1.X version) 2.0.3 (works) 2.0.4 (requires bugfix) 2.0.5 (nktnw) 2.0.7 Works with ClearCase 4.1 2.2 Alpha still smbd & nmbd daemons Oplocks always bad for interop PDC Support Build issues for multiple servers February 19 BMCCUG

Samba Risks Unsupported today – supported soon? What’s the worst-case scenario? Occasional file corruptions. Can co-exist with NFS. February 19 BMCCUG

Downloading & Building Samba Official Samba Site: http://www.samba.org Current released version (samba-latest.tar.gz) http://us1.samba.org/samba/ftp/samba-latest.tar.gz Use Standard GNU Compiler http://www.sunfreeware.com Build (./configure –prefix=/opt/samba) Don’t build in /tmp (checks file locking) February 19 BMCCUG

Samba Config Files /opt/samba/lib/smb.conf smbpassword map Global and per-share configuration Most keywords work in both places Use the testparm command White space is ignored on left of = smbpassword map domain group map username map February 19 BMCCUG

Sample smb.conf (global) # Global parameters server string = Samba ClearCase VOB Server workgroup = <MY_DOMAIN> security = DOMAIN encrypt passwords = Yes password server = <PDC> <BDC1> <BDC2> client code page = 437 max open files = 1014 max log size = 2000 wins server = 155.1.58.55 allow hosts = 172.26.0.0/255.255.0.0 guest account = pcguest dont descend = /view hosts deny = <troublesome machine> February 19 BMCCUG

Sample smb.conf (per share) # Per Share parameters [vbstore] comment = ClearCase VOB Storage path = /data/ccase/vbstore admin users = vobadm clearcase_albd read list = @ccusers write list = @ccusers read only = No [vwstore] comment = ClearCase View Storage path = /data/ccase/vwstore/NT February 19 BMCCUG

PDC Group File Changes -------[changed 1]---------------|-------------[changed to 1]------------ root::0:root | root::0:root,vobadm,dsb -|- -------[changed 5]---------------|-------------[changed to 5]------------ adm::4:root,adm,daemon | adm::4:root,adm,daemon,vobadm,dsb -------[changed 13]--------------|-----------[changed to 13-15]---------- -| ccusers::29000:vobadm,dsb,tom,sally | clearcase::30001:clearcase_albd |- February 19 BMCCUG

User Map !vobadm=clearcase_albd February 19 BMCCUG

Group Map root=Administrators "Domain Admins”="Domain Admins” staff=“Domain Users” February 19 BMCCUG

System Configuration #1 /etc/services # Samba Stuff swat 901/tcp # Samba Windowed Admin Tool /etc/inetd.conf swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat February 19 BMCCUG

System Configuration #2 /etc/rc2.d/S78samba #! /sbin/sh # Startup script for Solaris 7+/Samba 2+ # David Boyce 8/9/99 case "$1" in start) /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D ;; stop) /usr/bin/pkill '[sn]mbd' ;; restart|reset) /usr/bin/pkill '[sn]mbd' /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D /usr/bin/pgrep -l '[sn]mbd' ;; *) echo "Usage: $0 { start | stop | restart }" ; exit 1 ;; esac February 19 BMCCUG

Samba Web Administration Tool http://hostname:901 Best interface to documentation. Best interface to current activity. February 19 BMCCUG

Clearcase Interoperability Use shares liberally Network Perl Triggers View Profiles (requires a subdir) Config Specs Install areas Vob storage areas February 19 BMCCUG

Extra Benefits Homes share (H:\) comment = Home directory read only = No browseable = No Client side - smbsh, smbclient, smbtar Registry changes - rpcclient Good way to practice for TAS February 19 BMCCUG

Resources http://www.samba.org Many mailing lists there News: comp.protocols.smb http://groups.google.com/ http://www.ping.be/linux-and-samba/ http://www.oreilly.com/catalog/samba/chapter/book/index.html February 19 BMCCUG

SFIO Fd900 text program Mnodes and setrlimit() February 19 BMCCUG

Tips Use “hosts allow” and “hosts deny” for rollout (and security). Use “kill -USR1 <pid>” to raise debug level and “kill -USR2” to lower it. Samples - ftp://ftp.cleartool.com/pub/Samba February 19 BMCCUG