<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Net_LDAP2</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/23758" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21212" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21211" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20504" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17267" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16796" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16165" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13979" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/23758">
      <title>Net_LDAP2: Bug 23758 [Open] Bind to a referral is anonymous</title>
      <link>http://pear.php.net/bugs/23758</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Bug
Reported by jlwasmer
2018-07-18T19:00:34+00:00
PHP: 5.6.24 OS: FreeBSD 10.3 Package Version: 2.2.0

Description:
------------
Hi,

Although I bind to the local LDAP server as a valid user, when 
making a change the local server is sending a referral back which is 
followed but this fails because the bind is then anonymous.

Thanks,
JL

Expected result:
----------------
I would expect to bind to the referral server with the same DN and 
password as initially used.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Bug
Reported by jlwasmer
2018-07-18T19:00:34+00:00
PHP: 5.6.24 OS: FreeBSD 10.3 Package Version: 2.2.0

Description:
------------
Hi,

Although I bind to the local LDAP server as a valid user, when 
making a change the local server is sending a referral back which is 
followed but this fails because the bind is then anonymous.

Thanks,
JL

Expected result:
----------------
I would expect to bind to the referral server with the same DN and 
password as initially used.</pre>]]></description>
      <dc:date>2018-10-14T01:42:17+00:00</dc:date>
      <dc:creator>jl &amp;#x61;&amp;#116; 2018 &amp;#x64;&amp;#111;&amp;#x74; wasmer &amp;#x64;&amp;#111;&amp;#x74; ca</dc:creator>
      <dc:subject>Net_LDAP2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21212">
      <title>Net_LDAP2: Bug 21212 [Open] Quiet &quot;Call to undefined function dl()&quot; fatal error when ldap extension missing</title>
      <link>http://pear.php.net/bugs/21212</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Bug
Reported by chealer
2017-05-17T18:42:51+00:00
PHP: 5.6.30 OS:  Package Version: 2.2.0

Description:
------------
Trying to connect calls checkLDAPExtension(). When the ldap PHP module is not present, a fatal error will occur unless the dl() function is available, due to a call to that function without checking its existence:
        if (!extension_loaded('ldap') &amp;&amp; !dl('ldap.' . PHP_SHLIB_SUFFIX)) {
            return new Net_LDAP2_Error(&quot;It seems that you do not have the ldap-extension installed. Please install it before using the Net_LDAP2 package.&quot;);
        } else {
            return true;
        }

Moreover, due to the use of the @ operator, that fatal error is suppressed, which typically means the requests yields a blank page.

This bug is already present in 2.0.10. The dl function is missing when using XAMPP 5.6.30 on Windows, but is still present in some SAPI-s. This can be solved with:
if (!extension_loaded('ldap') &amp;&amp; (! function_exists('dl') || !@dl('ldap.' . PHP_SHLIB_SUFFIX))) {
Or perhaps using PEAR::loadExtension().</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Bug
Reported by chealer
2017-05-17T18:42:51+00:00
PHP: 5.6.30 OS:  Package Version: 2.2.0

Description:
------------
Trying to connect calls checkLDAPExtension(). When the ldap PHP module is not present, a fatal error will occur unless the dl() function is available, due to a call to that function without checking its existence:
        if (!extension_loaded('ldap') &amp;&amp; !dl('ldap.' . PHP_SHLIB_SUFFIX)) {
            return new Net_LDAP2_Error(&quot;It seems that you do not have the ldap-extension installed. Please install it before using the Net_LDAP2 package.&quot;);
        } else {
            return true;
        }

Moreover, due to the use of the @ operator, that fatal error is suppressed, which typically means the requests yields a blank page.

This bug is already present in 2.0.10. The dl function is missing when using XAMPP 5.6.30 on Windows, but is still present in some SAPI-s. This can be solved with:
if (!extension_loaded('ldap') &amp;&amp; (! function_exists('dl') || !@dl('ldap.' . PHP_SHLIB_SUFFIX))) {
Or perhaps using PEAR::loadExtension().</pre>]]></description>
      <dc:date>2017-05-17T18:42:51+00:00</dc:date>
      <dc:creator>chealer &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_LDAP2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21211">
      <title>Net_LDAP2: Bug 21211 [Open] Version reported as 2.1.0</title>
      <link>http://pear.php.net/bugs/21211</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Bug
