Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.4

Doc Bug #14447 User note that is a documentation problem
Submitted: 2008-08-03 17:59 UTC
From: jeichorn Assigned: saltybeagle
Status: Closed Package: Auth
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: 1.6.2    
Subscription  


 [2008-08-03 17:59 UTC] jeichorn (Joshua Eichorn)
Manual page: package.authentication.auth.storage.ldap.php The first code example is missing a comma. <code><span style="color: #000000"> <span style="color: #0000BB"><?php $a1 </span><span style="color: #007700">= new </span><span style="color: #0000BB">Auth</span><span style="color: #007700">(</span><span style="color: #DD0000">"LDAP"</span><span style="color: #007700">, array(    </span><span style="color: #DD0000">'host' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'localhost'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'port' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'389'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'version' </span><span style="color: #007700">=> </span><span style="color: #0000BB">3</span><span style="color: #007700">,    </span><span style="color: #DD0000">'basedn' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'o=netsols,c=de'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'userattr' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'uid'    'binddn' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'cn=admin,o=netsols,c=de'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'bindpw' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'password'    </span><span style="color: #007700">)); </span><span style="color: #0000BB">?></span> </span> </code> should be <code><span style="color: #000000"> <span style="color: #0000BB"><?php $a1 </span><span style="color: #007700">= new </span><span style="color: #0000BB">Auth</span><span style="color: #007700">(</span><span style="color: #DD0000">"LDAP"</span><span style="color: #007700">, array(    </span><span style="color: #DD0000">'host' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'localhost'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'port' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'389'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'version' </span><span style="color: #007700">=> </span><span style="color: #0000BB">3</span><span style="color: #007700">,    </span><span style="color: #DD0000">'basedn' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'o=netsols,c=de'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'userattr' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'uid'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'binddn' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'cn=admin,o=netsols,c=de'</span><span style="color: #007700">,    </span><span style="color: #DD0000">'bindpw' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'password'    </span><span style="color: #007700">)); </span><span style="color: #0000BB">?></span> </span> </code>

Comments

 [2008-09-30 21:22 UTC] saltybeagle (Brett Bieber)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. This should be fixed.