Re: LDAP crash
Hi,
On Thu, Sep 25, 2014 at 07:15:29PM +0200, Klaus Ade Johnstad wrote:
> Torsdag 25. september 2014 18:41:53 skrev Giorgio Pioda :
> > Any help will be appreciated
>
> Have a look at the fileownership in /var/lib/ldap, I remember seeing
> suddenly wrong ownership on files there.
Seems to be Ok, since I've reset from backup and set the ownership
to openldap.
What I see now is the following
using ldapvi as standard
ldapvi --ldap-conf -ZD '(cn=admin)'
gives
ldap_start_tls: Can't contact LDAP server (-1).
The same happens removing the -Z option BUT
if I specify the hostname like
ldapvi --ldap-conf --host tjener -ZD '(cn=admin)'
then it works !!!
So. Maybe it is a bind9 problem not resolving the hostnames?
DHCP doesn't start with error:
Cannot find host LDAP entry tjener (&(objectClass=dhcpServer)(cn=tjener))
BUT I checked right now, the objectClass seems to be there... so is again
DHCP that is not able to find the convert DNS ldap=10.164.88.33 and thus
find the correct info?
And most strangely bind9 restarts without complain. It resolves external
names, but not anymore the internal ones...
I forgot. Also nss is not finding usernames...
Regards
Giorgio
> --
> Klaus Ade Johnstad
> klaus@linuxavdelingen.no
> Mobil:938 69 567
>
> 67E61D18B2C44F8A3DA35C6D849F9F5F 26FA477D
--
Giorgio Pioda - Sysadmin SPSE-Tenero
Cell +41 79 629 20 63
Tel +41 58 468 62 48
Fax +41 58 468 61 98
Reply to: