15
Exploring Directory Services

Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Embed Size (px)

Citation preview

Page 1: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Exploring Directory Services

Page 2: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Need for DS

• Multiple servers, multiple services in single network– Multiple servers for reliability, security, optimizing

cpu usage– Impossible to handle separate administration on

each server for all users.

• DS brings organization to this clutter– All network information stored in the directory

• Printers, folders, users, groups, servers– Eliminates duplicating information on different

servers• No need to maintain separate user list on all servers• Single directory service with single set of users

– Assign rights/privileges using directory

Page 3: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

More on DS• Five Important DS:

• NDS: (runs on Netware 4.x or higher)– Popular for the longest time– Provides single directory for managing multivendor

network (edirectory)• ADS: (Windows 2003 servers)• Windows NT Domain:

– Not a full DS. Provides some features• X.500 Directory Access Protocol (DAP):

– International standard directory– Provides too many feature to be used– Deployment and management is difficult

• LDAP:– Subset of X.500– NDS and ADS

Page 4: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Directory Structure• (inverted) Tree-based organization• Consists of three major types of objects:

– Root• Represents the beginning of the tree

– Containers.• Can hold other containers or objects• Three types

– Country: uses valid two-digit country code. C=– Organization: must have atleast one O= – Organizational Unit: OU=

– Leaf.• Represent the actual resource on the network• Entities such as printers, folders, users• Cannot contain other objects

• All objects on the tree has attributes/properties

Page 5: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

DS management:• Replication:

No directory -> no network.– Two approaches:

• Primary/backup model– Backups can be promoted in the absence of

primary

• Multimaster model– All servers are peers to one another

• Partition:– Different servers keep different parts of the

directory

Page 6: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

DS management:

• Replicating:• Duplicate DS database for redundancy.• Improved performance: by reducing time to

authenticate• Fault Tolerance : authenticating when master server

is down• Reliability : by maintaining a separate copy.• Synchronization & communication time overhead (-)

– DS distributed over WAN.

• Handling concurrent changes:– NDS: uses time stamps– ADS: uses sequence numbers

Page 7: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

..DS management:• Partitioning:

– Reduce overhead of sync-ing entire DS.– Dividing the DS database, so that only part of the

entire DS is replicated.• Each LAN holding host its own partition and can still

access the entire tree.• Improved WAN performance

– Typically not necessary for smaller networks on same LAN.

– Windows 2003• Global catalog: controlling directory server managing

the entire tree.

Page 8: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Tree Models• Single-site Networks

– Multiple servers on a single LAN

• Multisite, geographically designed trees– OU = regional offices, branch office within region– Easier to share resources on a regional basis

• Multisite, function-based networks– Containers represent functional areas– resource sharing within regions becomes difficult.– Failure could affect other OU’s.

• Multisite, Star-configured Networks.– Network partitioned into satellite units.– Partitions replicated to central site.– synchronized from central to other site.– Heavy dependence on central site

Page 9: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

DS Trees

• Defining factors– cost and efficiency of the WAN links– amount of DS information to be transferred

over the links.

• DS Challenge:– Using a single DS to handle multiple NOS on

the same network.

Page 10: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Useful tips to plan a tree

• Place users & resource they use in close proximity.

• Use aliases, roles, groups, profiles• avoid excessive sub-categorization• “rights flow down” - eases

administration.• Impact of partition & replication on n/w

performance.

Page 11: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Novell Directory Service– Uses the Master/Slave model– Easily handles hundreds of servers and millions

of users.– Can manage other NOS like windows 2k, Unix,

linux– Tree can be managed from workstations using

graphical or text-based tools (NetAdmin).– Console1 – latest java based management tool.

Page 12: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Active Directory Service

• Runs on windows 2000/2003/2008• Fully compatible with LDAP v.2 and v.3• Tightly integrated with DNS• Multimaster model

– All domain controllers are full participants

• Allows Forests – Group of trees– Each tree has its own domain and domain controllers

• No more trust-relationships• Two modes

– mixed (compatibility with NT servers) – Native mode (all 2000 based systems)

Page 13: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

Windows NT Domain

• Breaks an organization into chunks called domains

• Controlled by PDC and BDC’s.– BDC can be promoted or demoted

• Four possible models– Single-domain model– Master domain model– Multiple master domain model– Complete trust model

• Trust becomes very difficult to manage in case of large numbers of domains

Page 14: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

X.500

• Developed by ITU and OSI• A standard that can be used by the

entire internet.• Complex and extensive functionalities

CN=foo, OU=Engg, OU= EastCoast, O=info, C= USA

Page 15: Exploring Directory Services. Need for DS Multiple servers, multiple services in single network –Multiple servers for reliability, security, optimizing

LDAP

• Developed by a consortium of companies• Subset of X.500

– Fewer fields and functions that X.500

• Four basic models:– Information Model

• Defines the structure of data stored in directory– Naming Model

• Defines how to reference and organize the data– Functional Model

• Defines how to work with the data– Security Model

• Defines how to secure the data