diff --git a/ld10-samba.pdf b/ld10-samba.pdf new file mode 100644 index 0000000..837eaa4 Binary files /dev/null and b/ld10-samba.pdf differ diff --git a/ld10-samba.pdf.info b/ld10-samba.pdf.info index b6dd095..0c20a42 100644 --- a/ld10-samba.pdf.info +++ b/ld10-samba.pdf.info @@ -2,8 +2,38 @@ # vim:sts=2:sw=2 PageProps = { 1: { 'transition': PageTurn }, - 2: { 'transition': WipeRight }, + 2: { 'transition': PageTurn }, 3: { 'transition': WipeRight }, 4: { '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 } } diff --git a/ld10-samba.tex b/ld10-samba.tex index e12cad7..474d3a6 100644 --- a/ld10-samba.tex +++ b/ld10-samba.tex @@ -26,6 +26,26 @@ % Definisco filesnippet \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 %%% \title[Linux, Samba e AD]{Fileserver con SAMBA e Windows} \subtitle{Integrazione con \textit{Microsoft Active Directory}} @@ -42,9 +62,6 @@ % \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename} % \logo{\pgfuseimage{university-logo}} -\beamerdefaultoverlayspecification{<+->} -\setbeamercolor{alerted text}{fg=structure} - \begin{document} \begin{frame} @@ -112,7 +129,7 @@ \frametitle{0.0 --- Verifica parametri di rete} \begin{block}{Parametri di rete} - \begin{itemize}[<+->] + \begin{itemize}[<1>] \item Domain Controller: testdc.domain.local, 10.0.0.1 \item File Server: linuxfs.domain.local, 10.0.0.100 \end{itemize} @@ -122,33 +139,33 @@ \begin{frame} \frametitle{0.1 --- Verifica parametri di rete} - \begin{itemize} - \item<1-> Verificare il FQDN:\\[-.5em] - \onslide<1->{ - \begin{filesnippet}{/etc/hosts} - 10.0.0.100 linuxfs.domain.local linuxfs \textbackslash\\ - \hspace{2ex}localhost.localdomain localhost - \end{filesnippet}} - \item<2-> Verificare DNS primario e dominio:\\[-.5em] - \onslide<2->{% - \begin{filesnippet}{/etc/resolv.conf} + \onslide<1->% + Verificare il FQDN:\\[-.5em] + \begin{filesnippet}{/etc/hosts} + 10.0.0.100 linuxfs.domain.local linuxfs \textbackslash\\ + \hspace*{2ex}localhost.localdomain localhost + \end{filesnippet} + + \onslide<2->% + Verificare DNS primario e dominio:\\[-.5em] + \begin{filesnippet}{/etc/resolv.conf} nameserver 10.0.0.1\\ search domain.local\\ domain domain.local - \end{filesnippet}} - \item<3-> Verificare comunicazione e risoluzione nomi:\\[.3em] - \onslide<3->{% - \begin{shell} - ping 10.0.0.1 - \end{shell} - \begin{shell} - ping testdc.domain.local - \end{shell} - \begin{shell} - ping testdc - \end{shell}} - \end{itemize} - + \end{filesnippet} + + \onslide<3->% + Verificare comunicazione e risoluzione nomi:\\[.3em] + \begin{shell} + ping 10.0.0.1 + \end{shell} + \begin{shell} + ping testdc.domain.local + \end{shell} + \begin{shell} + ping testdc + \end{shell} + \end{frame} \begin{frame} @@ -276,5 +293,47 @@ \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{document} diff --git a/todo.txt b/todo.txt deleted file mode 100644 index bec56f7..0000000 --- a/todo.txt +++ /dev/null @@ -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)