From: Andreas H. <aha...@te...> - 2007-06-06 12:38:43
|
On Wed, Jun 06, 2007 at 02:16:11PM +0200, Michael Ströder wrote: > Andreas, > > Andreas Hasenack wrote: > > I have been having fun with controls. Today I tried to use the Pre-Read > > control together with the modify+increment extension, so that > > modify+increment becomes actually useful. > > Thanks for sharing your experiences. > > > I first added the encoding part to the ldap.so module, but later got a > > response from the pyasn1 mailing list and tried again in pure python. > > Saw your postings there. I'm also lurking on the pyasn1-users mailing > list. The author seems to be quite responsive. Yes he does > > The decoding part will probably be more difficult... As the control > > response is a SearchResultEntry which is a bit more complex to decode. > > How about exposing the function LDAPmessage_to_python() in message.c. > It's used also to parse search results invoked by l_ldap_result3() in > LDAPObject.c. Right. Later on I was thinking "but wait, python-ldap must already have such a function". I will check. Thanks |