openldap
play

OpenLDAP Developer Conference 2011 PRESENTED BY: Jan Velk Red Hat - PowerPoint PPT Presentation

OpenLDAP Developer Conference 2011 PRESENTED BY: Jan Velk Red Hat Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) http://creativecommons.org/licenses/by-sa/3.0/ topics what is LDAP database structure difference from other


  1. OpenLDAP Developer Conference 2011 PRESENTED BY: Jan Včelák Red Hat Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) http://creativecommons.org/licenses/by-sa/3.0/

  2. topics ● what is LDAP ● database structure ● difference from other Dbs ● server architecture ● data distrubution ● configuration

  3. LDAP ● Lightweight Directory Access Protocol ● X.500 (DAP, DSP, DISP, DOP) ● address book ● user management ● authentication (password, SSH key, ...) ● central configuration (DNS, DHCP, autofs, ...) ● authentication backend (Kerberos, Radius, ...) ● ....

  4. Directory Information Tree dc=example,dc=com l=Brno l=New York ou=Development ou=Accounting ou=Sales cn=Jan Novák cn=John Doe

  5. entries ● DN (Distinguish Name) ● RDN (Relative Distinguish Name) cn=John Doe ,ou=Sales, l=New York,dc=example,dc=com

  6. LDIF dn: uid=jdoe,dc=example,dc=com objectClass: top objectClass: person objectClass: inetOrgPerson cn: John Doe sn: Doe uid: fbar givenName: John userPassword: secret departmentNumber: 2220 mobile: +1 213 151-5816 mail: fbar@example.com usercertificate;binary:: MIIBvjCCASegAwIBAgIBAjANBgkqhki G9w0BAQQFADAnMQ8wDQYDVQQDEwZjb25maWcxFDASBgNVBAMTC01NUi BDQSBDZXJ0MB4XDTAxMDQwNTE1NTEwNloXDTExMDcw...

  7. schema – classes objectclass ( 2.16.840.1.113730.3.2.2 NAME 'inetOrgPerson' DESC 'RFC2798: Internet Organizational Person' SUP organizationalPerson STRUCTURAL MAY ( audio $ businessCategory $ carLicense $ departmentNumber $ displayName $ employeeNumber $ employeeType $ givenName $ homePhone $ homePostalAddress $ initials $ jpegPhoto $ labeledURI $ mail $ manager $ mobile $ o $ pager $ photo $ roomNumber $ secretary $ uid $ userCertificate $ x500uniqueIdentifier $ preferredLanguage $ userSMIMECertificate $ userPKCS12 ) )

  8. schema – attributes attributetype ( 2.16.840.1.113730.3.1.39 NAME 'preferredLanguage' DESC 'RFC2798: preferred written or spoken language for a person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )

  9. difference from other DBs ● data organization ● data operations ● referential integrity ● transactions ● distribution by design ● schema

  10. OpenLDAP server architecture request overlays LDAP operations backends storage

  11. available modules accesslog dyngroup rwm auditlog dynlist seqmod back_sql memberof smbk5pwd chain pbind sssvlv collect pcache syncprov constraint ppolicy translucent dds refint unique deref retcode valsort

  12. data distribution - referrals dc=example,dc=com l=Brno, l=New York, dc=example, dc=example, dc=com dc=com

  13. data distribution - replication l=Brno, l=Brno, dc=example, dc=example, dc=com dc=com ldap.brno.example.com ldap-backup.brno.example.com

  14. configuration ● cn=config ● since 2.3 ● LDIF backend - /etc/openldap/slapd.d ● on-the-fly modification ● man slapd-config ● /etc/openldap/slapd.conf ● works – but please, do not use ● man slapd.conf

  15. Questions? CONT ACT: jvcelak@redhat.com Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) http://creativecommons.org/licenses/by-sa/3.0/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend