Re: [PATCH] RFC 3876 control (return values filter)

2007-07-16 Thread Andreas Hasenack
On Monday 16 July 2007 07:50:30 Michael Ströder wrote:
> Andreas Hasenack wrote:
> > On Thu, May 31, 2007 at 07:23:36PM -0300, Andreas Hasenack wrote:
> >> I will still see about the decode part and then post what I have.
> >
> > Attached is my current patch. Keep in mind I did this basically using
> > the current code as a template.
>
> I've committed this patch to CVS. I'd appreciate if you could also
> provide a small script for Demo/.

Thanks, I'll get you such a script soon.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Experiments with pyasn1 and preread control

2007-07-19 Thread Andreas Hasenack
On Thu, Jul 19, 2007 at 01:21:07PM +0200, Michael Ströder wrote:
> Hello Andreas,
> 
> I've added your demo script to python-ldap's CVS as
> Demo/pyasn1/prereadcontrol.py. I'd appreciate if you could implement the
> decodeControlValue() method with pyasn1.

I think that would be more difficult, there are lots of classes that
would need to be created, I guess almost the entire LDAP specification
:)

I'll try something with openldap's internal functions, but last time I
hit a rock because I needed the connection object to do that, and it
wasn't available.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Experiments with pyasn1 and preread control

2007-07-20 Thread Andreas Hasenack
On Thu, Jul 19, 2007 at 05:03:12PM +0200, Michael Ströder wrote:
> Andreas Hasenack wrote:
> > On Thu, Jul 19, 2007 at 01:21:07PM +0200, Michael Ströder wrote:
> >> Hello Andreas,
> >>
> >> I've added your demo script to python-ldap's CVS as
> >> Demo/pyasn1/prereadcontrol.py. I'd appreciate if you could implement the
> >> decodeControlValue() method with pyasn1.
> > 
> > I think that would be more difficult, there are lots of classes that
> > would need to be created, I guess almost the entire LDAP specification
> > :)
> 
> Hmm...do you really think so?

That was my impression when I first tried it. Since the control result
is exactly like the ldap search result value, it means it can hold a lot
of things.

> > I'll try something with openldap's internal functions, but last time I
> > hit a rock because I needed the connection object to do that, and it
> > wasn't available.
> 
> I'd be interested to implement support for the post-read control in
> web2ldap because if you add/modify entries to OpenLDAP's back-config the
> DNs may be modified (due to X-ORDERED).

Does web2ldap have any special handling of the back-config entries? I
find that using a regular ldap client to handle these entries is
cumbersome (didn't try web2ldap: only lyma and gq so far).


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: [PATCH] RFC 3876 control (return values filter)

2007-08-03 Thread Andreas Hasenack
On Mon, Jul 16, 2007 at 12:50:30PM +0200, Michael Ströder wrote:
> Andreas Hasenack wrote:
> > On Thu, May 31, 2007 at 07:23:36PM -0300, Andreas Hasenack wrote:
> >> I will still see about the decode part and then post what I have.
> > 
> > Attached is my current patch. Keep in mind I did this basically using
> > the current code as a template.
> 
> I've committed this patch to CVS. I'd appreciate if you could also
> provide a small script for Demo/.

Sorry for the long wait. I'll get to it this weekend (tm).


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: [PATCH] RFC 3876 control (return values filter)

2007-08-05 Thread Andreas Hasenack
On Friday 03 August 2007 13:20:50 Andreas Hasenack wrote:
> On Mon, Jul 16, 2007 at 12:50:30PM +0200, Michael Ströder wrote:
> > Andreas Hasenack wrote:
> > > On Thu, May 31, 2007 at 07:23:36PM -0300, Andreas Hasenack wrote:
> > >> I will still see about the decode part and then post what I have.
> > >
> > > Attached is my current patch. Keep in mind I did this basically using
> > > the current code as a template.
> >
> > I've committed this patch to CVS. I'd appreciate if you could also
> > provide a small script for Demo/.
>
> Sorry for the long wait. I'll get to it this weekend (tm).

Attached.


matchedvalues.py
Description: application/python
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev