Advertisement
Guest User

freeradius+mpd5

a guest
Jun 18th, 2015
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. rad_recv: Access-Request packet from host 192.168.5.2 port 11035, id=90,
  2. length=74
  3. User-Name = "3ap0"
  4. User-Password = "j9hot1ze"
  5. NAS-IP-Address = 192.168.5.2
  6. NAS-Port = 0
  7. Message-Authenticator = 0x67d031da249e70c6fa95314203331b1a
  8. # Executing section authorize from file
  9. /usr/local/etc/raddb/sites-enabled/default
  10. +group authorize {
  11. ++[preprocess] = ok
  12. ++[chap] = noop
  13. ++[mschap] = noop
  14. ++[digest] = noop
  15. [eap] No EAP-Message, not doing EAP
  16. ++[eap] = noop
  17. [sql] expand: %{User-Name} -> 3ap0
  18. [sql] sql_set_user escaped user --> '3ap0'
  19. rlm_sql (sql): Reserving sql socket id: 3
  20. [sql] expand: SELECT (@cnt := @cnt + 1) AS `id`, `UserName`,
  21. `Attribute`, `Value`, `op` FROM `radius_check` CROSS JOIN
  22. (SELECT @cnt := 0) AS `dummy` WHERE `UserName` =
  23. '%{SQL-User-Name}' ORDER BY `id` -> SELECT (@cnt := @cnt + 1)
  24. AS `id`, `UserName`, `Attribute`, `Value`, `op` FROM
  25. `radius_check` CROSS JOIN (SELECT @cnt := 0) AS
  26. `dummy` WHERE `UserName` = '3ap0' ORDER BY `id`
  27. [sql] expand: SELECT `GroupName` FROM
  28. `radius_usergroup` WHERE `UserName` =
  29. '%{SQL-User-Name}' ORDER BY `priority` -> SELECT
  30. `GroupName` FROM `radius_usergroup` WHERE `UserName`
  31. = '3ap0' ORDER BY `priority`
  32. [sql] expand: SELECT (@cnt := @cnt + 1) AS `id`, `GroupName`,
  33. `Attribute`, `Value`, `op` FROM `radius_groupcheck`
  34. CROSS JOIN (SELECT @cnt := 0) AS `dummy` WHERE `GroupName` =
  35. '%{Sql-Group}' ORDER BY `id` -> SELECT (@cnt := @cnt + 1) AS
  36. `id`, `GroupName`, `Attribute`, `Value`, `op` FROM
  37. `radius_groupcheck` CROSS JOIN (SELECT @cnt := 0) AS
  38. `dummy` WHERE `GroupName` = '1:3232236802' ORDER BY `id`
  39. [sql] User found in group 1:3232236802
  40. [sql] expand: SELECT (@cnt := @cnt + 1) AS `id`, `GroupName`,
  41. `Attribute`, `Value`, `op` FROM `radius_groupreply`
  42. CROSS JOIN (SELECT @cnt := 0) AS `dummy` WHERE `GroupName` =
  43. '%{Sql-Group}' ORDER BY `id` -> SELECT (@cnt := @cnt + 1) AS
  44. `id`, `GroupName`, `Attribute`, `Value`, `op` FROM
  45. `radius_groupreply` CROSS JOIN (SELECT @cnt := 0) AS
  46. `dummy` WHERE `GroupName` = '1:3232236802' ORDER BY `id`
  47. rlm_sql (sql): Released sql socket id: 3
  48. ++[sql] = ok
  49. ++[expiration] = noop
  50. ++[logintime] = noop
  51. [pap] WARNING! No "known good" password found for the user.
  52. Authentication may fail because of this.
  53. ++[pap] = noop
  54. +} # group authorize = ok
  55. ERROR: No authenticate method (Auth-Type) found for the request:
  56. Rejecting the user
  57. Failed to authenticate the user.
  58. Login incorrect: [3ap0/j9hot1ze] (from client nas01 port 0)
  59. Using Post-Auth-Type Reject
  60. # Executing group from file /usr/local/etc/raddb/sites-enabled/default
  61. +group REJECT {
  62. [attr_filter.access_reject] expand: %{User-Name} -> 3ap0
  63. attr_filter: Matched entry DEFAULT at line 11
  64. ++[attr_filter.access_reject] = updated
  65. +} # group REJECT = updated
  66. Delaying reject of request 0 for 1 seconds
  67. Going to the next request
  68. Waking up in 0.9 seconds.
  69. Sending delayed reject for request 0
  70. Sending Access-Reject of id 90 to 192.168.5.2 port 11035
  71. Waking up in 4.9 seconds.
  72. Cleaning up request 0 ID 90 with timestamp +3
  73. Ready to process requests.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement