Re: [Freeipa-devel] Using the new LDAP code

2013-03-01 Thread John Dennis
On 03/01/2013 11:14 AM, Martin Kosek wrote: Just FYI, I just pushed the relevant patches to master branch. Enjoy! Thanks to Petr and Honza for doing this refactoring! Yes, thanks and kudos to Petr and Honza for this work. We really needed to clean up this part of our code base and I'm confide

Re: [Freeipa-devel] Using the new LDAP code

2013-03-01 Thread Martin Kosek
On 02/27/2013 06:22 PM, John Dennis wrote: > On 02/27/2013 12:22 PM, Jan Cholasta wrote: >> On 27.2.2013 18:14, John Dennis wrote: >>> On 02/27/2013 11:23 AM, Jan Cholasta wrote: Hi, On 27.2.2013 17:09, John Dennis wrote: >> IPA plugins traditionally use (dn, entry_attrs) pairs t

Re: [Freeipa-devel] Using the new LDAP code

2013-02-27 Thread John Dennis
On 02/27/2013 12:22 PM, Jan Cholasta wrote: On 27.2.2013 18:14, John Dennis wrote: On 02/27/2013 11:23 AM, Jan Cholasta wrote: Hi, On 27.2.2013 17:09, John Dennis wrote: IPA plugins traditionally use (dn, entry_attrs) pairs to represent entries. To make that work, iterating over an LDAPEntry

Re: [Freeipa-devel] Using the new LDAP code

2013-02-27 Thread Jan Cholasta
On 27.2.2013 18:14, John Dennis wrote: On 02/27/2013 11:23 AM, Jan Cholasta wrote: Hi, On 27.2.2013 17:09, John Dennis wrote: IPA plugins traditionally use (dn, entry_attrs) pairs to represent entries. To make that work, iterating over an LDAPEntry will, for now, yield the DN and the entry its

Re: [Freeipa-devel] Using the new LDAP code

2013-02-27 Thread John Dennis
On 02/27/2013 11:23 AM, Jan Cholasta wrote: Hi, On 27.2.2013 17:09, John Dennis wrote: IPA plugins traditionally use (dn, entry_attrs) pairs to represent entries. To make that work, iterating over an LDAPEntry will, for now, yield the DN and the entry itself. Always use keys() or values() when

Re: [Freeipa-devel] Using the new LDAP code

2013-02-27 Thread Jan Cholasta
Hi, On 27.2.2013 17:09, John Dennis wrote: IPA plugins traditionally use (dn, entry_attrs) pairs to represent entries. To make that work, iterating over an LDAPEntry will, for now, yield the DN and the entry itself. Always use keys() or values() when iterating over an entry. I'm trying parse w

Re: [Freeipa-devel] Using the new LDAP code

2013-02-27 Thread Petr Viktorin
On 02/27/2013 05:09 PM, John Dennis wrote: On 02/27/2013 06:46 AM, Petr Viktorin wrote: Hello, A big refactoring of our LDAP code should be merged soon-ish now. Here's a summary for developers. Great, that's fabulous news and thanks for the good work! IPA plugins traditionally use (dn, entry

Re: [Freeipa-devel] Using the new LDAP code

2013-02-27 Thread John Dennis
On 02/27/2013 06:46 AM, Petr Viktorin wrote: Hello, A big refactoring of our LDAP code should be merged soon-ish now. Here's a summary for developers. Great, that's fabulous news and thanks for the good work! IPA plugins traditionally use (dn, entry_attrs) pairs to represent entries. To make