INFORMATION FOR NETWORK OPERATION. CONTENT Directory service Standard X.500 LDAP.

Slides:



Advertisements
Similar presentations
Web Server Administration
Advertisements

2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
Lightweight Directory Access Protocol (LDAP) By Raghavendra Aekka Professor Dr. Ravi Mukkamala.
LDAP Lightweight Directory Access Protocol LDAP.
Domain Name System. DNS is a client/server protocol which provides Name to IP Address Resolution.
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
The Domain Name System. CeylonLinux DNS concepts using BIND 2 Hostnames IP Addresses are great for computers –IP address includes information used for.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
Domain Name System (DNS) Network Information Center (NIC) : HOSTS.TXT.
Hands-On Microsoft Windows Server 2003 Networking Chapter 6 Domain Name System.
The Domain Name System Unix System Administration Download PowerPoint Presentation.
Hands-On Microsoft Windows Server 2003 Administration Chapter 9 Administering DNS.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
3.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 3: Introducing Active Directory.
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
LDAP LIGHT WEIGHT DIRECTORY ACCESS PROTOCOL PRESENTATION BY ALAKESH APURVA DHAN AND ASH.
Domain Name Services Oakton Community College CIS 238.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
Configuration Management Supplement 67 Robert Horn, Agfa Healthcare.
(ITI310) SESSIONS : Active Directory By Eng. BASSEM ALSAID.
Name Resolution Domain Name System.
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
LDAP Lightweight Directory Access Protocol LDAP.
23/4/2001LDAP Overview - HEPix - LAL 2001 LDAP Overview HEPix – LAL Apr Michel Jouvin
Introduction To OpenLDAP Directory Services. What is a Directory Service? A specialized database optimized for reading, browsing, and searching. No complicated.
Introduce LDAP 张海鹏 SOA Mult - Little system User Manager System (share between other systems) How to store user Information How to access.
LIGHT WEIGHT DIRECTORY ACCESS PROTOCOL Presented by Chaithra H.T.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
Chapter 17 Domain Name System
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 4: Active Directory Architecture.
CITA 310 Section 1 Name Resolution (Textbook Chapter 4)
Domain Names Implementation and specification 陳怡良 RFC #1035.
LDAP: LDIF & DSML Fall 2004 Rev. 2. LDIF Light-weight Data Interchange Format RFC 2849 Common format to exchange data entry schema.
Module 7 Active Directory and Account Management.
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
Implementing LDAP Client/Server System for Directory Service By Maochun Sun Project Advisor: Dr. Chung-E Wang Department of Computer Science California.
1 Kyung Hee University Chapter 18 Domain Name System.
LDAP (Lightweight Directory Access Protocol ) Speaker: Chang-Yu Wu Adviser: Quincy Wu Date:2007/08/22.
Identity Management Technical Training LDAP and Directory Services Joachim Andres Guillaume Andru Renaud Métrich Sun Microsystems, Inc.
Configuring Name Resolution and Additional Services Lesson 12.
1 COP 4343 Unix System Administration Unit 13: LDAP.
1 Internet Network Services. 2 Module - Internet Network Services ♦ Overview This module focuses on configuring and customizing the servers on the network.
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
Linux Operations and Administration
LDAP (Lightweight Directory Access Protocol)
4343 X2 – Outline The Domain Name System The Web.
Web Server Administration Chapter 4 Name Resolution.
Review on Active Directory. Aim Enable users to find network resources easily Central and easy administration of users and resources in a domain Improve.
1 CMPT 471 Networking II DNS © Janice Regan,
Active Directory. Computers in organizations Computers are linked together for communication and sharing of resources There is always a need to administer.
LDAP Lightweight Directory Access Protocol LDAP.
Internet Naming Service: DNS* Chapter 5. The Name Space The name space is the structure of the DNS database –An inverted tree with the root node at the.
Ch 2. Application Layer Myungchul Kim
Active Directory Domain Services (AD DS). Identity and Access (IDA) – An IDA infrastructure should: Store information about users, groups, computers and.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
DNS Domain name server a server to translate IP aliases to addresses
Understand Names Resolution
Networking Applications
Introduction to LDAP Frank A. Kuse.
IMPLEMENTING NAME RESOLUTION USING DNS
LDAP
(ITI310) SESSIONS 6-7-8: Active Directory.
IIS.
CEG 2400 Fall 2012 Directory Services - LDAP
LDAP – Light Weight Directory Access Protocol
UNIVERSITY INSTITUTE OF TECHNOLOGY
LDAP LIGHT WEIGHT DIRECTORY ACCESS PROTOCOL
Presentation transcript:

