Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2433 → Rev 2438

/alcasar.sh
1084,9 → 1084,11
# Set "client.conf" to describe radius clients (coova on 127.0.0.1)
[ -e /etc/raddb/clients.conf.default ] || cp -f /etc/raddb/clients.conf /etc/raddb/clients.conf.default
cat << EOF > /etc/raddb/clients.conf
client 127.0.0.1 {
client localhost {
ipaddr = 127.0.0.1
secret = $secretradius
shortname = coova
shortname = chilli
nas_type = other
}
EOF
# Set Virtual server (remvove all except "alcasar virtual site")
1100,7 → 1102,7
# Set modules
# Set only usefull modules for ALCASAR (ldap is enabled only via ACC)
rm -rf /etc/raddb/mods-enabled/*
for mods in sql sqlcounter attr_filter expiration logintime pap
for mods in sql sqlcounter attr_filter expiration logintime pap expr
do
ln -s /etc/raddb/mods-available/$mods /etc/raddb/mods-enabled/$mods
done