23
Introduce LDAP 张张张 2008-07-25

Introduce LDAP

  • Upload
    stesha

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

Introduce LDAP. 张海鹏 2008-07-25. SOA. Mult - Little system User Manager System (share between other systems) How to store user Information How to access user Information. The role of Directory in SOA???. Lightweight Directory Access Protocol. X.500 : series standards for Directory. - PowerPoint PPT Presentation

Citation preview

Page 1: Introduce LDAP

Introduce LDAP

张海鹏 2008-07-25

Page 2: Introduce LDAP

SOA

• Mult - Little system• User Manager System (share between other

systems)• How to store user Information• How to access user Information

Page 3: Introduce LDAP

The role of Directory in SOA???

Page 4: Introduce LDAP

Lightweight Directory Access Protocol

• X.500 : series standards for Directory

Page 5: Introduce LDAP
Page 6: Introduce LDAP

Directory Service

• 人名地址录• 电话号码薄• 目录• 区号目录

• 读频繁,改动少• 简单• 有层次

Page 7: Introduce LDAP

Directory vs relation Database

• May No transactions• Hierarchical,Tree,Ob

ject• objectClass• objectClass are

standardized.

• Must transactions• Relation• Table• Table are

customized,special

Page 8: Introduce LDAP

DIT

Page 9: Introduce LDAP

Entry (node in tree)

Page 10: Introduce LDAP

So..

Page 11: Introduce LDAP

Directory Stucture

• A directory is a tree of directory entries• An entry consiss of a set of attributes• An attribute has a name and one or

more values. • Each entry has a unique identifier: its

Distinguished Name.

Page 12: Introduce LDAP

Schema

• object Class (Table)• Attribute (Field)• Rule• Syntax (Type)

The object Class can be inherited

Page 13: Introduce LDAP

Shcema – Object identify(OID)

• Attributes and objectClasses are standardized throughout the industry and formally registered with the IANA for their object ID.

• IANA (Internet Assigned Numbers Authority)

• How custom Schema???

Page 14: Introduce LDAP

Common Object Class

Page 15: Introduce LDAP

X.500 series standards

Page 16: Introduce LDAP

X.509

Page 17: Introduce LDAP

Product

• Oracle Internet Directory• Red Hat Directory Server• Sun Java System Directory Server• Apache Directory Server• Active Directory• IBM Tivoli Directory Server• eDirecotry

Page 18: Introduce LDAP

LDAP

• Lightweight Directory Access Protocal

• Lightweight Directory Brower Protocal

Page 19: Introduce LDAP

Operations

• Bind• Start TLS• Search• Compare• Extended Operation

• Add• Delete• Modify• Abandon• Unbind

Page 20: Introduce LDAP

Search other Operation

• Base DN• Scope• Filter

• New Entry• Modify Entry• Delete Entry

Page 21: Introduce LDAP

LDIF

• LDAP Data Interchange Format

dn: cn=John Doe,dc=example,dc=com cn: John Doe givenName: John sn: Doe telephoneNumber: +1 888 555 6789 telephoneNumber: +1 888 555 1232 mail: [email protected] manager: cn=Barbara Doe,dc=example,dc=com objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: person objectClass: top

Page 22: Introduce LDAP

LDAP common Use

Page 23: Introduce LDAP

Thanks!

Good night!