Subversion Repositories ALCASAR

Compare Revisions

Regard whitespace Rev 2704 → Rev 2703

/conf/radius/alcasar-with-ldap
20,8 → 20,6
}
 
authorize {
# if (!(&User-Name =~ /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/)) {
if ((!&Calling-Station-Id) || (&User-Name != &Calling-Station-Id) || (!&User-Password) || (&User-Password != "password")) { # no LDAP query for @MAC
ldap { fail = 1 }
if ((ok || updated) && User-Password) {
update control {
28,7 → 26,6
Auth-Type := LDAP
}
}
}
 
sql { notfound = 1 }
if ((notfound) && (!control:Auth-Type)) {