[python3-ldap] ServerPool issue
Joseph L. Casale
jcasale at activenetwerx.com
Fri Mar 21 22:50:28 CET 2014
Hi Giovanni,
Seems check_availability has a syntax error in Server class on line 108, self.server.host...
On another note, I am interested in building a wrapper around this to provide some
resiliency around a query to a DC in Active Directory whereby there are many and one
may not have an object replicated or may be down.
I have some ideas on building the class with knowledge of the size of the pool to abstract
retries but I am not certain of my connection brokering approach. I don't want to open a
connection until a method is invoked after which I will retain the connection instance.
This idea worked before I had the potential to pool, but now I am not clear on the most elegant
approach.
What is your opinion?
Thanks,
jlc
More information about the python3-ldap
mailing list