From: Ron T. <Ro...@US...> - 2007-12-18 12:26:38
|
Hi Michael, Thank you very much for your help. I will look at the exception handler = and ReconnectLDAPObject. I see the multiple calls to add_ext and the = different results, so you are right, it's me! Thanks! Ron > -----Original Message----- > From: Michael Str=F6der >=20 > Ron Teitelbaum wrote: > > >=20 > You should examine your exception handler... >=20 > > I've been getting errors: Can't contact LDAP server. But it appears > > that if > > I retry bind, or search, (and now add) after hitting this error it > > succeeds, > > which is why I added a retry handler. >=20 > You might want to use yet undocumented ldapobject.ReconnectLDAPObject. > It does a good job for this particular problem. >=20 > There are two calls of add_ext in there. >=20 > > Any idea why I would get this result? >=20 > Well, it's your code... ;-) >=20 > Ciao, Michael. >=20 |