![Page 1: Directory services Directory offline –Elenchi telefonici –Guide TV –Cataloghi acquisti Directory online –Application specific (lotus notes, MS Exchange](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/1.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/2.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/3.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/4.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/5.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/6.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/7.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/8.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/9.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/12.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/13.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/14.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/15.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/16.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/17.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/18.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/19.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/20.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/21.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022062701/5542eb50497959361e8bf92d/html5/thumbnails/22.jpg)
Knowledge Referencesdc=example,dc=com
Immediate superior knowledge reference
Subordinate references