Finished. Just leaving it here for late corrections :)

This commit is contained in:
Emiliano Vavassori 2010-09-13 20:32:51 +02:00
parent 3ce4641ab3
commit a86513b1d8
4 changed files with 118 additions and 36 deletions

BIN
ld10-samba.pdf Normal file

Binary file not shown.

View File

@ -2,8 +2,38 @@
# vim:sts=2:sw=2 # vim:sts=2:sw=2
PageProps = { PageProps = {
1: { 'transition': PageTurn }, 1: { 'transition': PageTurn },
2: { 'transition': WipeRight }, 2: { 'transition': PageTurn },
3: { 'transition': WipeRight }, 3: { 'transition': WipeRight },
4: { 'transition': WipeRight }, 4: { 'transition': WipeRight },
5: { 'transition': WipeRight }, 5: { 'transition': WipeRight },
6: { 'transition': WipeRight },
7: { 'transition': WipeRight },
8: { 'transition': PageTurn },
9: { 'transition': WipeRight },
10: { 'transition': PageTurn },
11: { 'transition': WipeRight },
12: { 'transition': WipeRight },
13: { 'transition': WipeRight },
14: { 'transition': WipeRight },
15: { 'transition': PageTurn },
16: { 'transition': PageTurn },
17: { 'transition': WipeRight },
18: { 'transition': WipeRight },
19: { 'transition': PageTurn },
20: { 'transition': WipeRight },
21: { 'transition': PageTurn },
22: { 'transition': WipeRight },
23: { 'transition': WipeRight },
24: { 'transition': PageTurn },
25: { 'transition': PageTurn },
26: { 'transition': PageTurn },
27: { 'transition': WipeRight },
28: { 'transition': PageTurn },
29: { 'transition': WipeRight },
30: { 'transition': WipeRight },
31: { 'transition': WipeRight },
32: { 'transition': PageTurn },
33: { 'transition': PageTurn },
34: { 'transition': WipeRight },
35: { 'transition': PageTurn }
} }

View File