INFORMATION FOR NETWORK OPERATION

CONTENT Directory service Standard X.500 LDAP

DIRECTORY SERVICE Directory service in the folder are grouped individual attributes – folders contain attributes of different types – special type is folder again; directory structure is hierarchical – Some attributes are required, some allowed – directory structure and attributes in them are defining scheme

ATRIBUTES Each atribute has a name in the same folder we can have multiple attributes with the same name, but with different values ​​- cf. with data structure dictionary The same name in diferent directories represent diferent atribute – Cf. In Java a.b.c doesn‘t equal a.c.c – Chalange: Where have we already met this?

OBJECTS AND NAMESPACES Objects (or entries) are the actual values ​​held by directory structure according to the defined scheme objects that have been included in the directory are in container All objects in container are in the same namespace – Container is similiar structure as dictionary

NAMESPACE AND THE DISTINCTION objects in the name space are re-developed hierarchically objects must differ from each other – way of distinguishing is the part of the designing directory – Rules must be used to distinguish to provide a unique and unambiguous name objects „lives“ in the namespace and not in container

DISTINGUISHING OBJECTS name to distinguish objects is called a distinguished name distinguished name can be absolute or relative - depending on the hierarchy of directories distinguished name is (usually) not stored in directory structure, but is defined by the rules

DISTINGUISHING OBJECTS example – EDUROAM: dn: dc=fakulteta,dc=univerza,dc=si objectClass: top objectclass: dcObject objectClass: organization dc: es-kranj o: Fakulteta in Univerza

NAMESPACE AND MANAGEMENT Cotent of namespace can: – Be divided between different servers (distribution) - distributed directory service – be rewritten in a different server (replication) – namespace content is still managed by original server

DATABASES AND DIRECTORY STRUCTURES traditional, relational, database is organized in tables In directory structure we also have attributes, which are: – Required –similiar to databases – Optional – in some way null values in databases – Repeated – attributes and their structure are standardized (IANA) – objects are grouped in namespaces, and each object inherits all the properties of parents

DNS DNS is actually directory service Required: find the RFC and read it – literature namespace provides FQN (Fully Qualified Name) attributes provide services in the namespace concept of inheritance is not utilized

TYPE meaning A a host address NS an authoritative name server MD a mail destination (Obsolete - use MX) MF a mail forwarder (Obsolete - use MX) CNAME the canonical name for an alias SOA marks the start of a zone of authority MB a mailbox domain name (EXPERIMENTAL) MG a mail group member (EXPERIMENTAL) MR a mail rename domain name (EXPERIMENTAL) NULL a null RR (EXPERIMENTAL) WKS a well known service description PTR a domain name pointer HINFO host information MINFO mailbox or mail list information MX mail exchange TXT text strings

SOFTWARE On FreeBSD named Konfiguration in /etc/named/ * Chalange: install DNS server for your own domain and configure it $ORIGIN SOA Svarun hostmaster ( ; Serial == YYMMDD ; Refresh of cache (in seconds) 3060 ; Retry interval for refresh ; Expire of secondary copy ) ; Default minimum expiration IN NS Svarun ; Svarun IN A Svarun IN HINFO i586 FreeBSD ; ; [ strezniski aliasi ] ; Posta IN CNAME IN MX 50 Posta WWW IN CNAME Svarun

STANDARD X.500 For detailed description look: – actually a family of standards – example: X.509 was the basis for SPKI – Chalange: find RFC for SPKI and find connection between SPKI and X.509 – Required: find on the internet hod X.509 certificate is defined and compare it to SPKI certificate for the operation of the postal system in X standard (X.400) was necessary directory structure

STANDARD X.500 consisting of 4 protocols protocol for accessing directory structure - operations on structure: Bind, Read, List, Search, Compare, Modify, Add, Delete and ModifyRDN standard defines the namespace, and in it are located objects each object is identified by its distinguishing name object can have one or more (also repeated) attributes directory structure consists of a single directory – individual parts of directory directory are used by various servers

