Migrating to LDAP What is LDAP? Fedora Directory Server LdapImport

Slides:



Advertisements
Similar presentations
Unauthorized Reproduction Prohibited SkyPoint Alarm Integration Add-On Using OnGuard Alarms to create events in SkyPoint Also called ‘SkyPoint V0’ CR4400.
Advertisements

3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
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.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
1 Chapter 1 Introduction to Windows Server Two main goals for Net Admin Make network resources available to users Files, folders, printers, etc.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
SETUP AND CONFIGURATIONS WEBLOGIC SERVER. 1.Weblogic Installation 2.Creating domain through configuration wizard 3.Creating domain using existing template.
CIT 470: Advanced Network and System Administration
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
© 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.
03/07/08 © 2008 DSR and LDAP Authentication Avocent Technical Support.
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
GRID Centralized management of the Globus grid-mapfile Carlo Rocca INFN, Catania.
SPARCS 10 이대근 (harry). Contents  Directory Service  What is LDAP?  Installation  Configuration  ldap-utils  User authentication with LDAP.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
Extending Active Directory Authentication and Account Management To Solaris 10 Systems A HOWTO guide for joining a Solaris 10 (8/07) host to a domain in.
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.
20411B 8: Installing, Configuring, and Troubleshooting the Network Policy Server Role Presentation: 60 minutes Lab: 60 minutes After completing this module,
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
Implementing LDAP Client/Server System for Directory Service By Maochun Sun Project Advisor: Dr. Chung-E Wang Department of Computer Science California.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
LDAP (Lightweight Directory Access Protocol ) Speaker: Chang-Yu Wu Adviser: Quincy Wu Date:2007/08/22.
Michael StröderDate: Slide 1 Datei: /home/michael/Bizness/SURFnet/web2ldap_presentation_TF-LSD.sdd web2ldap  Personal info  Michael Ströder 
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.
LDAP (Lightweight Directory Access Protocol)
Linux Operations and Administration
Michael Tinker September 16, 2004
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring Windows Server 2008 Printing.
1 Introduction to Active Directory Directory Services Uniquely identify users and resources on a network Provide a single point of network management.
© 2013 IBM Corporation LDAP Fundamentals & LDAP for CLM Bruce Besch IBM Rational Services.
The Integration of Network Service Authentication Design and Implementation for Secondary and Elementary School 報告人 : 洪 志 明 洪 志 明‧楊 中 皇洪 志 明‧楊 中 皇洪 志 明‧楊.
Lightweight Directory Access Protocol Objectives –This chapter will first show you how to install and use LDAP Contents –The LDAP Database Structure –Scenario.
LDAP: Synchronizing LDAP Information CNS 4650 Fall 2004 Rev. 2.
SSSD System Security Services Daemon. 2 Manages communication with centralized identity and authentication stores Provides robust, predictable caching.
u Babel Com Australia FDS + Samba ● What is LDAP? ● Fedora Directory Server ● Samba ● LDAP Tools.
LDAP Overview Kevin Moseley Server Team Manager Walgreen Co.
LINUX - SAMBA
Chapter Overview Understanding Windows Name Resolution Using WINS.
Architecture Review 10/11/2004
DBMS Programs MS SQL Server & MySQL
Fundamental of Databases
SmartCenter for Pointsec - MI
Lab 05 Firewalls.
File System Implementation
Module Overview Installing and Configuring a Network Policy Server
Unix System Administration
Introduction to LDAP Frank A. Kuse.
Configuring LDAP-UX Module 13 H3065S F.00 [Course Title]
Chapter 11: Managing Users
LINUX ADMINISTRATION 1
Overview of Active Directory Domain Services
CONFIGURING LDAP Authentication (rsso 9.1)
Objectives Differentiate between the different editions of Windows Server 2003 Explain Windows Server 2003 network models and server roles Identify concepts.
Extending Active Directory Authentication and Account Management To Solaris 10 Systems A HOWTO guide for joining a Solaris 10 (8/07) host to a domain.
Data File Import / Export
Implementation and configuration of LDAP
Active Directory Stored collection of information about objects
IS3440 Linux Security Unit 3 User Account Management
Training course on Euro SDMX Registry
IIS.
RAC Performance Lab.
Access eJournals Form Your Home
Ch 1 .Installing and configuring SQL Server 2005
How to install and manage exchange server 2010 OP Saklani.
Jean-Francois LEBLANC Christian SEBASTIAN
Presentation transcript:

Migrating to LDAP What is LDAP? Fedora Directory Server LdapImport LDAP Tools

What is LDAP? Lightweight Directory Access Protocol Common on-wire protocol – ASN.1 Common export format – LDIF Common replication format – LDUP Tree structure form of objects via “DNs”

DN “Distinguished Name” dc=babel,dc=com,dc=au ou=People,dc=babel,dc=com,dc=au uid=del,ou=People,dc=babel,dc=com,dc=au

LDAP Protocols LDAP – Common Protocol on wire LDIF -- Common object and schema management format Different implementations have varying degrees of compliance.

LDAP vs DBMS Directory has one schema, one “row” type (“object”). RDBMS has many tables. Directory is optimised for read, slow for writes. Directory has an adaptable and mutable schema format – good for storing information about “people”. Access protocol – LDAP vs SQL