Reported by chealer
2017-05-17T16:56:35+00:00
PHP: 5.6.30 OS:  Package Version: 2.2.0

Description:
------------
The version (indicated in LDAP2.php line 42) is 2.1.0, even if the package is 2.2.0's.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Bug
Reported by chealer
2017-05-17T16:56:35+00:00
PHP: 5.6.30 OS:  Package Version: 2.2.0

Description:
------------
The version (indicated in LDAP2.php line 42) is 2.1.0, even if the package is 2.2.0's.</pre>]]></description>
      <dc:date>2017-05-17T16:56:35+00:00</dc:date>
      <dc:creator>chealer &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_LDAP2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20504">
      <title>Net_LDAP2: Bug 20504 [Open] LICENSE missing in archive.</title>
      <link>http://pear.php.net/bugs/20504</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Bug
Reported by remicollet
2015-02-22T20:38:32+00:00
PHP: Irrelevant OS:  Package Version: 2.1.0

Description:
------------
Please add the LICENSE file in package.xml (role=&quot;doc&quot;) so it will be included in next official archive.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Bug
Reported by remicollet
2015-02-22T20:38:32+00:00
PHP: Irrelevant OS:  Package Version: 2.1.0

Description:
------------
Please add the LICENSE file in package.xml (role=&quot;doc&quot;) so it will be included in next official archive.</pre>]]></description>
      <dc:date>2015-02-23T12:48:25+00:00</dc:date>
      <dc:creator>Fedora &amp;#x61;&amp;#116; FamilleCollet &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_LDAP2 Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17267">
      <title>Net_LDAP2: Feature/Change Request 17267 [Assigned] Paged Search  Results</title>
      <link>http://pear.php.net/bugs/17267</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by czachary
2010-03-25T22:49:26+00:00
PHP: 5.3.1 OS: Fedora 10 Linux Package Version: 2.0.9

Description:
------------
IS it possible to have a feature to page the searched results.  This exists in the Perl implementation of Net::LDAP, but I don't see it for PHP.

Here are the links to the Perl Net::LDAP paging feature.

http://search.cpan.org/~gbarr/perl-ldap-0.4001/lib/Net/LDAP/Control/Paged.pm

http://search.cpan.org/~gbarr/perl-ldap-0.4001/lib/Net/LDAP/Control/VLV.pm

Thanks</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by czachary
2010-03-25T22:49:26+00:00
PHP: 5.3.1 OS: Fedora 10 Linux Package Version: 2.0.9

Description:
------------
IS it possible to have a feature to page the searched results.  This exists in the Perl implementation of Net::LDAP, but I don't see it for PHP.

Here are the links to the Perl Net::LDAP paging feature.

http://search.cpan.org/~gbarr/perl-ldap-0.4001/lib/Net/LDAP/Control/Paged.pm

http://search.cpan.org/~gbarr/perl-ldap-0.4001/lib/Net/LDAP/Control/VLV.pm

Thanks</pre>]]></description>
      <dc:date>2011-08-24T16:21:38+00:00</dc:date>
      <dc:creator>czachary &amp;#x61;&amp;#116; wiley &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_LDAP2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16796">
      <title>Net_LDAP2: Feature/Change Request 16796 [Open] Support deletion of non-queried attributions</title>
      <link>http://pear.php.net/bugs/16796</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by candrews
2009-11-18T10:11:57+00:00
PHP: 5.2.5 OS:  Package Version: 2.0.7

Description:
------------
On some LDAP servers, some attributes can be added or deleted, but no queried. On MS Active Directory, the &quot;unicodePwd&quot; attribute is one such example.

