LDAP settings

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

Moderators: Developers, Moderators

benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

OK now
My setting is wrong
should be
Distinguished Name (DN) : uid=<username>,ou=people,o=***.com,o=SDS

Thanks
ccogdill
Posts: 30
Joined: Wed Apr 25, 2007 1:24 pm
Location: Bismarck, ND

Post by ccogdill »

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.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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]
User avatar
um3n
Posts: 39
Joined: Thu Jul 03, 2014 1:35 am

Re: LDAP settings

Post by um3n »

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.

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/"
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
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"
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: LDAP settings

Post by phalek »

Yes there is a solution.

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
User avatar
um3n
Posts: 39
Joined: Thu Jul 03, 2014 1:35 am

Re: LDAP settings

Post by um3n »

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
Hey phalek,

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"
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests