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



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

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

Samba 4 AD + Fileserver

<Samba status report>

Scalable NAS Cluster With Samba And CTDB Source Talk Tage 2010

Clustered CIFS For Everybody Clustering Samba With CTDB. LinuxTag 2009

Integration with Active Directory. Jeremy Allison Samba Team

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

A COMPARISON BETWEEN THE SAMBA3 AND LIKEWISE LWIOD FILE SERVERS

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

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

Samba and Vista with IPv6

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

Samba 4.2. Cebit 2015 Hannover

Integrating UNIX and Linux with Active Directory. John H Terpstra

Integrating Red Hat Enterprise Linux 6 with Microsoft Active Directory Presentation

Samba in the Enterprise : Samba 3.0 and beyond

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

Implementing Active Directory Hurdles, Obstacles, and the Finish Line. Jim McDonough Samba Team IBM Linux Technology Center April 6, 2004

OpenChange overview and current server implementation

Active Directory network protocols and traffic

Active Directory network protocols and traffic

FreeIPA Cross Forest Trusts

Samba's AD DC: Samba 4.2 and Beyond. Presented by Andrew Bartlett of Catalyst //

The syslog-ng Premium Edition 5LTS

Understanding MAPI. Julien Kerihuel,

Julien Kerihuel. OpenChange Project

Migration of Windows Intranet domain to Linux Domain Moving Linux to a Wider World

Samba as an Active Directory Domain Controller

The syslog-ng Premium Edition 5F2

IBM Cloud Manager with OpenStack

ACE Management Server Deployment Guide VMware ACE 2.0

Common Internet File System

OpenVMS Update & OpenVMS Common Internet File System based on SAMBA

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

Automatic Configuration and Service Discovery for Networked Smart Devices

Parallels Plesk Panel

SMB3 in Samba. Multi-Channel and Beyond. Michael Adam Red Hat / samba.org

STERLING SECURE PROXY. Raj Kumar Integration Management, Inc.

Hardware and Software Requirements for Installing California.pro

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

"Charting the Course... Enterprise Linux Networking Services Course Summary

Work No. 1 Samba. What is Samba?

NT4 PDC Migration to Samba 3

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

Ensure that the server where you install the Primary Server software meets the following requirements: Item Requirements Additional Details

Kaspersky Endpoint Security 8 for Linux INSTALLATION GUIDE

STEALTHbits Technologies, Inc. StealthAUDIT v5.1 System Requirements and Installation Notes

Testing Samba for Bigger Environments Samba / Linux / OpenLDAP at the german federal parliament

Samba 4 Status Update

MQ Authenticate User Security Exit Overview

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

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

ANNEXURE-1 TO THE TENDER ENQUIRY NO.: DPS/AMPU/MIC/1896. Network Security Software Nessus- Technical Details

SAMBA VI: As a Domain Controller

Features - Media Management

Network File System (NFS) Pradipta De

Centrify-Enabled Samba

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

Solaris CIFS Service CIFS. Alan Wright

theguard! ApplicationManager Version 4.1

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

Lab Tasks 1. Configuring a Slave Name Server 2. Configure rndc for Secure named Control

Using SUSE Linux Enterprise Desktop with Microsoft * Active Directory Infrastructure

MEGA Web Application Architecture Overview MEGA 2009 SP4

Collax Active Directory

ICANWK504A Design and implement an integrated server solution

SAMBA AND SMB3: ARE WE THERE YET? Ira Cooper Principal Software Engineer Red Hat Samba Team

Installing The SysAidTM Server Locally

TIBCO Spotfire Platform IT Brief

Setting Up Scan to SMB on TaskALFA series MFP s.

NETASQ SSO Agent Installation and deployment

Default configuration for the Workstation service and the Server service

Managing Celerra for the Windows Environment

Bridgit Conferencing Software: Security, Firewalls, Bandwidth and Scalability

Quick Start - NetApp File Archiver

Considerations In Developing Firewall Selection Criteria. Adeptech Systems, Inc.

User Management Resource Administrator. Managing LDAP directory services with UMRA

Dante a BSD licensed SOCKS implementation. Inferno Nettverk A/S. Bergen Linux User Group

CSE 265: System and Network Administration

Centova Cast. Reseller Usage Guide. Published May 04, 2015 Copyright 2015, Centova Technologies Inc. Centova Technologies Inc.

automates system administration for homogeneous and heterogeneous networks

Deploying IPv6-only Samba 4 Environments

OpenLDAP Configuration and Tuning in the Enterprise

owncloud Architecture Overview

Running SMB3.x over RDMA on Linux platforms

Avira AntiVir MailGate 3.2 Release Notes

The Simple High Available Linux File Server. Schlomo Schapiro Principal Consultant Leitung Virtualisierung & Open Source

AIMS Installation and Licensing Guide

Transcription:

Samba Status Update Munich 13. March 2008 Volker Lendecke SerNet Samba Team 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 1

Volker Lendecke Co-founder SerNet - Service Network GmbH Free Software as a successful business model Network Security for the industry and the public sector Samba-Support/Development in Germany For almost 20 years concerned with Free Software First patches to Samba in 1994 Consultant for industry in IT questions Co-founder emlix GmbH (Embedded Systems) 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 2