Right now, Net_LDAP2 cannot change MS AD user password because of this. To change an AD users password, first you delete the &quot;unicodePwd&quot; attribute with the current password as the value, then  you add a new &quot;unicodePwd&quot; attribute with the new password as its value. These must be done in the same transaction.

It appears two changes need to be made: Net_LDAP2_Entry-&gt;delete needs to not check for attribute existance before appending the delete operation to the _changes array, and Net_LDAP2_Entry-&gt;update should perform delete operations before add operations (which, to me at least, makes sense anyways).</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by candrews
2009-11-18T10:11:57+00:00
PHP: 5.2.5 OS:  Package Version: 2.0.7

Description:
------------
On some LDAP servers, some attributes can be added or deleted, but no queried. On MS Active Directory, the &quot;unicodePwd&quot; attribute is one such example.

Right now, Net_LDAP2 cannot change MS AD user password because of this. To change an AD users password, first you delete the &quot;unicodePwd&quot; attribute with the current password as the value, then  you add a new &quot;unicodePwd&quot; attribute with the new password as its value. These must be done in the same transaction.

It appears two changes need to be made: Net_LDAP2_Entry-&gt;delete needs to not check for attribute existance before appending the delete operation to the _changes array, and Net_LDAP2_Entry-&gt;update should perform delete operations before add operations (which, to me at least, makes sense anyways).</pre>]]></description>
      <dc:date>2011-07-18T18:58:27+00:00</dc:date>
      <dc:creator>candrews &amp;#x61;&amp;#116; integralblue &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Net_LDAP2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16165">
      <title>Net_LDAP2: Feature/Change Request 16165 [Open] Fully implement LDIF change handling</title>
      <link>http://pear.php.net/bugs/16165</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by beni
2009-04-30T15:14:31+00:00
PHP: 5.2.9 OS:  Package Version: 2.0.0RC5

Description:
------------
There are some special cases missing in the LDIF writer engine.
Those must be implemented.
See sourcecode for &quot;toto&quot; markers.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by beni
2009-04-30T15:14:31+00:00
PHP: 5.2.9 OS:  Package Version: 2.0.0RC5

Description:
------------
There are some special cases missing in the LDIF writer engine.
Those must be implemented.
See sourcecode for &quot;toto&quot; markers.</pre>]]></description>
      <dc:date>2009-04-30T15:14:31+00:00</dc:date>
      <dc:creator>beni &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Net_LDAP2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13979">
      <title>Net_LDAP2: Feature/Change Request 13979 [Open] creating entry objects and modifiyng should be more smart</title>
      <link>http://pear.php.net/bugs/13979</link>
      <content:encoded><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by beni
2008-05-24T11:46:44+00:00
PHP: Irrelevant OS: Debian Etch Package Version: CVS

Description:
------------
It should be researched if adding/modifing an entry needs to be so complicated. Currently one must know if the entry is present inside the directory or if it is a new one.
However, this is more performant than checking the dn every run.

Maybe we should introduce some &quot;smart&quot; constructor, that checks for existance inside the server and then calls the appropriate constructor.


For modifying entries this could be more simplified - if modification or adding fails, we could adjust $_new and try again instead failing immediately.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Net_LDAP2 Feature/Change Request
Reported by beni
2008-05-24T11:46:44+00:00
PHP: Irrelevant OS: Debian Etch Package Version: CVS

Description:
------------
It should be researched if adding/modifing an entry needs to be so complicated. Currently one must know if the entry is present inside the directory or if it is a new one.
However, this is more performant than checking the dn every run.

Maybe we should introduce some &quot;smart&quot; constructor, that checks for existance inside the server and then calls the appropriate constructor.


For modifying entries this could be more simplified - if modification or adding fails, we could adjust $_new and try again instead failing immediately.</pre>]]></description>
      <dc:date>2008-11-26T11:20:05+00:00</dc:date>
      <dc:creator>beni &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Net_LDAP2 Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
