1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
2 "http://www.w3.org/TR/REC-html40/loose.dtd">
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7 <META name="GENERATOR" content="hevea 1.06">
13 <A HREF="smbldap-tools002.html"><IMG SRC ="previous_motif.gif" ALT="Précédent"></A>
14 <A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Remonter"></A>
15 <A HREF="smbldap-tools004.html"><IMG SRC ="next_motif.gif" ALT="Suivant"></A>
18 <H2><A NAME="htoc5">2</A> Installation</H2><UL>
19 <LI><A HREF="smbldap-tools003.html#toc4"> Requirements</A>
20 <LI><A HREF="smbldap-tools003.html#toc5"> Installation</A>
24 <H3><A NAME="htoc6">2.1</A> Requirements</H3>
25 The main requirement for using smbldap-tools are the two perl module:
26 Net::LDAP and Crypt::SmbHash.
27 In most cases, you'll also need the IO-Socket-SSL Perl module to use
28 TLS functionnality.<BR>
30 If you want samba to call the scripts so that you can use the User
31 Manager (or any other) under MS-Windows (to add, delete modify users and
32 groups), <FONT COLOR=purple>Samba</FONT> must be installed on the same computer.
33 Finally, <FONT COLOR=purple>OpenLDAP</FONT> can be installed on any computer. Please check that it
34 can be contacted by a standard LDAP client software.<BR>
36 <FONT COLOR=purple>Samba</FONT> and <FONT COLOR=purple>OpenLDAP</FONT> installations will not be discussed
37 here. You can consult the howto also available on the
38 project page (<TT>http://samba.IDEALX.org</TT>). Altought is has been
39 written for Samba2, most of its content still apply to Samba3. The main
40 difference stands in LDAP schema's definitions.<BR>
43 <H3><A NAME="htoc7">2.2</A> Installation</H3>
44 An archive of the <FONT COLOR=purple>smbldap-tools</FONT> scripts can be downloaded on our project
45 page <TT>http://samba.IDEALX.org/</TT>. Archive and RedHat packages are
48 If you are upgrading, look at the <TT>INSTALL</TT> file or read the link
49 <A HREF="smbldap-tools007.html#faq::error::add::user">6.13</A>.<BR>
52 <H4><A NAME="htoc8">2.2.1</A> Installing from rpm</H4>
53 To install the scripts on a RedHat system, download the RPM
54 package and run the following command:
56 rpm -Uvh smbldap-tools-0.8.5-1.i386.rpm
59 <H4><A NAME="htoc9">2.2.2</A> Installing from a tarball</H4>
60 On non RedHat system, download a source archive of the scripts. The current
61 archive is <TT>smbldap-tools-0.8.5.tar.gz</TT>.
62 Uncompress it and copy all of the Perl scripts in <TT>/usr/local/sbin</TT>
63 directory, and the two configuration files in
64 <TT>/etc/opt/IDEALX/smbldap-tools/</TT> directory:
66 mkdir /etc/opt/IDEALX/smbldap-tools/
67 cp *.conf /etc/opt/IDEALX/smbldap-tools/
68 cp smbldap-* /usr/local/sbin/
70 The configuration is now based on two differents files:
72 <TT>smbldap.conf</TT>: define global parameter
73 <LI><TT>smbldap_bind.conf</TT>: define an administrative account to
76 The second file <B>must</B> be readable only for 'root', as it contains
77 credentials allowing modifications on all the directory. Make sure the
78 files are protected by running the following commands:
80 chmod 644 /etc/opt/IDEALX/smbldap-tools/smbldap.conf
81 chmod 600 /etc/opt/IDEALX/smbldap-tools/smbldap_bind.conf
83 <A HREF="smbldap-tools002.html"><IMG SRC ="previous_motif.gif" ALT="Précédent"></A>
84 <A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Remonter"></A>
85 <A HREF="smbldap-tools004.html"><IMG SRC ="next_motif.gif" ALT="Suivant"></A>