Ignore:
Timestamp:
12/07/08 13:51:14 (3 years ago)
Author:
tschmitt
Message:
  • linuxmuster-setup:
    • obsoletes Konfigurationstemplate für sophomorix' slapd.conf entfernt.
    • obsoletes repair-admins-Skript entfernt.
    • div. Anpassungen bzgl. Neuerstellung der ldap-DB mit sophomorix bei Erstinstallation.
  • paedml40-upgrade:
    • div. Fixes bzgl. slapd- und rembo/linbo-Konfiguration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/linuxmuster-base/trunk/debian/postinst

    r406 r409  
    565565        # adding tls support to slapd.conf 
    566566        slapdtpl=/usr/share/sophomorix/config-templates/ldap/slapd-standalone.conf.template 
    567         if ! grep -q ^TLS $slapdtpl || ! grep -q misc.schema $slapdtpl; then 
    568                 cp $slapdtpl $slapdtpl.dpkg-old 
    569                 cp $STATICTPLDIR$slapdtpl $slapdtpl 
    570         fi 
    571567        [ -e /etc/ldap/slapd.conf.custom ] || cp $STATICTPLDIR/etc/ldap/slapd.conf.custom /etc/ldap 
    572568        if ! grep -q ^TLS /etc/ldap/slapd.conf || ! grep -q misc.schema /etc/ldap/slapd.conf; then 
     
    578574                        s/@@message3@@/${message3}/ 
    579575                        s/@@basedn@@/${basedn}/g 
     576                        s/@@tls_comment@@//g 
    580577                        s/@@ldappassword@@/${rootpw}/g" $slapdtpl > /etc/ldap/slapd.conf 
    581578                addgroup openldap ssl-cert 
     579                chmod 600 /etc/ldap/slapd.conf* 
    582580                slapd_reload=yes 
    583581        fi 
Note: See TracChangeset for help on using the changeset viewer.