/CHANGELOG |
---|
11,7 → 11,6 |
- Fix priority of filter attributes at group creation. |
- Fix ignored filters assigned to the default group. |
- Fix group attributes in user ticket generation. |
- Fix LDAP users login without the "ldap" group created. |
CHANGES |
- Improve script syntax |
/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,7 → 98,17 |
} |
pap |
ldap { |
fail = 1 |
} |
if ((ok || updated) && User-Password) { |
update control { |
Auth-Type := ldap |
} |
} |
} |
authenticate { |
Auth-Type PAP { |
pap |