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
disable ldap cacti - resolved
Moderators: Developers, Moderators
disable ldap cacti - resolved
Last edited by mimas560 on Mon Dec 18, 2017 9:41 am, edited 2 times in total.
Re: disable ldap cacti
Hi,
can I change a parameter in the "settings" table "user_auth" fields?
Help me thank you!!!
can I change a parameter in the "settings" table "user_auth" fields?
Help me thank you!!!
Re: disable ldap cacti
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?
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?
-
- Posts: 3
- Joined: Tue Aug 15, 2017 8:44 am
Re: disable ldap cacti
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.
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.
Re: disable ldap cacti
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
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
I found the solution to my problem.
1. We must modify the "auth_method" field for 0 on the database Cacti
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
Re: disable ldap cacti
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.
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: disable ldap cacti
OK thank you, it's good news.
Who is online
Users browsing this forum: No registered users and 1 guest