Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. DEFAULT
  2. MyGroup := 'guests',
  3. Fall-Through := Yes
  4.  
  5. # Guest users
  6. guest1 Cleartext-Password := 'password1'
  7. # End of guest users
  8.  
  9. DEFAULT
  10. MyGroup := 'staff',
  11. Fall-Through := Yes
  12.  
  13. # Staff users
  14. staff1 Cleartext-Password := 'kdjsfhksf'
  15. # End of staff users
  16.  
  17. ATTRIBUTE MyGroup 3000 string
  18.  
  19. # get SSID from Called-Station-Id
  20. rewrite_called_station_id
  21.  
  22. # check guest connecting to staff SSID and reject if so
  23. if (&MyGroup == 'guests' && &Called-Station-SSID == 'STAFF') {
  24. reject
  25. }
  26.  
  27. if (&reply:MyGroup == 'guests' && &Called-Station-SSID == 'STAFF') {
  28.  
  29. if (&reply:MyGroup == 'guests' && &Called-Station-SSID == 'STAFF') {
  30. ERROR: Failed retrieving values required to evaluate condition
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement