Transcript
Page 1: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Directory services

• Directory offline

– Elenchi telefonici

– Guide TV

– Cataloghi acquisti

• Directory online

– Application specific (lotus notes, MS Exchange 5.5, …)

– NOS based (Novell eDirectory, MS Active Directory, SUN nis, …)

– Purpose specific (DNS, …)

– General Purpose (Netscape Directory, OpenLDAP, …)

Page 2: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Caratteristiche directory online

• Dinamiche

• Flessibili

– Estensibili senza ripianificazione

– Flessibilità organizzativa (ricerche flessibili)

• Sicure (Access Control List, autenticazione)

• Personalizzabili (profilazione utente)

Page 3: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Directory vs Database

• Rapporto R/W

• Distribuzione/replicazione

• Performance

• Standard di interoperabilità (SQL/LDAP)

• Transazioni (rollback) e Join

Page 4: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Applicazioni delle directory

• Ricerca informazioni

• Gestione centralizzata oggetti e cfg

• sicurezza

Page 5: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP

• X.500

• LDAP = semplificazione DAP

• LDAPv3– Internazionalizzazione UTF-8– Referrals– Security (SASL/TLS)– Estensibilità (controlli)

Page 6: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP Client LDAP Server

1 – Search operation

2 – Returned entry

3 – Result code

Page 7: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP Client LDAP Server

1 – Search operation, msgid=1

3 – Returned entry, msgid=1

5 – Result code, msgid=2

2 – Search operation, msgid=2

4 – Returned entry, msgid=2

6 – Result code, msgid=1

A client issues multiple LDAP Search request simultaneously

Page 8: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP Client LDAP Server

1 – Open connection and bind

4 – First entry returned

6 – Result of search operation

3 – Search operation

5 – Second entry returned

8 – Close connection

Typical LDAP Exchange

2 – Result of bind operation

7 – Unbind operation

Page 9: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Directory enabled email application

LDAP Server

1 – Search for user Mario Rossi

2 – Entry for Mario Rossi returned

Messaging Server

3 – Client encryps outgoing message using certificate read from directory

4 – Client sends outgoing message to recipient

Page 10: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Modelli operativi di LDAP

• Information Model

• Naming Model

• Functional Model

• Security Model

Page 11: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP Information Model

• Definizione dei tipi di dati

• Oggetti e attributi

• Schema

Page 12: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP Naming Model

dc=example,dc=com

ou=people

cn=Mario Rossi

Page 13: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP Functional Model

• Operazioni che possono essere effettuate– Interrogazione– Update– Autenticazione e controllo– Extended operations

Page 14: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

LDAP Security Model

• Binding

• Anonymous o DN+pwd

• Meccanismi SASL (autenticazione)

• StartTLS (cifratura + autenticazione)

Page 15: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Ciclo di vita di un DS

• Design

• Deployment

• Maintenance

Page 16: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Design di un DS

• Directory needs

• Data

• Schema

• Namespace

• Topology

• Replication

• Security

Page 17: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Fase di Deployment di un DS

• Choose directory software

• Piloting

• Analyzing cost

• User feedback

• Moving to production

Page 18: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Fase di Maintenance di un DS

• Backup e Disaster recovery

• Data maintenance

• Monitoring

• Troubleshooting

• Change requirements

Page 19: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

top

person

organizationalPerson

inetOrgPerson

Sup

erio

r cla

ssM

ore attributes

Page 20: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

dc=example,dc=com

OU = People

Directory Distribuita

OU = AcctOU = HR

Page 21: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

DC=example,DC=com

OU = People

Directory Distribuita

OU = AcctOU = HR

Page 22: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange

Knowledge Referencesdc=example,dc=com

Immediate superior knowledge reference

Subordinate references


Top Related