Changeset 5851
- Timestamp:
- 03/30/12 11:44:07 (12 years ago)
- Location:
- trunk/INSTALL/arquivos/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/INSTALL/arquivos/scripts/aux.sh
r5797 r5851 7 7 if [ "x$LDAP_PWD" == "x" ] 8 8 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 ) 11 11 if [ "x$LDAP_PWD" != "x$LDAP_PWD_CONF" ] 12 12 then -
trunk/INSTALL/arquivos/scripts/ldap.sh
r5838 r5851 17 17 cp -a $3/* $4/ 18 18 19 sed -e "s/LDAP_DN/$LDAP_DN/g" -e "s /LDAP_PWD_MD5/$LDAP_PWD_MD5/g" $1 > $220 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.ldif19 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 21 21 slapadd -v -f $2 -l /tmp/expresso.ldif 22 22 # TODO: E mesmo necessario rodar o slapindex ou o slapadd ja indexa?
Note: See TracChangeset
for help on using the changeset viewer.