November 30th, 2004, 03:58 PM
LDAP error question? Can't Connect to Ldap server
I've been trying to do an ldapsearch just to test ldap and I get can't connect to ldap server. I've also tried to run phpadmin, it too cannot connect to ldap server. When I run make tests it runs ok and everything is succesfult excpet the certificates at the end. Is there sometehing I'm overlooking here. I am new with LDAP, so it could easly be I just don't know what the heck I'm missing here.
November 30th, 2004, 04:16 PM
what are you running exactly? how are you testing it? etc..
November 30th, 2004, 04:30 PM
sorry about that.
Fedora Core 2
"make tests" all are sucessful
/sbin/ldapsearch -x -b -h ' ' -s base '(objectclass=*)' namingContexts
I get ldap_bind: Can't Connect LDAP server(-1)
when I enter the ldap://ldap.myserver.com I get the search box popup.
When I enter phpadmin.myserver.com I get cannot connect to ldap server
November 30th, 2004, 05:38 PM
a make test determins if it was installed properly not if it's running, look for a slapd.sh file that should be run to start it, I've never used ldap on a linux box (only bsd) so I'm not sure where it puts the file, but the installation help at openldap.org should help
November 30th, 2004, 07:10 PM
slapd is running and listening on port 389
December 17th, 2004, 12:00 PM
I was having a similar problem at one point. I manually deleted the databases and started over, and now LDAP seems to be working properly. (Now if I can just get Samba to talk to it...)
Of course, if you have much data in your system, this may not be a good option...
January 7th, 2005, 09:58 AM
No data at all this is a fresh install
January 23rd, 2005, 03:36 AM
I had similar program
when me type
ldapsearch –x –b ‘’ –s base ‘(objectclass=*)’ namingContexts
openldap show me this error
ldap_bind:Can't contack LDAP server(-1)
before ldapserch everthing is ok
what's wrong with it