Replication One or more LDAP servers can participate. Single-master or multi-master implementations (OpenLDAP vs FDS). Common on-wire replication protocol – LDUP. Replication between different directory types can be problematic.

LDAP Schema Common format for specifying schemae – LDIF (implementations vary). Fixed vs in-directory schema. IANA assignments.

Schema Replication Schema replication may or may not be supported. FDS only replicates 99user.ldif schema changes if entered via LDAP. OpenLDAP – no schema replication.

LDAP Applications Authentication – PAM, Samba. Name Space Services – NSS, Samba.

PAM PAM – Pluggable Authentication Modules PAM handles authentication only. PAM Authentication == LDAP “bind”.

NSS NSS – Name Service Switch NSS handles “name” services, including user names, home directories, etc. LDAP supports NSS and PAM via modules. Ensure module load order is correct and valid. Like “network-aware” passwd & group files.

LDAP and NSS Human accounts under ou=People,... Groups under ou=Groups,... authconfig /etc/nsswitch.conf /etc/ldap.conf

FDS http://directory.fedoraproject.org/ 4 Way multi-master replication Scalable Extensive Documentation In-directory management (schema etc) – no restart needed to change schema or ACIs

Components LDAP – Fedora Directory Server LdapImport

Installing FDS Post-installation setup: /opt/fedora-ds/setup/setup Installation Instructions:http://www.redhat.com/docs/manuals/dir- server/install/7.1/ Performance Tuning Notes:http://directory.fedoraproject.org/wiki/Performance_Tuning Installation Scripts:http://wiki.babel.com.au/edit.php?area=Linux_Projects&page=FedoraDirectoryS erver Post-installation setup: /opt/fedora-ds/setup/setup Verification: ldapsearch -x -s base -b “” “objectclass=*”

Indexes The server doesn't come with an index on uidNumber by default, should create one. Open the console, select the directory server, click Open Configuration tab. Open the Data->(your base DN)->Database part of the tree. Go to the Indexes tab. Under Additional indexes click on Add attribute.... Add the indexes you need. A good place to start includes uidNumber and gidNumber . Click Save. This can take a bit of time, and the database will be locked (in read-only mode) while you do this.

Search Result Limit Default setting is to return 2000 entries in a query only. This needs to be increased in a few places in the directory manager part of the console. Open the console, select the directory server, click Open Configuration tab, select the server object itself. Performance tab, change the limit from 2000 to more. Click Save. Open the Data -> Database Link Settings part of the tree. Go to the Default Creation Parameters tab. Change the size limit from 2000 to more. Click Save. Open the Data -> Database Settings part of the tree. Go to the LDBM Plug-in Settings tab, change the Look-through limit from 5000 entries to more. Click Save.

Connect to LDAP FC4 and earlier: authconfig FC5+: authconfig-tui

LdapImport http://wiki.babel.com.au/index.php?area=Linux_Projects&page=LdapImport Originally designed as a tool to assist migration from OpenLDAP to FedoraDirectoryServer but has been developed into a general purpose LDAP migration tool. LdapImport.pl imports data into a destination LDAP server, from one of two sources. The data can come from either: Another (source) LDAP server, or /etc/passwd, /etc/shadow and /etc/group files.

Schema Mapping Some attempt at schema checking and/or mapping is done. Also, LdapImport will over-write existing entries in the destination LDAP server if required.

GUI Mode There is none Anyone familiar with Perl GTK/Qt toolkits? Glade?

Perl requirements A reasonably recent version of Perl (http://www.perl.org/). This should include at least the Carp and Data::Dumper modules perl-LDAP (Net::LDAP CPAN module), available from http://ldap.perl.org/, or as an RPM shipped with FedoraCore 3 or 4. You may need to install this using yum -y install perl-LDAP. perl-Time-HiRes (Time::HiRes CPAN module), also shipped with Fedora Core 3 or later. You may need to install this using yum -y install perl-Time-HiRes. perl-Log-Log4perl (Log::Log4perl CPAN module) – shipped with Fedora Core 3 or later. You may need to install this using yum -y install perl-Log-Log4perl.

LdapImport in action Logging Log file name [LdapImport.log] ?

Destination Server Destination LDAP Server Name [localhost] ? I am guessing that this is a FEDORA server. Root DN to bind to localhost [cn=Directory Manager] ? Password for cn=Directory Manager [] ? ENTERyourPASSWORDhere OU to contain users in localhost [ou=People, dc=babel,dc=office] ? OU to contain groups in localhost [ou=Groups, dc=babel,dc=office] ? email domain [babel.office] ?

Source Source type -- Files/Winbind/Server [f/w/s] [s] ? f Should I migrate user accounts (y/n) [y] ? /etc/passwd file location [/etc/passwd] ? /etc/shadow file location [/etc/shadow] ? Should I migrate groups (y/n) [y] ? /etc/group file location [/etc/group] ?

Other LDAP Tools Fedora Console LAM GQ

Fedora Console Web Based or Java Based Each has different functionality Web based acts as a “gateway” service Can be customised See Gateway Customisation Manual

LAM LDAP Account Manager Web Based Useful for managing Samba and LDAP account information High-Level Schema views

GQ Useful for LDAP browsing & debugging Low Level Tree Browser Schema Browser Not currently maintained