LDAP – LIGHTWEIGHT DIRECTORY ACCESS PROTOCOL Described in RFCs 4510 – 4519 – RFC4510: directory and check for other RFCs – RFC4511, Lightweight Directory Access Protocol (LDAP): The Protocol: communication protocol – RFC 4512, Lightweight Directory Access Protocol (LDAP): Directory Information Models: description of directory structures, schemas, attributes, classes challenge: find RFC4511 and RFC4512, and read them. How they relate to each other? RFC LDAP: Authentication Methods and Security Mechanisms RFC LDAP: String Representation of Distinguished Names RFC LDAP: String Representation of Search Filters RFC LDAP: Uniform Resource Locator RFC LDAP: Syntaxes and Matching Rules RFC LDAP: Internationalized String Preparation RFC LDAP: Schema for User Applications

LDAP – LIGHTWEIGHT DIRECTORY ACCESS PROTOCOL Ther are two versions: v2 and v3 V2 is defined in RFC – v2 is withdraw n from service (RFC 3494 – Lightweight Directory Access Protocol version 2 (LDAPv2) to Historic Status) additions to v3 are defined in a variety of RFCs – Required: what is the diference between v2 and v3?

LDAP LDAP is a protocol primarily for communication but also takes into account the metascheme stored data Protocol doesn‘t provide how data is stored on server different implementations: OpenLDAP, ActiveDirectory,...

LDAP - PROTOCOL client begins to communicate with the server on well-known port it has a few commands available (RFC 4511): – start TLS - switch to SSL mode of communication (The alternative is to install a server on other port and implement a comprehensive communications via SSL Protocol - ldaps) challenge: which port is used for ldap protocol and which for ldaps?

LDAP - PROTOCOL commands, continued: – bind - the desire for authentication and other possible communications parameters (version,...). The sessioncan be also unauthorized. – unbind – the end of communication (session).

LDAP - PROTOCOL commands, continued: – search - search for individual objects in the database. The result depends on whether the client is authenticated or not. ldapsearch-L-D 'cn=foo, dc=bar, dc=com' 'objectclass=posixAccount‚ – compare - the ability to compare values of object. It is not necessary to reveal the true value, it only check equality. Suitable for passwords and things like that.

LDAP - PROTOCOL commands, continued: – add - add an object in the database – delete - delete the object from the database – modify - change the value of object attributes – modify DN - change the object name (rename) ldapmodify -r -D 'cn=foo, dc=bar, dc=com' -W < / tmp/user.ldif

LDAP - PROTOCOL commands, continued: – abandon - terminate processing requests, which we sended (it can be cancel search, comparison and corrections to the database) – extended - generic option for any additional command

LDAP SCHEME, CLASS and ATRIBUTES scheme combines various objects and attributes – We can also use inclusive commands (include) to simplify the modularisation classes (objectClass) combine the attributes – described by ASN.1 record – They are part of hierarchy and they inherit properties of parent – specify mandatory and optional attributes

LDAP SCHEME, CLASS and ATRIBUTES attributes describes the properties – described by ASN.1 record – in a way, the definition of type – their realization (instance) will actually nutrient values – They describe the syntax, comparisons method, etc..

CLASSES ObjectClassDescription = "(" whsp numericoid whsp ; ObjectClass identifier [ "NAME" qdescrs ] [ "DESC" qdstring ] [ "OBSOLETE" whsp ] [ "SUP" oids ] ; Superior ObjectClasses [ ( "ABSTRACT" / "STRUCTURAL” / "AUXILIARY" ) whsp ] ; default structural [ "MUST" oids ] ; AttributeTypes [ "MAY" oids ] ; AttributeTypes whsp ")" case of class definitions objectclass ( NAME 'country' SUP top STRUCTURAL MUST c MAY ($ searchGuide description) )

LDAP and DATA To transfer data between LDAP servers we have defined LDIF format: dn: cn=John Doe,dc=example,dc=com cn: John Doe givenName: John sn: Doe telephoneNumber: telephoneNumber: mail: manager: cn=Barbara Doe,dc=example,dc=com objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: person objectClass: top

SOFTWARE On FreeBSD / Linux OpenLDAP server and application programs: – slapd, slurpd – ldapcomapre, ldapdelete... configuration files in / usr / local / etc More on exercises – challenge: install OpenLDAP on your server and configure it

SOFTWARE user programs may include the possibility of fetching data from the LDAP server – freeradius, authentication on unix-s...