Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2701 → Rev 2700

/conf/radius/alcasar
20,7 → 20,9
}
 
authorize {
sql { notfound = 1 }
sql {
notfound = 1
}
if (notfound) {
update reply {
Reply-Message := "Username not found"
/conf/radius/alcasar-with-ldap
20,15 → 20,10
}
 
authorize {
ldap { fail = 1 }
if ((ok || updated) && User-Password) {
update control {
Auth-Type := LDAP
}
sql {
notfound = 1
}
 
sql { notfound = 1 }
if ((notfound) && (!control:Auth-Type)) {
if (notfound) {
update reply {
Reply-Message := "Username not found"
}
103,14 → 98,24
}
 
pap
 
ldap {
fail = 1
}
if ((ok || updated) && User-Password) {
update control {
Auth-Type := ldap
}
}
}
 
authenticate {
Auth-Type PAP {
pap
}
Auth-Type LDAP {
ldap
}
Auth-Type LDAP {
ldap
}
}
 
accounting {