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