\documentclass[a4paper,17pt]{foils}
\usepackage[german]{babel}
\usepackage[dvips]{graphicx}

\title{LDAP Demystified}
\author{Daniel Tiefnig}

\begin{document}
\maketitle



\foilhead{Was ist LDAP}
\LogoOff
\begin{itemize}

  \item Was ist ein Verzeichnisdienst
  \begin{itemize}

    \item X.500, DAP

    \item LDAPv2

    \item LDAPv3

  \end{itemize}
\vskip20pt

  \item Was kann in einem Verzeichnis gespeichert werden
\vskip20pt

  \item Wie wird die Information gespeichert

\end{itemize}



\foilhead{}

\begin{figure}
\begin{center}
\includegraphics{trad_tree.eps}
\end{center}
\end{figure}



\foilhead{}

\begin{figure}
\begin{center}
\includegraphics{int_tree.eps}
\end{center}
\end{figure}



\foilhead{Distinguished Names}
\begin{center}
\vskip70pt

cn=dtiefnig,ou=development,o=inode,st=styria,c=AT
\vskip20pt

uid=dtiefnig,ou=development,dc=inode,dc=at
\end{center}



\foilhead{LDIF - content}

dn-spec = \dq{}dn:\dq FILL distinguishedName
\vskip50pt

attrval-spec = AttributeDescription value-spec

AttributeDescription = AttributeType [\dq;\dq options]

value-spec = \dq:\dq ( \hspace*{14pt} FILL (SAFE-STRING) /\newline
\hspace*{155pt}     \dq:\dq FILL (BASE64-STRING) /\newline
\hspace*{150pt}  \dq\flq\dq FILL url)\newline
\vskip50pt

\noindent\emph{dn: uid=dtiefnig,ou=development,dc=inode,dc=at\newline
objectclass: person\newline
objectclass: uidobject\newline
uid: dtiefnig\newline
cn: Daniel Tiefnig\newline
sn: Tiefnig\newline
userpassword: \{crypt\}c4jHzc08CN.ug\newline}



\foilhead{LDIF - changes}

changerecord = \dq{}changetype:\dq FILL\newline
\hspace*{200pt}  (change-add / change-delete /\newline
\hspace*{206pt}  change-modify / change-moddn)\newline
\vskip50pt

\noindent\emph{dn: uid=dtiefnig,ou=development,dc=inode,dc=at\newline
changetype: modify\newline
replace: userpassword\newline
userpassword: \{crypt\}c4DqXPxcxUDNI\newline
-\newline
add: telephoneNumber\newline
telephonenumber: 555-0161\newline
telehonenumber: 555-1013\newline}



\foilhead{Konfigurationen}
\begin{center}
Einfaches Verzeichnis

\vskip230pt

\begin{figure}
\begin{center}
\hspace*{80pt}\includegraphics{config_local.eps}
\end{center}
\end{figure}

\end{center}



\foilhead{Konfigurationen}
\begin{center}
Repliziertes Verzeichnis

\vskip200pt

\begin{figure}
\begin{center}
\hspace*{80pt}\includegraphics{config_repl.eps}
\end{center}
\end{figure}

\end{center}



\foilhead{Konfigurationen}
\begin{center}
Verteiltes Verzeichnis

\end{center}



\foilhead{OpenLDAP}

\begin{itemize}

  \item LDAPv3
  \item Simple Authentication and Security Layer (SASL)
  \item Transport Layer Security (TLS)
  \item TCP wrappers
  \item Access control
  \item Internationalisierung (Unicode)
  \item Modulare Schnittstelle
  \item Threads
  \item Replikation
  \item Einfache Konfiguration

\end{itemize}



\foilhead{slapd Konfiguration}

\noindent{}Externe Konfigurationen\newline
\emph{include \flq{}filename\frq}

\noindent{}Access Control\newline
\emph{access to \flq{}what\frq [ by \flq{}who\frq \flq{}accesslevel\frq \flq{}control\frq ]+}

\noindent{}Datenbanken\newline
\emph{database \flq{}type\frq\newline
suffix \flq{}dn suffix\frq\newline
rootdn \flq{}dn\frq\newline
rootpw \flq{}password\frq\newline
directory \flq{}directory\frq\newline
index \{\flq{}attrlist\frq | default\} [pres,eq,approx,sub,none]\newline}



\foilhead{Schema Spezifikation}
\noindent{}OpenLDAP 1.x:\newline
\emph{
objectclass person\newline
\hspace*{20pt}  requires\newline
\hspace*{40pt}    objectClass,\newline
\hspace*{40pt}    cn\newline
\hspace*{20pt}  allows\newline
\hspace*{40pt}    sn,\newline
\hspace*{40pt}    userPassword,\newline
\hspace*{40pt}    telephoneNumber,\newline
\hspace*{40pt}    seeAlso,\newline
\hspace*{40pt}    description
}

\noindent{}OpenLDAP 2.x:\newline
\emph{
objectclass ( 2.5.6.6 NAME 'person'\newline
\hspace*{20pt}    DESC 'RFC2256: a person'\newline
\hspace*{20pt}    SUP top STRUCTURAL\newline
\hspace*{20pt}    MUST ( sn \$ cn )\newline
\hspace*{20pt}    MAY ( userPassword \$ telephoneNumber \$ \newline
\hspace*{72pt}          seeAlso \$ description ) )
}

\noindent\emph{attributetype ( 2.5.4.13 NAME 'description'\newline
\hspace*{20pt}    DESC 'RFC2256: descriptive information'\newline
\hspace*{20pt}    EQUALITY caseIgnoreMatch\newline
\hspace*{20pt}    SUBSTR caseIgnoreSubstringsMatch\newline
\hspace*{20pt}    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15\{1024\} )
}


\end{document}
