OK now
My setting is wrong
should be
Distinguished Name (DN) : uid=<username>,ou=people,o=***.com,o=SDS
Thanks
LDAP settings
Moderators: Developers, Moderators
I too was having problems creating the LDAP connection until I edited the lib/ldap.php file and manually set the $ldap_host and $ldap_port variables in the file itself. My ldap.php file now looks something like this.
115 /* Connect to LDAP server */
116 $ldap_host = "hostname.domain.tld";
117 $ldap_port = "389";
118 $ldap_conn = @ldap_connect($ldap_host,$ldap_port);
I should also mention that I updated the original 0.8.7b lib/ldap.php file with the one provided in this post that fixes the special character issue.
115 /* Connect to LDAP server */
116 $ldap_host = "hostname.domain.tld";
117 $ldap_port = "389";
118 $ldap_conn = @ldap_connect($ldap_host,$ldap_port);
I should also mention that I updated the original 0.8.7b lib/ldap.php file with the one provided in this post that fixes the special character issue.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Um, can you please send me a copy of your settings table?
Code: Select all
select * from settings;
[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]
Re: LDAP settings
Hey everybody,
iam using cacti in version 0.8.8g on a ubuntu 14.04 with ldap authentication.
Here is my release from the ubuntu.
It's a english version.
The ldap authentication works in 9 of 10 trys.... some users, who have some special signs "umlauts" in there passwords, can't log in... because of wrong passwords.
Anyone a solution for this?
THANKS
*if you need more informations about our system... please tell me
iam using cacti in version 0.8.8g on a ubuntu 14.04 with ldap authentication.
Here is my release from the ubuntu.
Code: Select all
[root@cacti.rz.local ~] # cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
NAME="Ubuntu"
VERSION="14.04.1 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.1 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
The ldap authentication works in 9 of 10 trys.... some users, who have some special signs "umlauts" in there passwords, can't log in... because of wrong passwords.
Anyone a solution for this?
THANKS
*if you need more informations about our system... please tell me
Three tomatoes are walking down the street pappa tomato, mamma tomato, and a little baby tomato.Baby tomato starts lagging behind. Poppa tomato gets angry, goes over to the baby tomato, and smooshes him... and says, "Catch up"
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: LDAP settings
Yes there is a solution.
Look at the patch available from the bug report here http://bugs.cacti.net/view.php?id=2439
Look at the patch available from the bug report here http://bugs.cacti.net/view.php?id=2439
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: LDAP settings
Hey phalek,phalek wrote:Yes there is a solution.
Look at the patch available from the bug report here http://bugs.cacti.net/view.php?id=2439
thank you for your quick response.
I installed the patch and... what should i say. It works
Thank you very much.
Greetings
Three tomatoes are walking down the street pappa tomato, mamma tomato, and a little baby tomato.Baby tomato starts lagging behind. Poppa tomato gets angry, goes over to the baby tomato, and smooshes him... and says, "Catch up"
Who is online
Users browsing this forum: No registered users and 1 guest