[K12OSN] Slightly OT - Emergengy Linux/LDAP setup

Mark Gumprecht gumprechtm at msln.net
Wed Sep 14 11:38:44 UTC 2005


I would suggest centos4 as well. After running the script, Go to 
/etc/openldap/ldap.conf and remove the tls line. Also set the 'smbpasswd 
-a root' manually.Here is a copy of my centos4 section of the 
distro_data.pm file;

  ###################################
  "centos4" =>
  {
    # this needs to be set because smbldap-tools-0.8.6-1 puts utilities 
in here
    PATH => "/usr/sbin",

    media_mnt_point => { cd => "/media/cd.*", },
    rpms =>
    {
      'perl-Convert-BER-1.31.*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'perl-Unicode-Map8-0.12-*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'perl-Crypt-SmbHash-0.02-*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'perl-Unicode-MapUTF8-1.09-*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'perl-Jcode-0.83-*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'perl-Unicode-String-2.07-*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'perl-Unicode-Map-0.112-*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'smbldap-tools-0.9.1-*.rpm' =>
      {
        medianames => "script",
        path => "PWD/rpms",
      },

      'binutils-2.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'perl-HTML-Tagset-3.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'cpp-3.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'perl-libwww-perl-5.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'perl-URI-1.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'perl-HTML-Parser-3.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'samba-common-3.*.i386.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'samba-3.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'perl-XML-NamespaceSupport-1.*.rpm' =>
      {
        medianames => { cd => "cd #2", },
        path => "Fedora/RPMS/",
      },

      'perl-XML-SAX-0.*.rpm' =>
      {
        medianames => { cd => "cd #2", },
        path => "Fedora/RPMS/",
      },

      'perl-LDAP-0.*.rpm' =>
      {
        medianames => { cd => "cd #2", },
        path => "Fedora/RPMS/",
      },

      'perl-Convert-ASN1-0.*.rpm' =>
      {
        medianames => { cd => "cd #2", },
        path => "Fedora/RPMS/",
      },

      'gcc-3.*.rpm' =>
      {
        medianames => { cd => "cd #3", },
        path => "Fedora/RPMS/",
      },

      'openldap-clients-2.*.rpm' =>
      {
        medianames => { cd => "cd #4", },
        path => "Fedora/RPMS/",
      },

      'glibc-devel-2.*.rpm' =>
      {
        medianames => { cd => "cd #3", },
        path => "Fedora/RPMS/",
      },

      'glibc-headers-2.*.rpm' =>
      {
        medianames => { cd => "cd #3", },
        path => "Fedora/RPMS/",
      },

      'glibc-kernheaders-2.*.rpm' =>
      {
        medianames => { cd => "cd #3", },
        path => "Fedora/RPMS/",
      },

      'openldap-servers-2.*.rpm' =>
      {
        medianames => { cd => "cd #3", },
        path => "Fedora/RPMS/",
      },

      'perl-IO-Socket-SSL-0.*.rpm' =>
      {
        medianames => { cd => "cd #3", },
        path => "Fedora/RPMS/",
      },

      'perl-Digest-SHA1-2.*.rpm' =>
      {
        medianames => { cd => "cd #1", },
        path => "Fedora/RPMS/",
      },

      'perl-Net_SSLeay-1.*.rpm' =>
      {
        medianames => { cd => "cd #4", },
        path => "Fedora/RPMS/",
      },
    },
  }, # end centos4

  ###################################



I also down loaded all the needed rpms from the DAG wieers site. Make 
sure to get the EL4 versions, or you could setup apt and set dag's 
repository up. ( howto on his site or just use his apt rpm and the 
changes are already made. just install the gpg key) Then I just went 
into the folder with all the rpm's and did rpm -Uvh *.rpm. I removed any 
that conflicted and reran until all were in. Then the CPAN install 
Bundle deal. All works well.
Mark

Les Mikesell wrote:

>On Tue, 2005-09-13 at 09:59, Tom Allen wrote:
>  
>
>>Our Novell server crashed.  We are now accelerating our plans to setup
>>our linux/ldap server.  It is a DakTek server, and we are using the
>>k12ltsp 4.2.1 disks to do a "regular" server install.  Are there any
>>"gotcha's" to be aware of?  It should be a fairly straight forward
>>install.
>>    
>>
>
>I'd recommend the Centos4 based K12LTSP-4.2.1EL instead since the
>base OS should be supported much longer.  I haven't used that
>hardware but I thought someone mentioned something about the network
>card on some DakTek server here recently.
>
>  
>

-- 
Mark Gumprecht
Data Systems Specialist
MSAD3
Unity, ME
gumprechtm at msln.net




More information about the K12OSN mailing list