#71 Log successful reconnect
Closed: Fixed Opened by pspacek.

Plugin should log successful reconnect to LDAP server.

May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost

Next line should say

successfully reconnected to LDAP server

Thanks. This would be very useful when I try to get a status of named:

# service named status
Redirecting to /bin/systemctl  status named.service
named.service - Berkeley Internet Name Domain (DNS)
      Loaded: loaded (/usr/lib/systemd/system/named.service; disabled)
      Active: active (running) since Thu, 31 May 2012 07:58:14 -0400; 41min ago
    Main PID: 20174 (named)
      CGroup: name=systemd:/system/named.service
           20174 /usr/sbin/named -u named

May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:59:44 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:59:44 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost
May 31 07:59:45 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:59:45 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost
May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost

This way, I cannot know that the LDAP connection has been restored.

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=829392

Pushed to master:

https://fedorahosted.org/bind-dyndb-ldap/changeset/3d5310d29f709f83fabb33f54356efa2acf5582d
https://fedorahosted.org/bind-dyndb-ldap/changeset/ea9c3287f9e01dd932116e39de6cb592862f7591
https://fedorahosted.org/bind-dyndb-ldap/changeset/e89735d969dc79d632f2c7776f5e88b934ccce57

Metadata Update from @pspacek:
- Issue assigned to pspacek
- Issue set to the milestone: 3.0 IPA

Log in to comment on this ticket.

Metadata