© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Advanced Samba Administration Part.

Slides:



Advertisements
Similar presentations
Microsoft Active Directory
Advertisements

COMP091 OS1 Active Directory. Some History Early 1990s Windows for Workgroups introduced peer-to-peer networking based on SMB over netbios (tcp/ip still.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 6 Managing and Administering DNS in Windows Server 2008.
Module 4: Implementing User, Group, and Computer Accounts
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.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
15.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft® Windows® Server 2003 Active Directory Infrastructure.
11 SUPPORTING LOCAL USERS AND GROUPS Chapter 3. Chapter 3: Supporting Local Users and Groups2 SUPPORTING LOCAL USERS AND GROUPS  Explain the difference.
Windows Server WHAT IS ACTIVE DIRECTORY? FUNDAMENTALS OF THE ACTIVE DIRECTORY – Benefits of Using the Active Directory in an Enterprise Environment.
Resource Sharing Over a Network
Chapter 8 Chapter 8: Managing the Server Through Accounts and Groups.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
© N. Ganesan, Ph.D., All rights reserved. Active Directory Nanda Ganesan, Ph.D.
Understanding Active Directory
Chapter 7 WORKING WITH GROUPS.
© 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.
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.
Samba
© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Advanced Samba Administration Part.
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
Configuring CIFS Upon completion of this module, you should be able to: Configure the Data Mover for a Windows environment Create and Join a CIFS 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 with Unix/Linux. Introduction to Active Directory Integration for Unix and Linux Systems Unix/Linux interoperability components.
Lecture – Single Login NIS and Winbind. NIS Network Information Service (NIS) is the traditional directory service on UNIX platforms Still widely used.
September 18, 2002 Introduction to Windows 2000 Server Components Ryan Larson David Greer.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Guide to Operating System Security Chapter 4 Account-based Security.
Hands-On Microsoft Windows Server Security Enhancements in Windows Server 2008 Windows Server 2008 was created to emphasize security –Reduced attack.
Module 10: Configuring Windows XP Professional to Operate in Microsoft Networks.
Designing Active Directory for Security
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.
Module 7: Fundamentals of Administering Windows Server 2008.
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.
1 Chapter Overview Configuring Account Policies Configuring User Rights Configuring Security Options Configuring Internet Options.
8.1 © 2004 Pearson Education, Inc. Exam Designing a Microsoft ® Windows ® Server 2003 Active Directory and Network Infrastructure Lesson 8: Planning.
September 18, 2002 Windows 2000 Server Active Directory By Jerry Haggard.
Designing Authentication for a Microsoft Windows 2000 Network Designing Authentication in a Microsoft Windows 2000 Network Designing Kerberos Authentication.
Active Directory Administration Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Creating Users, Computers, and Groups Automate creation.
© Wiley Inc All Rights Reserved. MCSE: Windows Server 2003 Active Directory Planning, Implementation, and Maintenance Study Guide, Second Edition.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
Planning a Microsoft Windows 2000 Administrative Structure Designing default administrative group membership Designing custom administrative groups local.
NT4 SP4 Security Jack Schmidt - Fermilab
CHAPTER Creating and Managing Users and Groups. Chapter Objectives Explain the use of Local Users and Groups Tool in the Systems Tools Option to create.
Chapter 10: Rights, User, and Group Administration.
W2K and Kerberos at FNAL Jack Schmidt Mark Kaletka.
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.
Working with Users and Groups Lesson 5. Skills Matrix Technology SkillObjective DomainObjective # Introducing User Account Control Configure and troubleshoot.
Windows-Linux Interconnection Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved Samba.
Chapter 4- Part3. 2 Implementing User Profiles A local user profile is automatically created at the local computer when you log on with an account for.
Active Directory CNS 4650 Fall 2004 Rev. 2. Active Directory Introduced with Windows 2000 Server X.500 based Can emulate NT-style network environments.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
11 UPGRADING AND MIGRATING TO WINDOWS SERVER 2003 Chapter 12.
Business Objects XIr2 Windows NT Authentication Single Sign-on 18 August 2006.
Samba
Configuring the User and Computer Environment Using Group Policy Lesson 8.
19 Copyright © 2008, Oracle. All rights reserved. Security.
Using Samba Doug Maxwell November 13, 2004 – GHGLUG
Guide to Operating Systems, 5th Edition
Windows interoperability with Unix/Linux
Introduction to Operating Systems
Network Administration Module 09
ACTIVE DIRECTORY ADMINISTRATION
LINUX ADMINISTRATION 1
Active Directory Administration
Greta Mameniskyte IV course 3rd group
Microsoft Active Directory
Presentation transcript:

© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Advanced Samba Administration Part 2: Domain Configurations Tim Samba

March 6, 2006 Part 2 – Domain Configurations Samba as −Domain member (NT4) −Domain member (Active Directory) −Domain controller Account storage options Delegation using privileges Domain security Using winbind

March 6, 2006 Samba as Domain Member (NT4) Use security = domain in smb.conf −NTLM or NTLMv2 authentication used RPC calls used to query user information Much better than security = server −Uses less resources −Can use domain trusts Not prompted to enter passwords all the time

March 6, 2006 Joining a Domain (2.x) Stop smbd and nmbd Adjust smb.conf Join domain with smbpasswd Start smbd and nmbd Ensure Linux user exists for each Windows user −Samba 2.2 behaviour enabled with map to guest = bad uid

March 6, 2006 net rpc join (3.x) Join the domain using the net command −net rpc join -U administrator%password Domain name taken from smb.conf PDC located via a netbios name query for DOMAIN#1B Join information stored in ${private}/secrets.tdb −Trust account password −Local and domain SIDs

March 6, 2006 Samba as Domain Member (AD) New for Samba 3.x Use security = ads in smb.conf −Kerberos authentication used LDAP used to query user information Better integration with Windows 2000 networks Uses DNS to resolve names, NetBIOS as a fallback

March 6, 2006 net ads join (3.x) Join domain using the net command −net ads join -U administrator%password Domain and realm taken from smb.conf Domain controller located via DNS Join information stored in ${private}/secrets.tdb −Trust account password −Local and domain SIDs

March 6, 2006 Samba as Domain Controller Samba 3 can control NT4-style domains Can act as PDC or BDC −Replicate accounts via other means −NT4 account replication not supported −Samba BDC still serves logon request Windows 2000 and above workstations can still join the domain Must have Linux user created for each Windows user

March 6, 2006 Account Storage Options Samba 2.2 used smbpasswd file Samba 3.0 has pluggable backends −tdbsam −ldapsam Use tdbsam for small installations Use ldapsam for larger installations −LDAP replication −Integration with other directory services passdb backend (G)

March 6, 2006 Account Storage Options Write your own storage backend! API described in source/include/passdb.h Fill in hooks for −Creating users and groups −Enumerating users and groups −Searching users and groups −Mapping Unix uids and gids to NT SIDs Compile to a shared library Set passdb backend parameter

March 6, 2006 Delegation using Privileges Windows privileges bypass normal access controls for particular operations Allow you to delegate authority and admin work New in Samba Also called user rights

March 6, 2006 Supported Privileges SeAddUsersPrivilege SeMachineAccountPrivilege SePrintOperatorPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege SeTakeOwnershipPrivilege

March 6, 2006 Configuring Privileges Set enable privileges = yes in smb.conf Disabled by default <= b Can be used in security = user, domain or ads Currently not replicated between Samba DCs Implies that certain operations done as root

March 6, 2006 Modifying Privileges Use net rpc rights command List assigned privileges −net rpc rights list accounts Grrant privileges −net rpc rights grant \ 'DOMAIN\User' SeMachineAccountPrivilege Revoke privileges −net rpc rights revoke \ 'DOMAIN\User' SeMachineAccountPrivilege

March 6, 2006 Account Policies Similar to NT4-style domain policies Applies to all accounts in a Samba domain Implemented using the pdbedit command line tool See the Samba HOWTO for tips and details on policy usage

March 6, 2006 Account Policies (cont) min password length password history use must logon to change password maximum password age minimum password age lockout duration...

March 6, 2006 Domain Security

March 6, 2006 Samba as WINS Server Samba easily configured as a WINS server Replication with other servers not possible samba4wins project Implements WINS replication protocol Allows migration of another service

March 6, 2006 Using Winbind Samba requires a Unix user for every Windows user Administrative nightmare! Winbind is a daemon and NSS library Returns a Unix user for every Windows user Returns a Unix group for every Windows group

March 6, 2006 Configuring Winbind Configure uid/gid mapping parameters in smb.conf −winbind_idmap.tdb −LDAP −SFU Add winbind entry to /etc/nsswitch.conf Start winbind daemon Test configuration with wbinfo and getent command line tools

March 6, 2006 TDB Files A superior data storage format Simple multi-reader, multi-writer database Much important information stored in TDBs /var/lib/samba for persistent data /var/run/samba for temporary data Use tdbbackup utility to back up TDBs

March 6, 2006 Summary of Part 2 Samba can act as domain member or domain controller Can delegate admin work via privileges More domain policy supported Samba can act as a WINS server, now with replication Use winbind to dynamically create users and groups

End of Part 2 Break for 10 minutes