Changeset 5851


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

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

Location:
trunk/INSTALL/arquivos/scripts
Files:
2 edited

Legend:

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

    r5797 r5851  
    77        if [ "x$LDAP_PWD" == "x" ] 
    88        then 
    9                 LDAP_PWD=$( dialog --backtitle "$BACKTITLE" --stdout --passwordbox 'Digite uma senha:' 0 0 ) 
    10                 LDAP_PWD_CONF=$( dialog --backtitle "$BACKTITLE" --stdout --passwordbox 'Confirme a senha:' 0 0 ) 
     9                LDAP_PWD=$( dialog --backtitle "$BACKTITLE" --stdout --inputbox 'Digite uma senha:' 0 0 ) 
     10                LDAP_PWD_CONF=$( dialog --backtitle "$BACKTITLE" --stdout --inputbox 'Confirme a senha:' 0 0 ) 
    1111                if [ "x$LDAP_PWD" != "x$LDAP_PWD_CONF" ]  
    1212                then 
  • 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.