• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/examples/LDAP/smbldap-tools-0.9.2/doc/html/
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
2            "http://www.w3.org/TR/REC-html40/loose.dtd">
3<HTML>
4<HEAD>
5
6<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7<META name="GENERATOR" content="hevea 1.06">
8<TITLE>
9 Installation
10</TITLE>
11</HEAD>
12<BODY >
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>
16<HR>
17
18<H2><A NAME="htoc5">2</A>&nbsp;&nbsp;Installation</H2><UL>
19<LI><A HREF="smbldap-tools003.html#toc4"> Requirements</A>
20<LI><A HREF="smbldap-tools003.html#toc5"> Installation</A>
21</UL>
22
23<A NAME="toc4"></A>
24<H3><A NAME="htoc6">2.1</A>&nbsp;&nbsp;Requirements</H3>
25The main requirement for using smbldap-tools are the two perl module:
26Net::LDAP and Crypt::SmbHash.
27In most cases, you'll also need the IO-Socket-SSL Perl module to use
28TLS functionnality.<BR>
29<BR>
30If you want samba to call the scripts so that you can use the User
31Manager (or any other) under MS-Windows (to add, delete modify users and
32groups), <FONT COLOR=purple>Samba</FONT> must be installed on the same computer.
33Finally, <FONT COLOR=purple>OpenLDAP</FONT> can be installed on any computer. Please check that it
34can be contacted by a standard LDAP client software.<BR>
35<BR>
36<FONT COLOR=purple>Samba</FONT> and <FONT COLOR=purple>OpenLDAP</FONT> installations will not be discussed
37here. You can consult the howto also available on the
38project page (<TT>http://samba.IDEALX.org</TT>). Altought is has been
39written for Samba2, most of its content still apply to Samba3. The main
40difference stands in LDAP schema's definitions.<BR>
41<BR>
42<A NAME="toc5"></A>
43<H3><A NAME="htoc7">2.2</A>&nbsp;&nbsp;Installation</H3>
44An archive of the <FONT COLOR=purple>smbldap-tools</FONT> scripts can be downloaded on our project
45page <TT>http://samba.IDEALX.org/</TT>. Archive and RedHat packages are
46available.
47<BR>
48If 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>
50<BR>
51
52<H4><A NAME="htoc8">2.2.1</A>&nbsp;&nbsp;Installing from rpm</H4>
53To install the scripts on a RedHat system, download the RPM
54package and run the following command:
55<PRE>
56rpm -Uvh smbldap-tools-0.8.5-1.i386.rpm
57</PRE>
58
59<H4><A NAME="htoc9">2.2.2</A>&nbsp;&nbsp;Installing from a tarball</H4>
60On non RedHat system, download a source archive of the scripts. The current
61archive is <TT>smbldap-tools-0.8.5.tar.gz</TT>.
62Uncompress it and copy all of the Perl scripts in <TT>/usr/local/sbin</TT>
63directory, and the two configuration files in
64<TT>/etc/opt/IDEALX/smbldap-tools/</TT> directory:
65<PRE>
66mkdir /etc/opt/IDEALX/smbldap-tools/
67cp *.conf /etc/opt/IDEALX/smbldap-tools/
68cp smbldap-* /usr/local/sbin/
69</PRE>
70The configuration is now based on two differents files:
71<UL><LI>
72<TT>smbldap.conf</TT>: define global parameter
73<LI><TT>smbldap_bind.conf</TT>: define an administrative account to
74 bind to the directory
75</UL>
76The second file <B>must</B> be readable only for 'root', as it contains
77credentials allowing modifications on all the directory. Make sure the
78files are protected by running the following commands:
79<PRE>
80chmod 644 /etc/opt/IDEALX/smbldap-tools/smbldap.conf
81chmod 600 /etc/opt/IDEALX/smbldap-tools/smbldap_bind.conf
82</PRE> <HR>
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>
86</BODY>
87</HTML>
88