Square Pegs in Round Holes: Linux in a Windows World Eric G. Wolfe © 2008 Senior Linux Administrator Marshall University Slides, and code available at.

Slides:



Advertisements
Similar presentations
Module 6: Configuring Windows XP Professional to Operate in a Microsoft Network.
Advertisements

Microsoft Windows Server 2008 Software Deployment Chris Rutherford EKU Technology: CEN/CET.
How to Succeed with Active Directory Robert Williams, PhD CEO Secure Logistix Corporation.
Homework 3.2 Clients Hub What’s wrong with this picture? Clients Using 100TX.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Exchange server Mail system Four components Mail user agent (MUA) to read and compose mail Mail transport agent (MTA) route messages Delivery agent.
Understanding Networks I. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Chapter 8: Network Operating Systems and Windows Server 2003-Based Networking Network+ Guide to Networks Third Edition.
Chapter 5 Managing a Server. Overview  Server management  Examine networking models  Learn how users are authenticated  Manage users and groups 
Hands-On Microsoft Windows Server Connecting Through Terminal Services Terminal server – Enables clients to run services and software applications.
© N. Ganesan, Ph.D., All rights reserved. Active Directory Nanda Ganesan, Ph.D.
Module 2: Planning to Install SQL Server. Overview Hardware Installation Considerations SQL Server 2000 Editions Software Installation Considerations.
Understanding Active Directory
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
11 SYSTEMS ADMINISTRATION AND TERMINAL SERVICES Chapter 12.
© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Advanced Samba Administration Part.
© 2005 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Advanced Samba Administration Part.
Course 6421A Module 7: Installing, Configuring, and Troubleshooting the Network Policy Server Role Service Presentation: 60 minutes Lab: 60 minutes Module.
1 Chapter Overview Reviewing the Results of Installation Starting, Stopping, Pausing, and Modifying Microsoft SQL Server 2000 Services Working with Osql,
Overview of Active Directory Domain Services Lesson 1.
Chapter 12: Additional Active Directory Server Roles
BZUPAGES.COM An Introduction to. BZUPAGES.COM Introduction Large corporations today face the following problems Finding a certain file. Seeing everything.
MS systems use one of the following: LanManager Hash (LM) LanManager Hash (LM) NT LanManager (NTLM) NT LanManager (NTLM) Cached passwords Cached passwords.
Samba
August 25, SSO with Microsoft Active Directory Presented by: Craig Larrabee.
Linux Windows Integration Can’t we all just get along?
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
Windows interoperability with Unix/Linux. Introduction to Active Directory Integration for Unix and Linux Systems Unix/Linux interoperability components.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Lecture – Single Login NIS and Winbind. NIS Network Information Service (NIS) is the traditional directory service on UNIX platforms Still widely used.
Windows Server 2008 R2 Domain Name System Chapter 5.
Chapter 6: Windows Servers
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.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Windows 2000 Operating System -- Active Directory Service COSC 516 Yuan YAO 08/29/2000.
20411B 8: Installing, Configuring, and Troubleshooting the Network Policy Server Role Presentation: 60 minutes Lab: 60 minutes After completing this module,
Current State Of NetID By Jonathan Higgins Presentation Template available from Microsoft A low cost Identity Management Implementation Guide.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Two Installing and Configuring Exchange Server 2003.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
 Identify Active Directory functions and Benefits.  Identify the major components that make up an Active Directory structure.  Identify how DNS relates.
Module 2: Overview of IIS 7.0 Application Server.
Samba – Good Just Keeps Getting Better The new and not so new features available in Samba, and how they benefit your organization. Copyright 2002 © Dustin.
The Concept Jam Health edition This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 2.5 Canada License. To view a copy.
7 February 2008Dietrich Beck A LabVIEW Interface to ELOG ELOG Possible solution paths Status Integration into – CS ? – Domain Management System?
CERN Print Manager Michel Jouvin LAL / IN2P3
Week 4 Objectives Overview of Group Policy Group Policy Processing Implementing a Central Store for Administrative Templates.
1 Active Directory Administration Tasks And Tools Active Directory Administration Tasks Active Directory Administrative Tools Using Microsoft Management.
Module 1: Introduction to Administering Accounts and Resources.
OVERVIEW OF ACTIVE DIRECTORY
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter One Introduction to Exchange Server 2003.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
LM/NTLMv1 Retirement Hosted by LSP Services.
Active Directory and NT Kerberos. Introduction to NT Kerberos v5 What is NT Kerberos? How is it different from NTLM NT Kerberos vs MIT Kerberos Delegation.
Active Directory Domain Services (AD DS). Identity and Access (IDA) – An IDA infrastructure should: Store information about users, groups, computers and.
Business Objects XIr2 Windows NT Authentication Single Sign-on 18 August 2006.
Samba
Pass Microsoft Installing and Configuring Windows Server 2012 exam in just 24 HOURS! 100% REAL EXAM QUESTIONS ANSWERS Microsoft Installing.
Windows Active Directory – What is it? Definition - Active Directory is a centralized and standardized system that automates network management of user.
Guide to Operating Systems, 5th Edition
Windows interoperability with Unix/Linux
Basharat Institute of Higher Education
Authenticate local Linux accounts against Windows Active Directory
Module Overview Installing and Configuring a Network Policy Server
Module 1: Introduction to Administering Accounts and Resources
Overview of Active Directory Domain Services
Samba.
Presentation transcript:

