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



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

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

CSE 265: System and Network Administration

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

Integration with Active Directory. Jeremy Allison Samba Team

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

Distributed File System

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

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

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

Samba in the Enterprise : Samba 3.0 and beyond

SerNet. Samba Status Update. Munich 13. March Volker Lendecke SerNet Samba Team. Network Service in a Service Network

Using the Linux Samba Client with iseries NetServer

Parallels Plesk Panel

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

OpenVMS Update & OpenVMS Common Internet File System based on SAMBA

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

SSSD Active Directory Improvements

NT4 PDC Migration to Samba 3

Common Internet File System

Linuxdays 2005, Samba Tutorial

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

Integrating Red Hat Enterprise Linux 6 with Microsoft Active Directory Presentation

Agenda. NT4 PDC Migration to Samba-3. Site Objectives. Samba-3 is NOT MS Windows NT. John H Terpstra, Samba-Team jht@samba.org

Setting up a DNS MX Record for mail.corp.com p. 327 Installing Fedora on the Front-End Mail Server with the Postfix and SpamAssassin Packages

Going in production Winbind in large AD domains today. Günther Deschner (Red Hat / Samba Team)

Instructions for Adding a MacOS 10.4.x Client to ASURITE

<Samba status report>

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

Linux Development Environment Description Based on VirtualBox Structure

embeo Getting Started and Samples

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

Using SUSE Linux Enterprise Desktop with Microsoft * Active Directory Infrastructure

SerNet. Clustered Samba. Nürnberg April 29, Volker Lendecke SerNet Samba Team. Network Service in a Service Network

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

Clustered CIFS For Everybody Clustering Samba With CTDB. LinuxTag 2009

SUSE Manager 1.2.x ADS Authentication

Centrify-Enabled Samba

Red Hat Enterprise Linux as a

Enabling Active Directory Authentication with ESX Server 1

Integrating UNIX and Linux with Active Directory. John H Terpstra

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

Samba and Vista with IPv6

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

(june > this is version 3.025a)

Unifying Authorization Models

Samba 4 AD + Fileserver

CONFIGURING ACTIVE DIRECTORY IN LIFELINE

Intel Entry Storage System SS4200-E Active Directory Implementation and Troubleshooting

Quality of Service (bandwidth limitation): Default is 2 megabits per second.

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

Stanford University, ITS CRC; Draft v.9; Noah Abrahamson 2/7/08 (Page 1)

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

Creating Home Directories for Windows and Macintosh Computers

Transparent fileservices for Windows, Unix and Mac

File Services. File Services at a Glance

SAMBA VI: As a Domain Controller

Access Your Cisco Smart Storage Remotely Via WebDAV

TB168 (Rev4) - Networking Linux Based Controls

OVERVIEW OF TYPICAL WINDOWS SERVER ROLES

Samba Administration Guide

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

Debian and Windows Shared Printing mini HOWTO

Macintosh Clients and Windows Print Queues

Charles Firth Managing Macs in a Windows World

Citrix Access on SonicWALL SSL VPN

SMB a protocol example

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


Security with LDAP. Andrew Findlay. February Skills 1st Ltd

NETASQ SSO Agent Installation and deployment

CENTRIFY TRAINING CLASS Centrify Suite Standard Edition - Mac OS X Training Course Details. Format: 100% lecture including demonstrations.

Attunity RepliWeb PAM Configuration Guide

The Smb4K Handbook. Alexander Reinholdt

Authentication in a Heterogeneous Environment

How to use edgebox as a PDC and to Share Files

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

Single Sign On. Configuration Checklist for Single Sign On CHAPTER

Best Practices: Integrating Mac OS X with Active Directory. Technical White Paper April 2009

1 hours, 30 minutes, 38 seconds Heavy scan. All scanned network resources. Copyright 2001, FTP access obtained

Connecting to the Terminal Server

File Systems Management Guide

Setting Up Scan to SMB on TaskALFA series MFP s.

Integrating Linux systems with Active Directory

ICANWK504A Design and implement an integrated server solution

Eduroam wireless network - Windows 7

LucidNAS Quick Start Guide

8 NETWORK SERVERS AND SERVICES FUNDAMENTALS

Transcription:

Using Samba to play nice with Windows Bill Moran Potential Technologies

