[Freeipa-devel] [PATCH] 956 user lockout status

Rob Crittenden rcritten at redhat.com
Tue Feb 21 22:41:49 UTC 2012


Simo Sorce wrote:
> 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'])
>
> Nack,
> 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.
>

fixed

rob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-956-2-status.patch
Type: text/x-diff
Size: 7232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120221/4481f3c7/attachment.bin>


More information about the Freeipa-devel mailing list