@ -26,6 +26,26 @@
% Definisco filesnippet % Definisco filesnippet
\newenvironment{filesnippet}[1]{\begin{block}{Snippet: \texttt{#1}}\ttfamily}{\end{block}} \newenvironment{filesnippet}[1]{\begin{block}{Snippet: \texttt{#1}}\ttfamily}{\end{block}}
% Definisco un po' di modifiche sulla bibliografia
\setbeamertemplate{bibliography item}[triangle]
\setbeamercolor*{bibliography entry author}{fg=black}
% Un po' di altri settaggi
\beamerdefaultoverlayspecification{<+->}
\setbeamercolor{alerted text}{fg=structure}
\setbeamertemplate{footline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,right]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~(\insertshortinstitute)\hspace*{2ex}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex]{title in head/foot}%
\hspace*{2ex}\usebeamerfont{title in head/foot}\insertshorttitle\hfill%
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}}
\vskip0pt%
}
%%% Global structure %%% %%% Global structure %%%
\title[Linux, Samba e AD]{Fileserver con SAMBA e Windows} \title[Linux, Samba e AD]{Fileserver con SAMBA e Windows}
\subtitle{Integrazione con \textit{Microsoft Active Directory}} \subtitle{Integrazione con \textit{Microsoft Active Directory}}
@ -42,9 +62,6 @@
% \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename} % \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename}
% \logo{\pgfuseimage{university-logo}} % \logo{\pgfuseimage{university-logo}}
\beamerdefaultoverlayspecification{<+->}
\setbeamercolor{alerted text}{fg=structure}
\begin{document} \begin{document}
\begin{frame} \begin{frame}
@ -112,7 +129,7 @@
\frametitle{0.0 --- Verifica parametri di rete} \frametitle{0.0 --- Verifica parametri di rete}
\begin{block}{Parametri di rete} \begin{block}{Parametri di rete}
\begin{itemize}[<+->] \begin{itemize}[<1>]
\item Domain Controller: testdc.domain.local, 10.0.0.1 \item Domain Controller: testdc.domain.local, 10.0.0.1
\item File Server: linuxfs.domain.local, 10.0.0.100 \item File Server: linuxfs.domain.local, 10.0.0.100
\end{itemize} \end{itemize}
@ -122,32 +139,32 @@
\begin{frame} \begin{frame}
\frametitle{0.1 --- Verifica parametri di rete} \frametitle{0.1 --- Verifica parametri di rete}
\begin{itemize} \onslide<1->%
\item<1-> Verificare il FQDN:\\[-.5em] Verificare il FQDN:\\[-.5em]
\onslide<1->{ \begin{filesnippet}{/etc/hosts}
\begin{filesnippet}{/etc/hosts} 10.0.0.100 linuxfs.domain.local linuxfs \textbackslash\\
10.0.0.100 linuxfs.domain.local linuxfs \textbackslash\\ \hspace*{2ex}localhost.localdomain localhost
\hspace{2ex}localhost.localdomain localhost \end{filesnippet}
\end{filesnippet}}
\item<2-> Verificare DNS primario e dominio:\\[-.5em] \onslide<2->%
\onslide<2->{% Verificare DNS primario e dominio:\\[-.5em]
\begin{filesnippet}{/etc/resolv.conf} \begin{filesnippet}{/etc/resolv.conf}
nameserver 10.0.0.1\\ nameserver 10.0.0.1\\
search domain.local\\ search domain.local\\
domain domain.local domain domain.local
\end{filesnippet}} \end{filesnippet}
\item<3-> Verificare comunicazione e risoluzione nomi:\\[.3em]
\onslide<3->{% \onslide<3->%
\begin{shell} Verificare comunicazione e risoluzione nomi:\\[.3em]
ping 10.0.0.1 \begin{shell}
\end{shell} ping 10.0.0.1
\begin{shell} \end{shell}
ping testdc.domain.local \begin{shell}
\end{shell} ping testdc.domain.local
\begin{shell} \end{shell}
ping testdc \begin{shell}
\end{shell}} ping testdc
\end{itemize} \end{shell}
\end{frame} \end{frame}
@ -276,5 +293,47 @@
\end{frame} \end{frame}
\begin{frame}
\frametitle{Un \textit{cadeau}}
Possiamo «importare» magicamente gruppi e utenze all'interno della macchina
Linux aggiungendo un paio di righe:\newline
\begin{filesnippet}{/etc/nsswitch.conf}
passwd: compat \alert{winbind}\\
group: compat \alert{winbind}\\
shadow: compat \alert{winbind}
\end{filesnippet}
\end{frame}
\begin{frame}
\frametitle{Cosa possiamo fare ora?}
A partire da quanto messo a punto ora possiamo implementare:
\begin{itemize}[<+->]
\item un proxy autenticato (Squid + \texttt{auth\_ntlm})
\item un \textit{domain controller} Linux-based (LDAP)
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Sitografia}
\begin{thebibliography}{The Samba HOWTO and Reference Guide}
\bibitem<1>[SAMBA]{SAMBA}
The Official Samba 3.5.x HOWTO and Reference Guide
\newblock\alert{\url{http://tinyurl.com/samba-howto}}
\bibitem<1>[Deb-DC]{Deb-DC}
Samba e OpenLDAP: creare un controller di dominio con Debian Lenny
\newblock\alert{\url{http://tinyurl.com/deb-dc}}
\bibitem<1>[Deb-SDC]{Deb-SDC}
Samba, OpenLDAP, Kerberos: creare un controller di dominio sicuro con
Debian Lenny
\newblock\alert{\url{http://tinyurl.com/deb-secure-dc}}
\end{thebibliography}
\end{frame}
% End slide % End slide
\end{document} \end{document}

View File

@ -1,7 +0,0 @@
* nssswitch.conf
* proxy autenticato, fileserver, ldap...
* impressive info
* riferimenti a siti:
[The Official Samba 3.5.x HOWTO and Reference Guide](http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/)
[Samba e OpenLDAP: creare un controller di dominio con Debian Lenny](http://guide.debianizzati.org/index.php/Samba_e_OpenLDAP:_creare_un_controller_di_dominio_con_Debian_Lenny)
[Samba, OpenLDAP, Kerberos: creare un controller di dominio sicuro con Debian Lenny](http://guide.debianizzati.org/index.php/Samba,_OpenLDAP,_Kerberos:_creare_un_controller_di_dominio_sicuro_con_Debian_Lenny)