#37 You do not have permissions to access the page

v0.9
open
nobody
5
2015-10-15
2011-08-03
harrild
No

I got daloradius installed onto Centos 5.6, and can log into the web interface but when i click on any of the links on the right to configure users and such, all i get is the indescript error in the attached screenshot. No errors in the httpd/error_log. Have i missed a step in the back end config?

Discussion

  • harrild

    harrild - 2011-08-03

    indescript web gui error

     
  • harrild

    harrild - 2011-08-03

    This is fairly urgent for me as i need to deploy into production by Friday 5th August 2011.

    Version is 0.9-9

     
  • harrild

    harrild - 2011-08-08

    Did further digging into this problem, it appears that each time i request to load the contents of the sub menu i get a redirect to the msg-error-permissions.php. I've checked the apache permissions and they align to the install instructions. Further assistance would be much appreciated as I'm not overly familiar with Apache and even less so applications within it.

    Example of error from the httpd access log below
    192.168.40.1 - - [08/Aug/2011:15:13:17 +1000] "GET /rep-stat-server.php HTTP/1.1" 302 - "http://192.168.40.132/msg-error-permissions.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.40.1 - - [08/Aug/2011:15:13:17 +1000] "GET /msg-error-permissions.php HTTP/1.1" 200 3963 "http://192.168.40.132/msg-error-permissions.php" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"

    The error log is not showing any related.

     
  • harrild

    harrild - 2011-08-08

    still can't find what is causing the submenu to redirect. Is there a permission on the radius or mysql tables i've missed?

     
  • harrild

    harrild - 2011-08-08

    I think i've found it. Following where the msg_error_permissions.php is called from, it appears that only user id 6 has access to anything according to the operators_acl table. I'm going to try to manually update this table to list permissions for the default administrator

     
    • Anonymous - 2012-12-13

      Many thanks. That solves the problem!

       
  • Bidossessi SODONON

    Solution is in library/check_operator_perm.php @41
    Replace strcasecmp($test, "on") by strcasecmp($test, "no")

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2015-10-01

    thank you for this solution, that worked

     
  • Liran Tal

    Liran Tal - 2015-10-15

    @Bidossessi SODONON there's no such source code in latest version of daloRADIUS.

     


Anonymous

Cancel  Add attachments