disable ldap cacti - resolved

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mimas560
Posts: 6
Joined: Thu Dec 07, 2017 9:08 am

disable ldap cacti - resolved

Post by mimas560 »

Hi,

I would like to disable the LDAP option because I am no longer able to self-authenticate on cacti. How can I change the setting ldap for local authentication?

My version is 1.1.27

Thank you for your answers
Last edited by mimas560 on Mon Dec 18, 2017 9:41 am, edited 2 times in total.
mimas560
Posts: 6
Joined: Thu Dec 07, 2017 9:08 am

Re: disable ldap cacti

Post by mimas560 »

Hi,

can I change a parameter in the "settings" table "user_auth" fields?

Help me thank you!!!
mimas560
Posts: 6
Joined: Thu Dec 07, 2017 9:08 am

Re: disable ldap cacti

Post by mimas560 »

Hi,

I would like remove "Realm" on the login. I can not access on the website Cacti, how can I modified code or fields ont the databases for disable option ldap?
How can I find support?
2017-12-12 09_09_28-Login to Cacti.png
2017-12-12 09_09_28-Login to Cacti.png (21.79 KiB) Viewed 1190 times
whatchasay
Posts: 3
Joined: Tue Aug 15, 2017 8:44 am

Re: disable ldap cacti

Post by whatchasay »

Set your Accounts realm to 0 in database

UPDATE user_auth SET realm = 0 WHERE username = "whateverusernameyouhave"

I think this should work. Please only execute MySQL Statements if you are aware of what you are doing. Idk if you are into this.

EDIT: you can also create a new user via mysql. keep in mind that the passwords are hashed so you could copy the old one from the database and create a new user with Realm set to 0. But as said, only if you are aware of what you are doing.
mimas560
Posts: 6
Joined: Thu Dec 07, 2017 9:08 am

Re: disable ldap cacti

Post by mimas560 »

thank you whatchasay for your reply,

I found the solution to my problem.

1. We must modify the "auth_method" field for 0 on the database Cacti
2017-12-12 15_30_41-Database Workbench v5.3.4b Pro - [Table Editor_ Serveur Cacti_cacti_1 [settings].png
2017-12-12 15_30_41-Database Workbench v5.3.4b Pro - [Table Editor_ Serveur Cacti_cacti_1 [settings].png (58.49 KiB) Viewed 1173 times
2. It is important to clear the cache of your browser
3. It will no longer have a password, you must delete all users and recreate them.
4. You can select "Builtin Authentication" in Setting => Authentication
2017-12-12 15_47_36-Console -_ Cacti Settings.png
2017-12-12 15_47_36-Console -_ Cacti Settings.png (7.3 KiB) Viewed 1173 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: disable ldap cacti

Post by netniV »

There is an issue when enabling LDAP auth with the latest version of Cacti it disables local auth. A fix was submitted to correct the authentication process to allow both LDAP and local auth, and to fix an issue where the older MD5 hashes may not allow login if a newer version of PHP was introduced.

In the meantime, you can revert back to local auth using the above settings.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
mimas560
Posts: 6
Joined: Thu Dec 07, 2017 9:08 am

Re: disable ldap cacti

Post by mimas560 »

OK thank you, it's good news.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests