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 :-) |
check you're not running a firewall that prevents you from accessing ldap port (389 i think)
|
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 ? |
Sorry, I never used RH since 5.1 so I don't know it's security policy...
Quote:
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 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 |
Thanx i'll try that and let you know ! little bit busy with other stuff ....so
|
All times are GMT -5. The time now is 08:30 AM. |