Yep, that's what I've just done.dave99 wrote:There are only 2 cacti users in my setup, admin & guest. It appears that guest can only view graphs and nothing more. When adding a plugin, I add the permissions to the admin user. With cacti auth off, it appears the concept of users disappears, the sess_user_id variable just doesn't get set anymore. The authentication I use with groundwork is really secondary to this, it doesn't affect cacti at all, it's tied into apache. As far as cacti knows, it is just sitting there by itself with it's built-in authentication off.
What seems to be a cleaner fix is to put your original file back, and in auth.php add a section that checks if the authentication method is 0, if so then go ahead and set the sess_user_id=1.
However, what I see now is a series of errors about $current_user not being defined in top_graph_header.php. Since that's a standard cacti thing, I assume at the moment that that's not my problem, but a cacti issue - I get it on the Graphs tab too. Do you see this error message?