Thread: ldap error
View Single Post
  #17 (permalink)  
Old 11-22-2007, 02:48 AM
PhishKiller PhishKiller is offline
Active Member
 
Posts: 48
Default

Hi there,

I can sympathise.

First thing that jumps out at my is your network config and /etc/hosts not matching.

Code:
--------------------------------------------------------------------------
etc/hosts:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
218.111.110.57 mail.daquarian.com mail

--------------------------------------------------------------------------
network configuration:

eth0 Link encap:Ethernet HWaddr 00:0D:87:AC:2D:35
inet addr:192.168.4.13 Bcast:192.168.4.255 Mask:255.255.255.0
inet6 addr: fe80::20d:87ff:feac:2d35/64 Scope:Link
What you have is an /etc/hosts file that is trying to tell slapd (LDAP) that the mail server's IP is 218.111.110.57

However, your network configuration (do you have DHCP turned on. .it looks like a DHCP assigned address) is 192.168.4.13.

Thus. slapd is totally confused about which IP it's supposed to be attempting it's bind to.

First step is to re-configure your eth0 NIC to the 218 address... OR change your /etc/hosts file to match the actualy IP currently set to eth0.

If you need to change the eth0 config.. it's 'typically' located here:

/etc/sysconfig/network-scripts/ifcfg-eth0
Reply With Quote