[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: localhost ldapsearch[Scanned]



eeek sorry about that;

the error message is

ldap_bind: Can't contact LDAP server (-1)

I have tried the following; from the local machine with no success

ldapsearch -H ldap://localhost/ -w secret -x -b ou=Users,ou=OxObjects,dc=ocf,dc=co,dc=uk -D dc=ocf,dc=co,dc=uk uid=* uidNumber
ldapsearch -H ldap://127.0.0.1/ -w secret -x -b ou=Users,ou=OxObjects,dc=ocf,dc=co,dc=uk -D dc=ocf,dc=co,dc=uk uid=* uidNumber
ldapsearch -H ldap://mailserver-linux/ -w secret -x -b ou=Users,ou=OxObjects,dc=ocf,dc=co,dc=uk -D dc=ocf,dc=co,dc=uk uid=* uidNumber
ldapsearch -H ldap://195.62.2.26/ -w secret -x -b ou=Users,ou=OxObjects,dc=ocf,dc=co,dc=uk -D dc=ocf,dc=co,dc=uk uid=* uidNumber


if I do the following

ldapsearch -H localhost -w secret -x -b ou=Users,ou=OxObjects,dc=ocf,dc=co,dc=uk -D dc=ocf,dc=co,dc=uk uid=* uidNumber

I get

Could not create LDAP session handle (3): Time limit exceeded


thanks again Arif

vadim wrote:

and what message do you get from ldapsearch when trying localhost?

On Tue, 2005-08-09 at 14:12 +0100, Arif Ali wrote:


Hi all,

I have been trying to install ldap on one of our servers to do various things, but with any install I am never able to to get a ldapsearch workin on localhost, but when I do a ldapsearch from a machione on the network pointing to the ip address of the server, I get a result. iptables is turned off, nothing in hosts.deny or hosts.allow, would there be anything else on FC3 which will not allow localhost ldap searches. I am able to view/edit the ldap tree structure using luma from localhost.

any help would be appreciated,

thanks





--
Arif Ali
Software Engineer
OCF plc
Mob:    +44 (0)7970 148122
Office: +44 (0)114 2572200
Fax:    +44 (0)114 2570022
Web:    http://www.ocf.co.uk

This email including any attachments to it is confidential and intended solely for the use of the individual to whom it is addressed. Its contents may be protected by copyright. If you are not the intended recipient, please be advised that you have received this email in error and that you should delete it from your system and not copy its contents or disclose them to any other person. If you have received this email in error please notify OCF plc by telephone on 0845 702 3829

We do not accept responsibility for viruses; you must scan for these.

begin:vcard
fn:Arif Ali
n:Ali;Arif
org:OCF plc
adr;dom:Thorncliffe Road;;Unit 5, Rotunda Business Centre;Sheffield;;S35 2PG
email;internet:aali@ocf.co.uk
title:Software Engineer
tel;work:+44 (0) 114 257 2200
tel;fax:+44 (0) 114 257 0022
tel;cell:+44 (0) 7970 148 122
url:http://www.ocf.co.uk
version:2.1
end:vcard