Square Pegs in Round Holes: Linux in a Windows World Eric G. Wolfe © 2008 Senior Linux Administrator Marshall University Slides, and code available at

Understanding the technology. Part 1

What is Active Directory? Active Directory A pre-configured Authentication and Authorization solution, offered by Microsoft. Components o DNS o Kerberos o LDAP o MSRPC Pros o Simple to manage and maintain. Cons o Interoperability requires some knowledge of the underlying components.

What is Kerberos? Kerberos A secure authentication protocol. Hashes, NOT passwords are sent to the server. Tickets are granted to the client. Tickets can be used as authentication against services. Versions o MIT (US)‏ o Heimdal (Swiss)‏ Pros o Centralized user management. o Protocol transport is secure by default. o Third party support. Cons o Time syncronization must be precise. o Password management is not standardized.

What is LDAP? Lightweight Directory Access Protocol A directory is like a database optimized for reads. LDAP is used for authorization. Contains centralized information o user and group o application configuration Pros o Usernames have a relationship to centralized attributes. Cons o Directory schema is not standardized. o Performance is hindered with clients and applications increases.

What is MSRPC? Microsoft Remote Procedure Call Modified version of The Open Group's DCE/RPC 1.1 (Distributed Computing Environment Remote Procedure Call)‏ MSRPC is how Microsoft operating systems talk to each other. o "Domain Member" servers resolve usernames, and groups between one another. o Remote Registry services o Administrative Tools - Microsoft Management Console

Part 2 Configuring these technologies, the basics of AD Integration.

Setting up Kerberos. pam_krb5 This is specific to Red Hat Enterprise. Easy way o setup (select Authentication Config) o authconfig-tui Harder way, editing config files. o /etc/krb5.conf o /etc/pam.d/system-auth  Note: Debian/Ubuntu splits up system-auth  /etc/pam.d/common-auth  /etc/pam.d/common-account  /etc/pam.d/common-password  /etc/pam.d/common-session Video Demonstration

Setting up Kerberos. mod_auth_kerb Kerberos authentication in Apache o behaves like IIS Windows Integrated Authentication. o sets $_SERVER['USERNAME'] environment variable for use in custom or third-party web applications. Authentication protocol is secured between the Domain Controller and web server. o still need SSL/TLS for client -> webserver. Edit two files o /etc/httpd/conf.d/auth_kerb.conf o /etc/httpd/conf.d/auth_kerb.keytab

Setting up Samba Join a domain –Edit /etc/samba/smb.conf (next slide) –Configure services o chkconfig smb on o chkconfig winbind on o chkconfig nscd off –Stop or start services o /etc/init.d/smb start o /etc/init.d/winbind start o /etc/init.d/nscd stop –Join domain o net ads join createcomputer="Organizational Unit" -Uadministrator Video Demonstration

PAM Samba configuration Name Service Switch

Part 3 Advanced tricks: Linux & MSRPC

Remote registry & DNS DNS management Problems encountered o You can read AD-integrated zones from LDAP, but the majority of our zones are NOT AD-integrated. o We have thousands of internal reverse zones, it is tedious to maintain them on several servers individually. o There is no DNS standard allowing a slave server to grab all of the zone names off of a primary. Observations o Windows DNS can be read remotely from a registry branch with Samba.

Remote Registry & DNS configuring dnsnarf Create a DNS service account in AD for the script. GPO settings Registry key for non-administrator remote registry reads. o HKLM\SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg o Set 'read' and 'apply gpo' permissions for your DNS service account.

Remote Registry & DNS dnsnarf is born Samba component used. net rpc registry enumerate o manpage: net(8) Remote registry location to read zones. HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones Example test command net -S kdc01.contoso.com \ -U administrator -W CONTOSO.COM \ rpc registry enumerate \ "\\HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\DNS Server\\Zones"

Example net rpc output

Sample dnsnarf output (named.conf)‏

Questions? Eric G. Wolfe © 2008 Senior Linux Administrator Marshall University This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License. To view a copy of this license, visit or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. Slides and code available at