Ignore:
Timestamp:
03/30/12 11:44:07 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2557 - correções na instalação do LDAP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/INSTALL/arquivos/scripts/ldap.sh

    r5838 r5851  
    1717        cp -a $3/* $4/ 
    1818         
    19         sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/LDAP_PWD_MD5/$LDAP_PWD_MD5/g" $1 > $2 
    20         sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s/LDAP_PWD_MD5/$LDAP_PWD_MD5/g" -e "s/ORG/$ORG/g" -e "s/DOMAIN/$DOMAIN/g" -e "s/LDAP_DC/$LDAP_DC/g" $ARQS/expresso.ldif > /tmp/expresso.ldif 
     19        sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s|LDAP_PWD_MD5|$LDAP_PWD_MD5|g" $1 > $2 
     20        sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s|LDAP_PWD_MD5|$LDAP_PWD_MD5|g" -e "s/ORG/$ORG/g" -e "s/DOMAIN/$DOMAIN/g" -e "s/LDAP_DC/$LDAP_DC/g" $ARQS/expresso.ldif > /tmp/expresso.ldif 
    2121        slapadd -v -f $2 -l /tmp/expresso.ldif 
    2222        # TODO: E mesmo necessario rodar o slapindex ou o slapadd ja indexa? 
Note: See TracChangeset for help on using the changeset viewer.