/CHANGELOG |
---|
11,6 → 11,7 |
- 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,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 { |