SMB (Server Messenger Block) Now called CIFS (Common Internet File System) Historically one of Microsoft's core network protocls, it provides the following services: File-sharing ( mapped drives ) Network printing ( Printer sharing ) Name resolution (similar to DNS)

Samba smbd: Handles the connections from a single remote computer nmbd: Provides network neighborhood and WINS winbind: Allows PAM-enabled systems (such as Linux and FreeBSD 5) to get user information from SMB servers ( domain controllers ) SWAT: a web-based program for configuring Samba smbmount: Allows a POSIX system to connect to an SMB server similar to connecting to an NFS server smbclient: an FTP-like tool to upload/download files to an SMB server

Drawbacks SMB is never safe to use across untrusted networks! SMB's performance is terrible over slow connections, or high-latency connections (i.e. the Internet).

Samba is everywhere It's difficult to gather numbers, but it's likely that Samba is moving more files around than Windows! Most Linux distributions have it pre-installed Mac OS X for server and client roles Solaris Embedded NAS? Who knows what else!

Getting Started smbclient makes it easy to connect to a Windows server from a minimally installed POSIX machine no configuration required! bash-2.05b$ smbclient //proxy/work params.c:openconffile() - Unable to open configuration file "/usr/local/etc/smb.conf": No such file or directory smbclient: Can't load /usr/local/etc/smb.conf - run testparm to debug it Password: Domain=[PT] OS=[Unix] Server=[Samba 2.2.4] smb: \> get MiniMiniMusicApp.class smb: \> bash-2.05b$

Nice and GUI Mac OS X has access to SMB nicely integrated into the GUI. Gnome and KDE file managers can access SMB servers by using the smb://server/share syntax.

Mounting Windows Mount remote Windows drives so they appear to be part of you local filesystem: mount -t smbfs //server/share /mountpoint (-t option may be smb or smbfs ) The SMB protocol only supports a single user at a time, so whoever mounts the filesystem sets the permissions for whatever other user accesses it.

Finding Samba Servers: nmbd nmbd is a server process that handles Microsoft's outrageous browse protocol to allow Windows (and Samba-enabled machines) to easily find each other on a network. Without nmbd, your Samba server will not show up in network neighborhood nmbd can also act as a WINS server to provide browse services to very large networks. Reads its configuration from the smb.conf file.

Providing SMB services: smbd Server process that handles the interaction across a connection (i.e. A connection could be a mapped drive, or a connection to a shared printer) The smbd is what is actually copying the file or displaying the directory listing. Gets its configuration from smb.conf

Example minimal smb.conf [global] workgroup = PT security = share # Share Definitions [home] browseable = yes writable = yes path = /usr/home

SWAT: Samba Web Administration Tool

Winbind: Using Windows as a login server winbind is a PAM module to allow POSIX systems that utilize PAM (such as Linux and FreeBSD 5) to get their user information from a Windows domain controller instead of /etc/password

Some intersting capabilities VFS allows you to plug in features, such as the included network trash bin. Samba has a very flexible security model. You can go from virtually no security (as in earlier example) to full-fledged domain-style authentication. VFS has a plugin to emulate Windows shadow copy. Samba has considerably more options than a Windows server. VFS allows on-the-fly virus scanning through OpenAntiVirus

Security in Samba Security = share: each share has (or lacks) a password as defined by that share user: each connection is authenticated against the password list on the server domain: this server is part of an NT domain and will use the domain's security server: user is authenticated against an AD server, but doesn't have to be part of a realm (falls back to user on failure) ADS: the server is part of the AD realm, and will be authenticated by the AD server

Security in more detail Any mode that requires auth against the UNIX password files (user, server in failover mode) requires an additional password file with the NT encrypted passwords (see the smbpasswd utility) The server mode allows integration with an Active Directory without setting up Kerberos The ADS mode requires that a Kerberos server be up and running alongside Samba

Interesting smb.conf features hide dot files = yes Causes files starting with a. to appear as hidden files to clients hide special/unreadable/unwriteable Causes various types of files not to be visible to clients Parameters can contain magic values that depend on various circumstances: logon script = scripts/%u.bat

Enterprise Samba Login server Roaming Profiles Domain controller AD member Everyday Samba Shared files and printers Friendly communication between Windows and Posix systems