ldap authentication questions
Moderators: Developers, Moderators
ldap authentication questions
I have setup ldap authentication with my cacti install.
I can authenticate and login but once the user is logged in that user does not have privilleges to do anything on cacti.
I have then created a ldap local user with all the permissions setup and put the username as the LDAP Cacti Template User
but it is still not giving the ldap auth user any kind of permissions.
is there anything else that needs to be changed ?
I can authenticate and login but once the user is logged in that user does not have privilleges to do anything on cacti.
I have then created a ldap local user with all the permissions setup and put the username as the LDAP Cacti Template User
but it is still not giving the ldap auth user any kind of permissions.
is there anything else that needs to be changed ?
What account did you specify for the "LDAP Cacti Template User" ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Hi All,
Same issue here using ldap and the Ldap cacti template user is set to guest ( I tried blank as well ) . First login gives that error :
"Notice: Undefined variable: iCols in d:\wwwroot\MRTG\cacti\lib\adodb\adodb-lib.inc.php on line 105
Notice: Undefined variable: iVals in d:\wwwroot\MRTG\cacti\lib\adodb\adodb-lib.inc.php on line 105
Warning: Cannot modify header information - headers already sent by (output started at d:\wwwroot\MRTG\cacti\lib\adodb\adodb-lib.inc.php:105) in d:\wwwroot\MRTG\cacti\auth_login.php on line 83"
A browser refresh leads to " You are not permitted to access this section of Cacti. If you feel that you need access to this particular section, please contact the Cacti administrator." : The rights of viewing graphs are not passed from the guest profile to the new one ...
I'd suspect a certain file does not have the proper rights set ...
Kind regards, Laurent
Same issue here using ldap and the Ldap cacti template user is set to guest ( I tried blank as well ) . First login gives that error :
"Notice: Undefined variable: iCols in d:\wwwroot\MRTG\cacti\lib\adodb\adodb-lib.inc.php on line 105
Notice: Undefined variable: iVals in d:\wwwroot\MRTG\cacti\lib\adodb\adodb-lib.inc.php on line 105
Warning: Cannot modify header information - headers already sent by (output started at d:\wwwroot\MRTG\cacti\lib\adodb\adodb-lib.inc.php:105) in d:\wwwroot\MRTG\cacti\auth_login.php on line 83"
A browser refresh leads to " You are not permitted to access this section of Cacti. If you feel that you need access to this particular section, please contact the Cacti administrator." : The rights of viewing graphs are not passed from the guest profile to the new one ...
I'd suspect a certain file does not have the proper rights set ...
Kind regards, Laurent
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If you are running 0.8.6h, this is a bug.
We will have a patch released sometime this week/weekend.
We will have a patch released sometime this week/weekend.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Patch will be posted this week.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
I posted a corrected version of the MySQL 5.x strict patch to the website a week or so back. Sorry if I did not make it clear on the website. If you already have the old (broken) patch applied, you will need to use the pre-patched files. These are the files that you will need from the pre-patched directory:
cacti.sql
lib/auth.php
lib/database.php
lib/import.php
lib/template.php
Let me know if you have any questions.
-Ian
cacti.sql
lib/auth.php
lib/database.php
lib/import.php
lib/template.php
Let me know if you have any questions.
-Ian
Added said Pre-Patched files & still
02/07/2006 04:46:45 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select user_auth_realm.user_id, user_realm.id, user_realm.name from user_realm left join user_auth_realm on (user_realm.id=user_auth_realm.realm_id and user_auth_realm.user_id=18) order by user_realm.name"
02/07/2006 04:46:22 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select user_auth_realm.user_id, user_realm.id, user_realm.name from user_realm left join user_auth_realm on (user_realm.id=user_auth_realm.realm_id and user_auth_realm.user_id=18) order by user_realm.name"
02/07/2006 04:46:06 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select user_auth_realm.user_id, user_realm.id, user_realm.name from user_realm left join user_auth_realm on (user_realm.id=user_auth_realm.realm_id and user_auth_realm.user_id=18) order by user_realm.name"
02/07/2006 04:46:45 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select user_auth_realm.user_id, user_realm.id, user_realm.name from user_realm left join user_auth_realm on (user_realm.id=user_auth_realm.realm_id and user_auth_realm.user_id=18) order by user_realm.name"
02/07/2006 04:46:22 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select user_auth_realm.user_id, user_realm.id, user_realm.name from user_realm left join user_auth_realm on (user_realm.id=user_auth_realm.realm_id and user_auth_realm.user_id=18) order by user_realm.name"
02/07/2006 04:46:06 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "select user_auth_realm.user_id, user_realm.id, user_realm.name from user_realm left join user_auth_realm on (user_realm.id=user_auth_realm.realm_id and user_auth_realm.user_id=18) order by user_realm.name"
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What version of MySQL? If version 5.x, can you please remove the sql_mode runtime option and restart MySQL and see if the problem goes away?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 5 guests