[K12OSN] smbldap question ... "this is bad"

Huck dhuckaby at paasda.org
Tue Aug 14 15:13:06 UTC 2007


Just found this, wondering if you've followed it step by step?
on my k12ltsp 6.0 install this was in

/usr/share/doc/samba-3.0.24/LDAP/smbldap-tools-0.9.2/


[quote]
[root at ltsp smbldap-tools-0.9.2]# more INSTALL
# $Source: /opt/cvs/samba/smbldap-tools/INSTALL,v $
#
## How To Install SMBLDAP-TOOLS

DEPENDANCIES :
-=-=-=-=-=-=-=
. scripts now use the Crypt::SmbHash perl module

INSTALLATION from the tar.gz archive
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
. Copy all those scripts in /usr/local/sbin/
. Modify smbldap.conf and smbldap_bind.conf to match your configuration, 
and cop
y
   them in /etc/smbldap-tools/
. set proper permissions on those files:
   $ chmod 644 /etc/smbldap-tools/smbldap.conf
   $ chmod 600 /etc/smbldap-tools/smbldap_bind.conf
. update the 2 first declaration of /usr/local/sbin/smbldap_tools.pm to 
define t
he
   PATH to the configuration file, for example
   > my $smbldap_conf="/etc/smbldap-tools/smbldap.conf";
   > my $smbldap_bind_conf="/etc/smbldap-tools/smbldap_bind.conf";
. if upgrading, add these lines in smbldap.conf configuration file:
[root at ltsp smbldap-tools-0.9.2]# cat INSTALL
# $Source: /opt/cvs/samba/smbldap-tools/INSTALL,v $
#
## How To Install SMBLDAP-TOOLS

DEPENDANCIES :
-=-=-=-=-=-=-=
. scripts now use the Crypt::SmbHash perl module

INSTALLATION from the tar.gz archive
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
. Copy all those scripts in /usr/local/sbin/
. Modify smbldap.conf and smbldap_bind.conf to match your configuration, 
and copy
   them in /etc/smbldap-tools/
. set proper permissions on those files:
   $ chmod 644 /etc/smbldap-tools/smbldap.conf
   $ chmod 600 /etc/smbldap-tools/smbldap_bind.conf
. update the 2 first declaration of /usr/local/sbin/smbldap_tools.pm to 
define the
   PATH to the configuration file, for example
   > my $smbldap_conf="/etc/smbldap-tools/smbldap.conf";
   > my $smbldap_bind_conf="/etc/smbldap-tools/smbldap_bind.conf";
. if upgrading, add these lines in smbldap.conf configuration file:
   > # Allows not tu use slappasswd (if with_slappasswd == 0 in 
smbldap_conf.pm)
   > # but prefer Crypt:: libraries
   > with_slappasswd="0"
   > slappasswd="/usr/sbin/slappasswd"
   If 'with_slappasswd' is set to 0, password will be hashed with 
appropriate perl module
   (to not use anymore external programm)
. initialize the ldap directory
   $ smbldap-populate
. If not already done : "smbpasswd -w secret" to set up
   the ldap admin password in secrets.tdb

INSTALLATION from RedHat RPM:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
. install the package
   $ rpm -Uvh smbldap-tools-0.8.6-1.noarch.rpm
. Modify /etc/opt/IDEALX/smbldap-tools/smbldap.conf and 
/etc/opt/IDEALX/smbldap-tools/smbldap_bind.conf
   to match you configuration.
. initialize the ldap directory
   $ smbldap-populate
. If not already done : "smbpasswd -w secret" to set up
   the ldap admin password in secrets.tdb

[/quote]




More information about the K12OSN mailing list