On Dec 29, 2011, at 12:20 AM, Ahmed wrote:
Without it
I would expect the library to dynamically define the User class based on a
Base and Session that I supply to it, it would then return me the new User
class using that Base.metadata, and I could track that User class within my
app.
Hi,
Thanks very much guys.
I will try to read from 1.3 documentation only, as i read it is
going to be faster than 1.2.
Thanks
Sreekanth
On Dec 28, 5:38 pm, Michael Merickel mmeri...@gmail.com wrote:
I think you are following the 1.2.* documentation while you installed 1.3.*
via
I am closing the connections right after using them, via the unbind()
method, which according to the docs for python-ldap disconnects from the
directory server. I could use a request callback to unbind, but where
should I put the connection object when the request starts up? Also, I
don't need
The pattern seems to be to attach things to the registry:
# setup
config.registry.ldap_pool = LdapPool()
# in a view
conn = request.registry.ldap_pool.get_connection()
conn.unbind()
Make sure there's a way to notify the pool when a connection is closed. The
pool obviously needs to be
It sounds like you just aren't closing the connections when you're done
with them. The request callbacks provide a way to deal with this if you
can't just immediately close the connection.
On Thu, Dec 29, 2011 at 10:29 AM, Stephan Ellis stephan.el...@gmail.comwrote:
Hello All,
I'm looking
thanks, it works as expected !
On 12/29/2011 08:31, Malthe Borch wrote:
On 28 December 2011 23:25, Julien Cigarjci...@ulb.ac.be wrote:
tal:define=tinymce False
This ^^^ was in your template that defines the macro. It should have read:
tal:define=tinymce tinymce | False
That's
Hello All,
I'm looking for some guidance. I wrote a small app that uses python-ldap
to query and modify a Directory (MS Active Directory). The problem I'm
having is that occasionally the AD server stops accepting new connections
and netstat shows a ton of connections to the directory server.
On Dec 29, 12:26 am, Michael Merickel mmeri...@gmail.com wrote:
I hate to be posting this without an awesome solution, but I'd like someone
to convince me that this is actually a good idea. I have not yet heard of a
good use-case
I'd have to agree with Michael M here, as a user of pyramid and