On Tue, 2012-02-21 at 15:57 -0500, Rob Crittenden wrote:
> +                other_ldap = ldap2(shared_instance=False,
> +                                   ldap_uri='ldap://%s' % host,
> +                                   base_dn=self.api.env.basedn)
> +                other_ldap.connect(ccache=os.environ['KRB5CCNAME']) 

if a server is not reachable this will give back a traceback as no
exception is trapped.
Also in general we should not fail, some servers may have whatever
issues. We should just return a "N/A" result for those servers that we
had problem reaching or requesting values from.


Simo Sorce * Red Hat, Inc * New York

Freeipa-devel mailing list

Reply via email to