LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-04-2004, 03:28 PM   #1
Jingle
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Fedora Core 2
Posts: 41

Rep: Reputation: 15
ldap_sasl_interactive_bind_s: Can't contact LDAP server (81)


Hi there ,

Does any one know what this means when I'm trying a simple ldapsearch ?
I use an ldapserver for my adressbook over the network , but strangely something happened and i don't have a clue whats going on .

I read the man pages of openldap on my machine but that didn't help me , perhaps anyone of you can . help would be very appreciated.

and a happy new year to all the linux fans :-)
 
Old 01-04-2004, 09:33 PM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
check you're not running a firewall that prevents you from accessing ldap port (389 i think)
 
Old 01-06-2004, 02:05 PM   #3
Jingle
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Fedora Core 2
Posts: 41

Original Poster
Rep: Reputation: 15
Well i'm not running a fire wall , but have redhats security level to medium , even when i put it to no security level at all I still get that message .
Normally one could always telnet a port on the machine and get someting back like a connected status, but I get connection refused when I telnet to port 389 , could you tell me how to open it ? , or what to do about it ?

Last edited by Jingle; 01-06-2004 at 02:07 PM.
 
Old 01-08-2004, 12:20 PM   #4
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
Sorry, I never used RH since 5.1 so I don't know it's security policy...

Quote:
Normally one could always telnet a port on the machine and get someting back like a connected status, but I get connection refused...
Well, actually these days you can telnet a port only if there's a daemon/service waiting for you on the target. What host did you try to telnet to? If it's your box, it's probably not configured to act as a ldap server.
Can you ping the ldap server you're trying to connect to?
If so, try these lines as root:
Code:
iptables -A OUTPUT -d <ldap-server-ip> -j ACCEPT
iptables -A INPUT -s <ldap-server-ip> -j ACCEPT
This will allow ANY connection to/from your ldap server, so is somewhat unsafe, but will quickly show if it's a local firewalling problem.
Then try a search.
Note that iptables chains are not persistent, so don't worry too much about messing things: your iptables will go back to previous state after reboot.

Tell me if this solved, in case I might help you find a more "secure" setup.

Here is an iptables howto, only if you feel brave or courious:
http://www.telematik.informatik.uni-...les-HOWTO.html
 
Old 01-08-2004, 01:41 PM   #5
Jingle
Member
 
Registered: May 2003
Location: Netherlands
Distribution: Fedora Core 2
Posts: 41

Original Poster
Rep: Reputation: 15
Thanx i'll try that and let you know ! little bit busy with other stuff ....so
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 03:02 AM
ldap_bind Can't contact LDAP server mesh2005 Linux - Networking 17 06-19-2014 09:44 AM
LDAP server not starting as user LDAP klnasveschuk Fedora 1 02-15-2007 05:49 AM
Iptables timeout and sometimes clients cannot contact server susje Linux - Security 6 01-06-2005 12:44 AM
Server loses contact with outer world Statoilroffe Linux - Networking 0 03-29-2004 12:23 PM


All times are GMT -5. The time now is 11:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration