<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/python-ldap/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/python-ldap/feature-requests/</id><updated>2016-12-09T07:32:09.480000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>#18 be more lenient in LDIFParser</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/18/?limit=100#d0ee" rel="alternate"/><published>2016-12-09T07:32:09.480000Z</published><updated>2016-12-09T07:32:09.480000Z</updated><author><name>Michael Ströder</name><uri>https://sourceforge.net/u/stroeder/</uri></author><id>https://sourceforge.net1bae43a1a3d7c0508f16b540ef02fb0a594f83e4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Michael Ströder&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#10 support for winldap</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/10/?limit=100#a310" rel="alternate"/><published>2016-02-29T17:46:10.929000Z</published><updated>2016-02-29T17:46:10.929000Z</updated><author><name>Michael Ströder</name><uri>https://sourceforge.net/u/stroeder/</uri></author><id>https://sourceforge.netc8f95ea8bf9d02863e8205bae01f383cb0aa5cfe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;discussion&lt;/strong&gt;: enabled --&amp;gt; disabled&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#5 LDIF parser hides DN with change record type</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/5/?limit=50#9f42" rel="alternate"/><published>2016-02-05T09:19:40.649000Z</published><updated>2016-02-05T09:19:40.649000Z</updated><author><name>Michael Ströder</name><uri>https://sourceforge.net/u/stroeder/</uri></author><id>https://sourceforge.netcd1e4fb670209b778f3b42a6ec585875cb706c59</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Michael Ströder&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>be more lenient in LDIFParser</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/18/" rel="alternate"/><published>2016-02-03T16:25:35.271000Z</published><updated>2016-02-03T16:25:35.271000Z</updated><author><name>Jephte CLAIN</name><uri>https://sourceforge.net/u/jclain/</uri></author><id>https://sourceforge.netbb7b6dbbde472d707ee0ebeb35a61fff4d26782e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;from the "be lenient with what you parse, be strict with what you write" departement, I attach a patch which support ldif input with several blank and/or comment lines between objects&lt;br/&gt;
I don't know if this behavior is correct wrt the LDIF standard, but it is useful for me, because I have LDIF files with comments written by humans, e.g:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;# silly example
dn: uid=one,dc=tld
uid: one

# another silly example
dn: uid=two,dc=tld
uid: two
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;with the current parser, uid=two is not read because there are two "blanks" lines before&lt;/p&gt;
&lt;p&gt;best regards,&lt;br/&gt;
Jephte CLAIN&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>be more lenient in LDIFParser</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/18/" rel="alternate"/><published>2016-02-03T16:25:35.271000Z</published><updated>2016-02-03T16:25:35.271000Z</updated><author><name>Jephte CLAIN</name><uri>https://sourceforge.net/u/jclain/</uri></author><id>https://sourceforge.netada063600efd7fc59c7d17a0b564c8248e8f368d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 18 has been modified: be more lenient in LDIFParser&lt;br/&gt;
Edited By: Michael Ströder (stroeder)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;br/&gt;
Owner updated: None =&amp;gt; u'stroeder'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>modlist value replacement</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/17/" rel="alternate"/><published>2012-05-31T21:15:39Z</published><updated>2012-05-31T21:15:39Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net2511d44a694d4bddb177e2518e4d04f4d76c0cdf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Did not like how modifyModlist handled the case where there were old and new multi valued attribute differences.  Delete all and then just add all the values from old?  works, but when you have a million values and you only need to change a few, it's a bit of extra work.&lt;br /&gt;
Attached is my version of modlist.py that only deletes or adds what is different.  Used the 2.4.9 version as the base I modified.&lt;br /&gt;
Done some testing, but it's not extensively tested.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>New Feature: support ldap_extended_operation</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/16/" rel="alternate"/><published>2010-10-01T17:40:42Z</published><updated>2010-10-01T17:40:42Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf78600ce7187a52b4f2f34f5de801d2ba4c33049</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;python-ldap should provide a way to call ldap_extended_operation to call arbitrary extended operations (e.g. perhaps an extop method to LDAPObject?)&lt;br /&gt;
A patch has been submitted to add support for returning extended operation responses.  This would allow python-ldap to be used for a much wider variety of applications (e.g. a general purpose openldap LDAPSync client).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>[PATCH] OpenLDAP OPT_DEFBASE Support (new patch / comment)</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/15/" rel="alternate"/><published>2010-09-20T16:31:39Z</published><updated>2010-09-20T16:31:39Z</updated><author><name>Johannes Weißl</name><uri>https://sourceforge.net/u/hrglgrmpf/</uri></author><id>https://sourceforge.net7d7cf1a528b656e148de72c5799c5b0691b26365</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry for sending a duplicate feature request to 2185369, but I could somehow not comment on it. They can be merged if possible!&lt;/p&gt;
&lt;p&gt;stroeder wrote on 2008-11-20 16:49:44 CET:&lt;br /&gt;
&amp;gt; Can you please elaborate which versions of the OpenLDAP libs supports this&lt;br /&gt;
&amp;gt; option?&lt;br /&gt;
&amp;gt; In general I'm not in favor of letting Python apps rely on ldap.conf since&lt;br /&gt;
&amp;gt; this proprietary OpenLDAP configuration concept is widely misused.&lt;/p&gt;
&lt;p&gt;LDAP_OPT_DEFBASE seems to be supported since Tue Apr 25 20:23:01 2006 UTC [1] [2]. The oldest release on the FTP which I could find was 2.4.6 (released on 2007/10/31). I updated the patch to current CVS and also included ifdefs for older versions of openldap. I would suggest accepting the patch,&lt;br /&gt;
since it doesn't mean Python apps rely on ldap.conf (since the default basedn could be overwritten by command line args to the application). Also options like LDAP_OPT_URI (which can be set in ldap.conf) are already supported.&lt;/p&gt;
&lt;p&gt;Greetings,&lt;br /&gt;
Johannes&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Support for reading controls sent with LDAP_RES_SEARCH_ENTRY</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/14/" rel="alternate"/><published>2009-07-29T15:53:00Z</published><updated>2009-07-29T15:53:00Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net650c4113da4479e667aa46e8ea4f25cae819faf6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There doesn't appear to be a way to get the controls returned with LDAP_RES_SEARCH_ENTRY responses from the server.  It looks like the code in l_ldap_result3() only grabs the controls sent with the result response, not search entry or search references responses:&lt;/p&gt;
&lt;p&gt;978     if (res_type == LDAP_RES_SEARCH_ENTRY&lt;br /&gt;
979         || res_type == LDAP_RES_SEARCH_REFERENCE&lt;br /&gt;
980     )&lt;br /&gt;
981     pmsg = LDAPmessage_to_python( self-&amp;gt;ldap, msg );&lt;br /&gt;
982     else {&lt;br /&gt;
983     int result;&lt;br /&gt;
984     char **refs = NULL;&lt;br /&gt;
985         LDAPControl **serverctrls = 0;&lt;br /&gt;
986     LDAP_BEGIN_ALLOW_THREADS( self );&lt;br /&gt;
987     ldap_parse_result( self-&amp;gt;ldap, msg, &amp;amp;result, NULL, NULL, &amp;amp;refs,&lt;br /&gt;
988                            &amp;amp;serverctrls, 0 );&lt;/p&gt;
&lt;p&gt;The ability to read per-entry controls is necessary to support features like the new Dereference control &lt;a href="http://www.openldap.org/devel/cvsweb.cgi/~checkout~/doc/drafts/draft-masarati-ldap-deref-xx.txt" rel="nofollow"&gt;http://www.openldap.org/devel/cvsweb.cgi/~checkout~/doc/drafts/draft-masarati-ldap-deref-xx.txt&lt;/a&gt;, persistent search, and probably other features.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>[PATCH] OpenLDAP OPT_DEFBASE Support</title><link href="https://sourceforge.net/p/python-ldap/feature-requests/13/" rel="alternate"/><published>2008-10-21T20:39:35Z</published><updated>2008-10-21T20:39:35Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete99087e48053f5970d05dc21050113eb3074fa1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Later versions of OpenLDAP (this patch was tested against OpenLDAP 2.4.11) support the LDAP_OPT_DEFBASE option, which returns the value for basedn set in the ldap.conf file.&lt;/p&gt;
&lt;p&gt;This patch modifies constants.c and options.c so that ldap.OPT_DEFBASE can be used as an argument to ldap.get_option().&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>