What is Samba? Interoperability between Windows and Unix systems Most protocols Windows speaks today SMB (File Sharing), Printing, Browsing, Authentication Samba makes unix machines show up in Network Neighborhood Samba runs on most Unixes these days Main development platform is Linux Solaris, AIX, HP/UX, Stratus V/OS, Tru64, etc... 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 3

Samba 3 Stable version of Samba, production code Solid file and print server NT and Active Directory domain member NT4-compatible Domain Controller Security and access control model based on Unix Flexible posix-based VFS modules to change file access semantics Current version: 3.0.28a 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 4

Samba 4 Started in 2003 by Andrew Tridgell as a new VFS system with the goal to support cluster file systems Complete re-write of Samba Target: 100% semantics of Windows Main feature today: Active DirectoryDomain controller Most useful component for development: smbtorture, a very comprehensive SMB test suite 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 5

Samba 3.2 License change: GPLv3 This caused the naming change from 3.0 to 3.2 3.0 will only be maintained for security updates When will 3.2 come? It's long overdue New Release Manager: Karolin Seeger 3.2.0pre2 was released March 4, she's actively pushing us to get it out soon 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 6

IPv6 NetBIOS over TCP (RFC1001/1002) only specifies IPv4 RFC1002 name resolution naturally embeds IPaddresses With AD and CIFS, DNS has become the primary name resolution Nobody is going to change RFC1002 Samba 3.2 listens on IPv6 interfaces now Main changes: Interface enumeration and name resolution for Samba as a client (getaddrinfo) 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 7

Memory usage The thumb-rule is that you need 2-3MB real RAM for an active, connected client Quite a lot for embedded systems (the 50 Euro NAS hard drive) Number of clients on large systems mainly limited by RAM usage, there are numbers from competitors that advertise less than 100k per client The footprint for an idle client was reduced by 50% 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 8

Memory handling Smbd used to allocate static buffers for the largest possible SMB request: 128k incoming, 128k outgoing 3.2: allocation on demand All of smbd internally assumed to have 128k available, many internal changes Many other buffers now malloc'ed on demand, not by maximum use 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 9

No static pstring buffers Pstring: Rest in peace :-) All file names used to be stored in 1k buffers The typical file name is a lot shorter than 1k Everything malloc'ed on demand now Malloc started to show up high in profiling Changes to talloc to use one pool per SMB request without calling malloc 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 10

Malloc implementation For some requests, we do have to allocate much memory Glibc malloc is not nice to forked processes Smbd parent does quite a bit of memory allocation which is never changed in the child Allocations in the child cause write access to parent malloc internal structures, causing copy on write where smbd does not write itself Playing around with a malloc of our own 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 11

Registry configuration Parsing and writing smb.conf files with GUI tools is awkward at best Samba 3 has to implement a registry, clients expect to find certain keys to determine the server type Registry data model matches exactly smb.conf format, it was designed as a.ini file replacement HKLM\Software\Samba\smbconf Enabled only if config backend = registry is enabled in the smb.conf text file 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 12

Cluster support Samba 3.0 was heavily modified to enable sharing of cluster file systems correctly via CIFS Product shipped by IBM right now based on a heavily modified 3.0.25 Ctdb.samba.org has all Samba-related components 3.2 contains the relevant changes Heavy, serious testing needs to be done on the cluster feature of 3.2, that's why we mark it as experimental for the release 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 13

AD LDAP signing Policies on W2k3 domain controllers can require that all LDAP access needs to be authenticated and integrity protected Cyrus SASL is the standard OpenLDAP way to provide this, but it is hard to configure Current OpenLDAP libraries allow to intercept the network traffic Samba 3.2 winbind does the SASL integrity wrapping itself 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 14

LDB Ldb is a lightweight library providing an LDAP-like data model on top of tdb Same idea as SQLite for SQL Main feature: Multi-indexed tdb Samba needs to maintain its internal user database As a start, group mapping has been converted to ldb In the future, maybe more will be converted 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 15

SMB transport encryption All SMB authentication variants provide a session key as one result This is used to encrypt the password changes RPC can be encrypted Normal SMB traffic (file content) is plain text Samba 3.2 re-uses the RPC encryption routines to encrypt the whole SMB data stream Currently only smbclient->smbd Now we have to persuade MS to use this :-) 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 16

RPC interface generation Many important sub-protocols in the SMB world are DCE/RPC based Marshalling of function call arguments has been done with manual code Real RPC implementations use IDL Samba4 provides the Perl-based IDL compiler IDL Contrary to MIDL (the MS tool), PIDL generates readable code Lots of Samba 3.2 code is converted, much ugly code is gone 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 17

Questions/comments? Volker Lendecke, VL@SerNet.DE SerNet Service Network GmbH Bahnhofsallee 1b 37081 Göttingen Tel: +49 551 370000 0 Fax: +49 551 370000 9 http://www.sernet.de http://samba.sernet.de 03/2008, Volker Lendecke, SerNet Service Network GmbH, Seite 18