Subversion Repositories ALCASAR

Compare Revisions

Regard whitespace Rev 2707 → Rev 2706

/CHANGELOG
19,7 → 19,6
- Fix group attributes in user ticket generation.
- Fix LDAP users login without the "ldap" group created.
- Fix bad certificates chain generation when using default certificates.
- Fix the configuration application for LDAP.
 
SECU
- Merge bad username and bad password errors at user login.
/scripts/alcasar-conf.sh
402,10 → 402,9
# FreeRADIUS Web
$SED "s?^nas1_name:.*?nas1_name: alcasar-$ORGANISME?g" /etc/freeradius-web/naslist.conf
$SED "s?^nas1_ip:.*?nas1_ip: $PRIVATE_IP?g" /etc/freeradius-web/naslist.conf
# CoovaChilli
# coova
$SED "s/^uamallowed.*/uamallowed\t$HOSTNAME,$HOSTNAME.$DOMAIN/g" /etc/chilli.conf
$SED "s/^locationname.*/locationname\t$HOSTNAME.$DOMAIN/g" /etc/chilli.conf
$SED "s/^domain.*/domain\t\t$DOMAIN/g" /etc/chilli.conf
[ "`grep ^HTTPS_LOGIN= $CONF_FILE | cut -d'=' -f2`" == "on" ] && chilli_login_protocol="https" || chilli_login_protocol="http"
$SED "s/^uamserver.*/uamserver\t$chilli_login_protocol:\/\/$HOSTNAME.$DOMAIN\/intercept.php/" /etc/chilli.conf
$SED "s/^radiusnasid.*/radiusnasid\t$HOSTNAME.$DOMAIN/g" /etc/chilli.conf
565,9 → 564,7
# Start / Stop LDAP authentification
if [ $LDAP_mode = "on" ] || [ $LDAP_mode = "On" ] || [ $LDAP_mode = "ON" ]
then
$DIR_BIN/alcasar-ldap.sh --on
else
$DIR_BIN/alcasar-ldap.sh --off
$DIR_BIN/alcasar-ldap.sh
fi
echo
;;