Top Banner
Name & Directory Name & Directory Services Services Yang Wang Yang Wang
34

Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Jan 03, 2016

Download

Documents

Justina Kelley
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Name & Directory Name & Directory ServicesServices

Yang WangYang Wang

Page 2: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

OutlineOutline

• Why and What?

• Some important Terms.

• How to do?

• History and Implementation.

• Example and Experiment

• References

Page 3: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Why We Need It?Why We Need It?

• Making a request to a service or accessing an object by means of inter-process communication requires that must one first locate the service or object.[1]

• Look-up operations.

• [1].Randy Chow,Theodore Johnson, “Distributed Operating Systems & Algorithms”, 1998

Page 4: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

What Is It?What Is It?

• Name Service or Directory Service: Describing how a named object can be addressed and subsequently located by using its address.[1]

Page 5: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Resolution processResolution process

• The operation of locating an object.

• Two stages:

• Name resolution maps names to logical addresses. (who the object is.)

Address resolution that maps logical addresses to network routes.(where the object can be found.)[1]

Page 6: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

PurposePurpose

• Enable user to reference network resources with short names instead of real addresses.

• Locate object by attributes.

• Provide a layer of transparency so that the network resources can be managed independently.[3]

Page 7: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

OutlineOutline

• Why and What?

• Some important Terms.

• How to do?

• History and Implementation.

• Example and Experiment

• References

Page 8: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Name SpaceName Space

• Object attributes

• Focus on name and address.

• Collection of names ,with their corresponding attributes and addresses.

Page 9: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Name StructuresName Structures

• 1.flat structure <attributes> Physical

• 2.hierachical <name,attributes,address>

(DNS) Organizational

• 3.structure-free <name,type,attributes,address>

Functional

Page 10: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

OutlineOutline

• Why and What?

• Some important Terms.

• How to do?

• History and Implementation.

• Example and Experiment

• References

Page 11: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Storage model(x.500)Storage model(x.500)

• X.500 DIB directory information base.• DIT Directory Information Tree.• Naming domain: a sub-name space for which

there is a single administrative authority for name management.

• Naming Context: basic units for distributing the info base to Directory Service Agents.

• DSA: The server for the name service.• DUA: directory user agent[1]

Page 12: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 13: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

ResulotionResulotion

• DSA

• DUA initiate the resolution.

3 kinds

Page 14: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 15: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Enhancement Enhancement

• Caching (DNS)

• Replication

Page 16: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

OutlineOutline

• Why and What?

• Some important Terms.

• How to do?

• History and Implementation.

• Example and Experiment

• References

Page 17: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

History of Name ServiceHistory of Name Service

1. In 60s and early in 70s, hosts file and other files used to store parameters and information for locating.

Drawbacks: modify frequently, larger and larger.[7]

[7].Larry Gouthier, 1998, Directory-enabled computing: the directory's expanding role.

Page 18: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

hostshosts

Page 19: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

DNSDNS

• Domain Name Service replaced.

• Dynamic and based on server.

• The first standard directory and the most successful one.

• At the same time, people developed Directory for Novel Netware, MS LAN manager,SNA etc.[7]

Page 20: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

X.500X.500

• DNS only contains host, domain and address, not enough.

• In the 80s, X.500

• Drawback: too complicated, not support by MS.Mainly In unix -> LDAP[7]

• [7].Larry Gouthier, 1998, Directory-enabled computing: the directory's expanding role.

Page 21: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

ImplementationImplementation

• Active Directory for Windows 2000, Server 2003

• Apple Open Directory in Mac OS X Server

• Novell eDirectory - formerly called Novell Directory Services (NDS) for Novell NetWare version 4.x-5.x

• OpenLDAP

• Sun Directory Services

Page 22: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

OutlineOutline

• Why and What?

• Some important Terms.

• How to do?

• History and Implementation.

• Example and Experiment

• References

Page 23: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

ExampleExample

• DNS

• Domain Name System

Page 24: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Name spaceName spaceRoot DomainRoot Domain

SubdomainsSubdomains

Second-Level DomainSecond-Level Domain

Top-Level DomainTop-Level Domain

FQDN:server1.sales.south.nwtraders.com

FQDN:server1.sales.south.nwtraders.com

southsouth

nwtradersnwtraders

comcom

salessales

westwest easteast

orgorgnetnet

Host: server1Host: server1

Page 25: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

DNSDNS Locating ProcessLocating Process

Computer1Computer1

Local DNS Server

Local DNS Server

nwtraders.comnwtraders.com

Root Hint (.)Root Hint (.)

.com.com

Recu

rsive

que

ry fo

r

mail

1.nw

trade

rs.co

m17

2.16

.64.

11

Iterative Query

Iterative Query

Iterative Query

Ask .com

Ask nwtraders.com

Authoritative Response33

22

11

Page 26: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 27: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 28: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 29: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 30: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 31: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.
Page 32: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

Some new researchSome new research

• Load distribution.[6]

• Web Content distribution.[6]

• [6]. James E Kurose, Keith W.Ross, 2007,Computer Networking, 4th Edition.

Page 33: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

ReferencesReferences

• 1.Randy Chow,Theodore Johnson, “Distributed Operating Systems & Algorithms”, 1998

• 2. Jeff Hodges,"Introduction to Directories and LDAP", June 1997

• 3. http://en.wikipedia.org/wiki/Directory_service • 4. http://en.wikipedia.org/wiki/X.500• 5.

http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol

• 6. James E Kurose, Keith W.Ross, 2007,Computer Networking, 4th Edition.

Page 34: Name & Directory Services Yang Wang. Outline Why and What? Some important Terms. How to do? History and Implementation. Example and Experiment References.

continuecontinue

• 7.Larry Gouthier, 1998, Directory-enabled computing: the directory's expanding role.

• 8.Akamai 2007,http://www.akamai.com

• 9.RFC 1034, RFC 1035