|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Andrey Zonov 2:5020/830.28 15 Mar 2005 15:05:20 To : All Subject : freenibs-0.0.3-bf3 + freeradius-1.0.1 --------------------------------------------------------------------------------
Hу могу заставить работать...
Связка freeradius-1.0.1 + MySQL 4.1.5 -- работает прекрасно. А вот с freenibs не
хочет.
#radtest ip100 qw12 192.168.34.1 1812 test1
___________________________________log________________________________________
rad_recv: Access-Request packet from host 192.168.34.1:61236, id=27, length=57
User-Name = "ip100"
User-Password = "qw12"
NAS-IP-Address = 255.255.255.255
NAS-Port = 1812
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
radius_xlat: 'ip100'
rlm_nibs (sql_set_user): sql_set_user escaped user --> 'ip100'
rlm_nibs (nibs_fill_user): begin for user `ip100' ------------
radius_xlat: 'SELECT user, password, crypt_method, uid, gid, deposit, credit,
unix_timestamp(add_date), blocked, activated, unix_timestamp(expired),
total_time, total_traffic, total_money, unix_timestamp(last_connection),
framed_ip, framed_mask, callback_number FROM users WHERE user = 'ip100''
rlm_nibs (nibs): Reserving sql socket id: 60
rlm_nibs (nibs_fill_user): No packet (group) for user 'ip100' with gid = 1
rlm_nibs (sql_release_socket): Released sql socket id: 60
modcall[authorize]: module "nibs" returns notfound for request 0
modcall[authorize]: module "mschap" returns noop for request 0
modcall: group authorize returns ok for request 0
auth: No authenticate method (Auth-Type) configuration found for the request:
Rejecting the user
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
-+- Walking the entire request list ---
Waking up in 1 seconds...
-+- Walking the entire request list ---
Waking up in 1 seconds...
-+- Walking the entire request list ---
Sending Access-Reject of id 27 to 192.168.34.1:61236
Waking up in 4 seconds...
______________________________________________________________________________
почему auth: No authenticate method (Auth-Type) -- где это должно быть. В users
DEFAULT Auth-Type = MS-CHAP
Может я юзера не правильно создаю в БД?
Может кто видел WEB на перле?
или поделитесь sql операторами для создания юзера в БД.
Успехов!
--- GoldED+/W32 snapshot-2000.12.24
* Origin: Жизнь - хорошая штука (2:5020/830.28)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/39444236c33f.html, оценка из 5, голосов 10
|