Changeset 1742 for trunk


Ignore:
Timestamp:
Nov 22, 2010, 6:25:17 AM (14 years ago)
Author:
mitchb
Message:
Fix whoisd bug introduced in r1741

The code in r1741 would cause the message about having trouble
looking up LDAP records to be returned for nonexistent host
records as well as for actual LDAP problems.  If we get an empty
search result back, but don't experience an error, we're done
and don't need to keep trying.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/oursrc/whoisd/whoisd.tac

    r1741 r1742  
    9090            try:
    9191                info = self.searchLDAP(vhost)
     92                break
    9293            except (ldap.TIMEOUT, ldap.SERVER_DOWN):
    9394                self.ldap.unbind()
Note: See TracChangeset for help on using the changeset viewer.