Witajcie. Uruchomiłem freeradiusa, który strasznie upiera się przy Auth-Type, którego nie można ustawić. W pliku radiusd.conf nigdzie nie było pozycji authorize oraz authenticate więc ją dopisałem, wygląda to tak:
authorize {
preprocess
checkuser
eap
files
}
oraz
authenticate {
eap
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
Auth-Type MS-CHAP {
mschap
}
Wzoruję się tutaj na dokumentacji z projektu Eduroam i innych i jakoś nic nie pomaga. Przy włączeniu mam komunikat ...radiusd.conf: No such attribute Autz-Type , natomiast po zakomentowaniu całego authorize zostaje sekcja tylko authenticate , a wtedy mam podobny błąd ...radiusd.conf: No such attribute Auth-Type .
W pliku users również mam dodane Auth-Type.
zdzisiu Cleartext-Password := "haslo", Auth-Type := Local
Dodam, że bez wpisów zrobionych w radiusd.conf dostaje podczas uruchomienia radiusd -X błąd podczas uwierzytelniania
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 1024, id=0, length=127
Attr-1 = 0x7a647a69736975
Attr-4 = 0x7f000001
Attr-30 = 0x303031633130353932356530
Attr-31 = 0x303031356166353762313066
Attr-32 = 0x303031633130353932356530
Attr-5 = 0x00000029
Attr-12 = 0x00000578
Attr-61 = 0x00000013
Attr-79 = 0x0200000c017a647a69736975
Attr-80 = 0x2cd6287d8399500c211869e073929782
WARNING: Empty section. Using default return values.
No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
Failed to authenticate the user.
Login incorrect: [zdzisiu/] (from client OpenWRT port 0 cli 0015fa47a102)
Delaying reject of request 0 for 1 seconds
Going to the next request
Gdzie może być błąd? |