diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-05-10 16:35:24 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-05-10 20:49:09 +0200 |
commit | 460731bcf9cf9ffec50d5761cd63887a72a93b3d (patch) | |
tree | 7010a95d93c6cf502299d9000db34fa80e934546 /schemas/ldap.tex | |
parent | 2e41eb3c10282d87eab6b3a2f9fa9d16ed3b480a (diff) |
Better colors and presentation.
Diffstat (limited to 'schemas/ldap.tex')
-rw-r--r-- | schemas/ldap.tex | 158 |
1 files changed, 0 insertions, 158 deletions
diff --git a/schemas/ldap.tex b/schemas/ldap.tex deleted file mode 100644 index d4a681e..0000000 --- a/schemas/ldap.tex +++ /dev/null @@ -1,158 +0,0 @@ -\documentclass[10pt,a4paper]{article} -\usepackage[english]{babel} -\usepackage[T1]{fontenc} -\usepackage[utf8x]{inputenc} -\usepackage{array} -\usepackage{ae} -\usepackage{tikz} -\usetikzlibrary{trees,calc} - -\def\dn#1{\texttt{#1}} - -\newenvironment{entry}[1] - {\begin{minipage}[t][0pt][t]{10cm} - \texttt{#1} - \\[.1\baselineskip] \phantom{cn=}% - \begin{tabular}[!t]{@{}>{\ttfamily\bgroup}l<{\egroup}@{:~}% - >{\sffamily\bgroup}l<{\egroup}@{}}% - } - { \end{tabular} - \end{minipage}} - -\thispagestyle{empty} -\begin{document} - -\tikzset{ - ldaptree/.style = { - grow via three points={one child at (1cm,-1.5\baselineskip) and two children at (1cm,-1.5\baselineskip) and (1cm,-3\baselineskip)}, - growth parent anchor=south west, - edge from parent path={($(\tikzparentnode.south west)+(2.5ex,0)$) |- (\tikzchildnode.west)}, - }, - every node/.style = {anchor=west}, - dn/.style = {font=\ttfamily} -} - -\begin{tikzpicture}[ldaptree] - \node[dn] { {o=mailhosting,dc=fripost,dc=org} } - child { - node[dn] { ou=managers } - child { - node { - \begin{entry}{cn=gustav} - userPassword & \{SSHA\}xxxxxx - \end{entry} - } - } - child [missing] {} - child[dn] { - node { - \begin{entry}{cn=ljo} - userPassword & \dots - \end{entry} - } - } - } - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child { - node[dn] { ou=services } - child { - node { - \begin{entry}{cn=SMTP} - userPassword & \{SSHA\}xxxxxx - \end{entry} - } - } - child [missing] {} - child { - node { - \begin{entry}{cn=SASLauth} - userPassword & \dots - \end{entry} - } - } - } - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child { - node[dn] { ou=virtual } - child { - node { - \begin{entry}{dc=fripost.org} - isActive & TRUE - \end{entry} - } - child [missing] {} - child - { - node { - \begin{entry}{mailTarget=user@fripost.org} - mailLocalAddress & user-alias \\ - isActive & TRUE - \end{entry} - } - } - child [missing] {} - child [missing] {} - child - { node { \dn{mailTarget=\dots} } - } - child - { - node { - \begin{entry}{uid=user} - userPassword & \{SSHA\}xxxxxx \\ - isactive & TRUE - \end{entry} - } - } - child [missing] {} - child [missing] {} - child - { node { \dn{uid=\dots} } - } - } - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child [missing] {} - child { - node { - \begin{entry}{dc=example.org} - owner & \texttt{uid=user,dc=fripost.org,ou=virtual,\dots} \\ - isActive & TRUE - \end{entry} - } - child [missing] {} - child - { - node { - \begin{entry}{mailTarget=user@fripost.org} - mailLocalAddress & user \\ - isActive & TRUE - \end{entry} - } - } - child [missing] {} - child [missing] {} - child - { node { \dn{mailTarget=\dots} } - } - child - { node { \dn{uid=\dots} } - } - } - }; -\end{tikzpicture} - -\end{document} |