Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <package packagerversion="1.4.11" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
  3. http://pear.php.net/dtd/tasks-1.0.xsd
  4. http://pear.php.net/dtd/package-2.0
  5. http://pear.php.net/dtd/package-2.0.xsd">
  6. <name>Net_LDAP2</name>
  7. <channel>pear.php.net</channel>
  8. <extends>Net_LDAP</extends>
  9. <summary>Object oriented interface for searching and manipulating LDAP-entries</summary>
  10. <description>Net_LDAP2 is the successor of Net_LDAP which is a clone of Perls Net::LDAP
  11. object interface to directory servers. It does contain most of Net::LDAPs
  12. features but has some own too.
  13. With Net_LDAP2 you have:
  14. * A simple object-oriented interface to connections, searches entries and filters.
  15. * Support for TLS and LDAP v3.
  16. * Simple modification, deletion and creation of LDAP entries.
  17. * Support for schema handling.
  18. Net_LDAP2 layers itself on top of PHP's existing ldap extensions.
  19. </description>
  20. <lead>
  21. <name>Benedikt Hallinger</name>
  22. <user>beni</user>
  23. <email>beni@php.net</email>
  24. <active>yes</active>
  25. </lead>
  26. <!-- Information for this release -->
  27. <date>2015-10-30</date>
  28. <version>
  29. <release>2.2.0</release>
  30. <api>2.2.0</api>
  31. </version>
  32. <stability>
  33. <release>stable</release>
  34. <api>stable</api>
  35. </stability>
  36. <license>LGPLv3 License</license>
  37. <notes>
  38. * Fix bug #20969: Fatal error with PEAR 1.10.0 / constructor visiblity
  39. * Add support for PHP 7
  40. * Improve unit tests
  41. </notes>
  42. <contents>
  43. <dir name="/">
  44. <dir name="Net">
  45. <file name="LDAP2.php" role="php" />
  46. <dir name="LDAP2">
  47. <file name="Entry.php" role="php" />
  48. <file name="Filter.php" role="php" />
  49. <file name="RootDSE.php" role="php" />
  50. <file name="Schema.php" role="php" />
  51. <file name="Search.php" role="php" />
  52. <file name="Util.php" role="php" />
  53. <file name="LDIF.php" role="php" />
  54. <file name="SchemaCache.interface.php" role="php" />
  55. <file name="SimpleFileSchemaCache.php" role="php" />
  56. </dir> <!-- /LDAP2 -->
  57. </dir> <!-- /Net -->
  58. <dir name="doc">
  59. <file name="manual.html" role="doc" />
  60. <file name="README.txt" role="doc" />
  61. <file name="RootDSE.txt" role="doc" />
  62. <file name="Schema.txt" role="doc" />
  63. <file name="utf8.txt" role="doc" />
  64. <file name="examples/connecting.php" role="doc" />
  65. <file name="examples/fetch_entry.php" role="doc" />
  66. <file name="examples/search_entries.php" role="doc" />
  67. <file name="examples/add_entry.php" role="doc" />
  68. <file name="examples/modify_entry.php" role="doc" />
  69. <file name="examples/modify_entry2.php" role="doc" />
  70. <file name="examples/schema_cache.php" role="doc" />
  71. </dir> <!-- /doc -->
  72. <dir name="tests">
  73. <file name="phpunit.xml" role="test" />
  74. <file name="Net_LDAP2_TestBase.php" role="test" />
  75. <file name="Net_LDAP2_EntryTest.php" role="test" />
  76. <file name="Net_LDAP2_FilterTest.php" role="test" />
  77. <file name="Net_LDAP2_RootDSETest.php" role="test" />
  78. <file name="Net_LDAP2_SearchTest.php" role="test" />
  79. <file name="Net_LDAP2Test.php" role="test" />
  80. <file name="Net_LDAP2_UtilTest.php" role="test" />
  81. <file name="Net_LDAP2_LDIFTest.php" role="test" />
  82. <file name="ldapconfig.ini.dist" role="test" />
  83. <file name="ldapldifconfig.ini.dist" role="test" />
  84. <file name="ldif_data/base.ldif" role="test" />
  85. <file name="ldif_data/malformed_syntax.ldif" role="test" />
  86. <file name="ldif_data/malformed_syntax.ldif" role="test" />
  87. <file name="ldif_data/malformed_wrapping.ldif" role="test" />
  88. <file name="ldif_data/slapd.conf" role="test" />
  89. <file name="ldif_data/sorted_w40.ldif" role="test" />
  90. <file name="ldif_data/sorted_w50.ldif" role="test" />
  91. <file name="ldif_data/unsorted_w30.ldif" role="test" />
  92. <file name="ldif_data/unsorted_w50.ldif" role="test" />
  93. <file name="ldif_data/unsorted_w50_WIN.ldif" role="test" />
  94. <file name="ldif_data/changes.ldif" role="test" />
  95. </dir> <!-- /tests -->
  96. </dir> <!-- / -->
  97. </contents>
  98. <dependencies>
  99. <required>
  100. <php>
  101. <min>5.4</min>
  102. </php>
  103. <pearinstaller>
  104. <min>1.10.1</min>
  105. </pearinstaller>
  106. <extension>
  107. <name>ldap</name>
  108. </extension>
  109. </required>
  110. </dependencies>
  111. <phprelease />
  112. <!-- CHANGELOG -->
  113. <changelog>
  114. <release>
  115. <version>
  116. <release>0.1</release>
  117. <api>0.1</api>
  118. </version>
  119. <stability>
  120. <release>beta</release>
  121. <api>beta</api>
  122. </stability>
  123. <date>2003-06-23</date>
  124. <license>LGPL License</license>
  125. <notes>Initial release
  126. </notes>
  127. </release>
  128. <release>
  129. <version>
  130. <release>0.2</release>
  131. <api>0.2</api>
  132. </version>
  133. <stability>
  134. <release>beta</release>
  135. <api>beta</api>
  136. </stability>
  137. <date>2003-08-23</date>
  138. <license>LGPL License</license>
  139. <notes>Fixed a lot of bugs that jumped in during the pearification process
  140. </notes>
  141. </release>
  142. <release>
  143. <version>
  144. <release>0.3</release>
  145. <api>0.3</api>
  146. </version>
  147. <stability>
  148. <release>beta</release>
  149. <api>beta</api>
  150. </stability>
  151. <date>2003-09-21</date>
  152. <license>LGPL License</license>
  153. <notes>More bug squashing! Much better errorhandling in the -&gt;search() function.
  154. Also, all errors that create a Pear_error now includes the errornumber if
  155. appropriate (i.e. it was an ldap generated error).
  156. </notes>
  157. </release>
  158. <release>
  159. <version>
  160. <release>0.4</release>
  161. <api>0.4</api>
  162. </version>
  163. <stability>
  164. <release>beta</release>
  165. <api>beta</api>
  166. </stability>
  167. <date>2003-10-01</date>
  168. <license>LGPL License</license>
  169. <notes>Many more bugfixes. Jan Wagner fixed the shift_entry function.
  170. Also a new Net_LDAP_Entry::modify function has been added that goes far making a simple way to modify entries.
  171. </notes>
  172. </release>
  173. <release>
  174. <version>
  175. <release>0.5</release>
  176. <api>0.5</api>
  177. </version>
  178. <stability>
  179. <release>beta</release>
  180. <api>beta</api>
  181. </stability>
  182. <date>2003-10-11</date>
  183. <license>LGPL License</license>
  184. <notes>Jan Wagner Contributed a new RootDSE object and a Schema object and some fixes to the Net_LDAP::search() method
  185. The new Net_ldap_entry::modify() method seems to work very nice now.
  186. </notes>
  187. </release>
  188. <release>
  189. <version>
  190. <release>0.6</release>
  191. <api>0.6</api>
  192. </version>
  193. <stability>
  194. <release>beta</release>
  195. <api>beta</api>
  196. </stability>
  197. <date>2003-10-17</date>
  198. <license>LGPL License</license>
  199. <notes>New Net_LDAP::ArrayUTF8Decode and Net_LDAP::ArrayUTF8Encode functions. These are used by the Net_LDAP::Entry objects to ensure that things work ok.
  200. </notes>
  201. </release>
  202. <release>
  203. <version>
  204. <release>0.6.3</release>
  205. <api>0.6.3</api>
  206. </version>
  207. <stability>
  208. <release>beta</release>
  209. <api>beta</api>
  210. </stability>
  211. <date>2003-11-12</date>
  212. <license>LGPL License</license>
  213. <notes>It seems that 0.6.2 was out too fast. So this is mainly a bugfix release:
  214. - Removed remaining Net_LDAP::UTF8Encode and Net_LDAP::UTF8Decode calls in Net_LDAP_Entry,
  215. which stopped attributes() and get_entry() from working
  216. - The UTF8 functions somehow got outside the Net_LDAP class ... FIXED.
  217. - The usuage example of the last release was wrong. We decided to move UTF8 handling into Net_LDAP.
  218. Handling should be done this way:
  219. $attr = $ldap-&gt;utf8Encode($attr);
  220. $entry-&gt;modify($attr);
  221. $attr = $ldap-&gt;utf8Decode( $entry-&gt;attributes() );
  222. - This means Net_LDAP_Util is useless right now, but will be extended in the future.
  223. - Jan did a complete overhaul of the phpdoc stuff. Everything seems to be fine now with phpDocumentor.
  224. </notes>
  225. </release>
  226. <release>
  227. <date>2007-02-05</date>
  228. <version>
  229. <release>0.7.0</release>
  230. <api>0.7.0</api>
  231. </version>
  232. <stability>
  233. <release>beta</release>
  234. <api>beta</api>
  235. </stability>
  236. <license>LGPL License</license>
  237. <notes>This long awaited release of Net_LDAP features more stability and new functionality.
  238. The main changes are:
  239. - Rewrite of much of the code (including some api changes!)
  240. - LOTS of fixed bugs!
  241. - New class for easy filter handling (Net_LDAP_Filter)
  242. - Sorting support for searchresults (including multivalued sorting!)
  243. - Searched Entries can now be fetched as_struct() (array)!
  244. - Some memory optimizations
  245. Please note also that Net_LDAPs configuration changed slightly. Please see $_config in LDAP.php for the new parameters.
  246. </notes>
  247. </release>
  248. <release>
  249. <date>2007-02-23</date>
  250. <version>
  251. <release>0.7.1</release>
  252. <api>0.7.0</api>
  253. </version>
  254. <stability>
  255. <release>beta</release>
  256. <api>beta</api>
  257. </stability>
  258. <license>LGPL License</license>
  259. <notes>This is not just a bugfix release of 0.7.0 but also introduces some internal optimisations:
  260. - Fixed a connection bug whith LDAP V3 only servers
  261. - clearer sanitizing of the host config parameter
  262. </notes>
  263. </release>
  264. <release>
  265. <date>2007-05-07</date>
  266. <version>
  267. <release>0.7.2</release>
  268. <api>0.7.2</api>
  269. </version>
  270. <stability>
  271. <release>beta</release>
  272. <api>beta</api>
  273. </stability>
  274. <license>LGPL License</license>
  275. <notes>This release features some internal code movements to be more compatible to PERL::Net_LDAP.
  276. The movements include:
  277. * Removed UTF8 en-/decoding stuff from Net_LDAP_Utils class since this was moved to Net_LDAP class in 0.6.6
  278. * Moved Filter encoding from Net_LDAP_Filter to Net_LDAP_Util
  279. * Moved ldap_explode_dn_escaped() from Net_LDAP_Entry to Net_LDAP_Util
  280. * Added perls functions from Net_LDAP::Util to our Util class, but they still need some work
  281. Please note that ldap_explode_dn_escaped() is not available from Net_LDAP_Entry anymore.
  282. Additionally some new functionality has been introduced:
  283. * You can now apply regular expressions directly to a entrys attributes
  284. and don't need to fetch the attribute values manually.
  285. * Net_LDAP_Schema can check if a attributes syntax is binary
  286. The following bugs have been resolved:
  287. * Connections to LDAP servers that forbid anonymous binds are possible again
  288. * The JPEG attribute is now properly returned as binary value instead of string
  289. * If the array describing selected attributes in searches didn't contain consecutive keys, there was a problem sometimes
  290. * Some PHP5 return issues
  291. </notes>
  292. </release>
  293. <release>
  294. <date>2007-06-12</date>
  295. <version>
  296. <release>0.7.3</release>
  297. <api>0.7.2</api>
  298. </version>
  299. <stability>
  300. <release>beta</release>
  301. <api>beta</api>
  302. </stability>
  303. <license>LGPL License</license>
  304. <notes>This release introduces some example files showing you in detail how to work with Net_LDAP.
  305. Additionally, a bug at recursive deletion of an entry is fixed and the Net_LDAP_Filter
  306. class is slightly optimized.
  307. </notes>
  308. </release>
  309. <release>
  310. <date>2007-06-20</date>
  311. <version>
  312. <release>1.0.0RC1</release>
  313. <api>1.0.0RC1</api>
  314. </version>
  315. <stability>
  316. <release>beta</release>
  317. <api>beta</api>
  318. </stability>
  319. <license>LGPL License</license>
  320. <notes>Again some small Bugfixes, most notably a bug within $ldap->modify() that occured when using the
  321. combined 'changes' array.
  322. Besides that, $search->popEntry() and the corresponding alias pop_entry() has been implemented.
  323. Net_LDAP_Util::unescape_filter_value() is available too now and Net_LDAP_Util::escape_filter_value()
  324. can handle ASCII chars smaller than 32. Above that, Net_LDAP_Util::canonical_dn() has been fully implemented.
  325. A new method createFresh() was added to Net_LDAP_Entry, so creation of initial entries is more
  326. standardized and clearer.
  327. A new example is available, describing the $ldap->modify() method.
  328. The add_entry.php example was updated, it shows the use of Net_LDAP_Entry::createFresh().
  329. $ldap->add() links unlinked entries now to the connection used for the add.
  330. Some new additional utility functions are available in Net_LDAP_Util to assist you in handling attributes and dns.
  331. The LDAP-Rename command now uses this functions to deal with DN escaping issues.
  332. Please note that ldap_explode_dn_escaped() is not available from Net_LDAP_Util anymore; it got superseeded by Net_LDAP_Util::ldap_explode_dn().
  333. </notes>
  334. </release>
  335. <release>
  336. <date>2007-06-28</date>
  337. <version>
  338. <release>1.0.0RC2</release>
  339. <api>1.0.0RC2</api>
  340. </version>
  341. <stability>
  342. <release>beta</release>
  343. <api>beta</api>
  344. </stability>
  345. <license>LGPL License</license>
  346. <notes>Net_LDAP->dnExists() uses the Util class now, which makes it safer.
  347. A new move() method is available from Net_LDAP.
  348. Please note, that the copy() method was removed from the Net_LDAP_Entry class since
  349. people would expect attribute moving because of the overall API of Net_LDAP.
  350. Instead use the more failsafer copy() from Net_LDAP.
  351. </notes>
  352. </release>
  353. <release>
  354. <date>2007-07-24</date>
  355. <version>
  356. <release>1.0.0RC3</release>
  357. <api>1.0.0RC3</api>
  358. </version>
  359. <stability>
  360. <release>beta</release>
  361. <api>beta</api>
  362. </stability>
  363. <license>LGPL License</license>
  364. <notes>
  365. Fixed a bug with dnExists() that was caused mainly by bad behavior of Net_LDAP_UTIL::ldap_explode_dn().
  366. Fixed a bug with call time pass-by-reference if calling $entry->update(); however this inflicted a API change:
  367. The parameter $ldap is not available anymore, you need to use $entry->setLDAP() prior update now if you want to change the LDAP
  368. object. This brought us a more logical API now, since Entry operations should be performed by the Net_LDAP object.
  369. </notes>
  370. </release>
  371. <release>
  372. <date>2007-09-18</date>
  373. <version>
  374. <release>1.0.0RC4</release>
  375. <api>1.0.0RC4</api>
  376. </version>
  377. <stability>
  378. <release>beta</release>
  379. <api>beta</api>
  380. </stability>
  381. <license>LGPL License</license>
  382. <notes>
  383. - Fixed some minor bugs of RC3
  384. - Reintroduced $ldap parameter for
  385. $entry-&lt;update(), but it is not prefferred to use this way.
  386. The Parameter is there for perl interface compatibility
  387. </notes>
  388. </release>
  389. <release>
  390. <date>2007-10-29</date>
  391. <version>
  392. <release>1.0.0</release>
  393. <api>1.0.0</api>
  394. </version>
  395. <stability>
  396. <release>stable</release>
  397. <api>stable</api>
  398. </stability>
  399. <license>LGPL License</license>
  400. <notes>
  401. After more than four years of development, we are very proud to announce the
  402. ~ FIRST STABLE Net_LDAP RELEASE 1.0.0 ~
  403. Net_LDAP ist tested now and should be stable enough for production use.
  404. The API is finished so far, no changes should be neccessary in the future.
  405. Changes to Release candidate 4:
  406. - Implemented PHPUnit tests
  407. - Fixed some minor bugs of RC4 (including the schema loading warning-generation)
  408. - Fixed several bugs in Net_LDAP_Util
  409. - Improved Net_LDAP_Filter and Net_LDAP_Util error handling and code cleanness
  410. - Completely implemented Net_LDAP_Filter perl interface
  411. - Improved several doc comments and fixed some spelling errors
  412. </notes>
  413. </release>
  414. <release>
  415. <date>2008-01-14</date>
  416. <version>
  417. <release>1.1.0a1</release>
  418. <api>1.1.0a1</api>
  419. </version>
  420. <stability>
  421. <release>beta</release>
  422. <api>beta</api>
  423. </stability>
  424. <license>LGPL License</license>
  425. <notes>
  426. * Added LDIF reading and writing support
  427. * Fixed minor issues of 1.0.0 release
  428. </notes>
  429. </release>
  430. <release>
  431. <date>2008-01-21</date>
  432. <version>
  433. <release>1.1.0a2</release>
  434. <api>1.1.0a2</api>
  435. </version>
  436. <stability>
  437. <release>beta</release>
  438. <api>beta</api>
  439. </stability>
  440. <license>LGPL License</license>
  441. <notes>
  442. * Added parseLines() to Net_LDAP_LDIF for more convinience
  443. * Added some handy methods to Net_LDAP_Entry
  444. * Enhanced tests
  445. </notes>
  446. </release>
  447. <release>
  448. <date>2008-02-27</date>
  449. <version>
  450. <release>1.1.0</release>
  451. <api>1.1.0</api>
  452. </version>
  453. <stability>
  454. <release>stable</release>
  455. <api>stable</api>
  456. </stability>
  457. <license>LGPL License</license>
  458. <notes>* Fixed a little bug at cross directory move
  459. * Fixed a bug when deleting a subtree containing several subentries that failed if
  460. one called dnExists() prior calling delete()
  461. * Fixed some minor bugs at NeT_LDAP->move() and Net_LDAP->dnExists()
  462. * Added Net_LDAP tests
  463. * Changed API of Net_LDAP->copy() to only accept Net_LDAP_Entry objects, because with DNs
  464. Attribute values will be lost
  465. /!\ This is the last release of Net_LDAP supporting PHP4 /!\
  466. </notes>
  467. </release>
  468. <release>
  469. <date>2008-03-19</date>
  470. <version>
  471. <release>2.0.0RC1</release>
  472. <api>2.0.0RC1</api>
  473. </version>
  474. <stability>
  475. <release>beta</release>
  476. <api>beta</api>
  477. </stability>
  478. <license>LGPL License</license>
  479. <notes>/!\ This release is PHP5 only, replacing the Net_LDAP package.
  480. If you still need PHP4 support, use Net_LDAP instead.
  481. * Implemented iterable search results so one can use foreach() with Net_LDAP2_Search objects
  482. * Fixed a problem with Net_LDAP2_LDIF and files with DOS line endings
  483. </notes>
  484. </release>
  485. <release>
  486. <date>2008-03-20</date>
  487. <version>
  488. <release>2.0.0RC2</release>
  489. <api>2.0.0RC2</api>
  490. </version>
  491. <stability>
  492. <release>beta</release>
  493. <api>beta</api>
  494. </stability>
  495. <license>LGPL License</license>
  496. <notes>
  497. * Implemented PHP5 language stuff (thanks to Torsten Roehr for his helpful patches)
  498. * Changed Net_LDAP2-&gt;_markAsNew() to public access, since this is required by the api
  499. and may be useful to developers too
  500. * Changed API to create schema object, there is now a factory. Net_LDAP2-&gt;schema() calls
  501. that factory now instead of fetching the Schema itself
  502. * Changed API to create rootDSE object, there is now a factory. Net_LDAP2-&gt;rootDSE() calls
  503. that factory now instead of fetching the rootDSE itself
  504. * Net_LDAP2_Entry has a new factory constructor: createConnected() can be used to
  505. establish a new Net_LDAP2_Entry object that represents an already existing entry inside
  506. some directory
  507. </notes>
  508. </release>
  509. <release>
  510. <date>2008-06-04</date>
  511. <version>
  512. <release>2.0.0RC3</release>
  513. <api>2.0.0RC3</api>
  514. </version>
  515. <stability>
  516. <release>beta</release>
  517. <api>beta</api>
  518. </stability>
  519. <license>LGPL License</license>
  520. <notes>
  521. * New constructor factory for Entry objects: createExisting()
  522. * Several small improvements
  523. * New method Entry-&gt;isNew()
  524. * Net_LDAP2-&gt;search() and Net_LDAP2-&gt;dnExists() can handle entry objects now
  525. * Added &quot;present&quot; matching rule as stated by RFC 2254 (is an alias of the former &quot;any&quot;)
  526. * Bugfix in filter class for approx matching and not combination
  527. * Bugfix for Schema-&gt;isBinary() bug if unknown attribute type is requested
  528. </notes>
  529. </release>
  530. <release>
  531. <date>2008-10-16</date>
  532. <version>
  533. <release>2.0.0RC4</release>
  534. <api>2.0.0RC4</api>
  535. </version>
  536. <stability>
  537. <release>beta</release>
  538. <api>beta</api>
  539. </stability>
  540. <license>LGPL License</license>
  541. <notes>
  542. * Net_LDAP2_Filter::create*() methods are declared static now
  543. * Net_LDAP2 is able to reconnect now in case link is down during operation (thanks Del)
  544. * Complex updates fail: under some circumstances, $entry-&gt;update() will fail. This is
  545. caused by mandatory attributes set and the internal behaviour of Net_LDAP2. A
  546. workaround is documented in the code and in the user manual.
  547. * Bugfixes in Dels patches. Soemtimes there where endless loops and deleting entries
  548. did not always succeed.
  549. * Bugfix to reset unicodePwd (Active Directory): a new $force parameter was introduced to Net_LDAP2_Entry-&gt;replace()
  550. that forces &quot;replace&quot; mode. If not set and attribute is empty (or could not be read like in the AD case)
  551. replace() resulted in Net_LDAP2 thinking it should add the attribute. This can now be overriden.
  552. * Bugfix in unit tests: the Net_LDAP2Test suite had huge memory consumtion caused by a little error in
  553. Net_LDAP2-&gt;checkLDAPExtension(). If that method is called before any Net_LDAP class was instanciated, a PEAR
  554. error is returned instead of the documented Net_LDAP2_Error which causes the unit test to plot out very much
  555. debug information.
  556. </notes>
  557. </release>
  558. <release>
  559. <date>2009-01-09</date>
  560. <version>
  561. <release>2.0.0RC5</release>
  562. <api>2.0.0RC5</api>
  563. </version>
  564. <stability>
  565. <release>beta</release>
  566. <api>beta</api>
  567. </stability>
  568. <license>LGPL License</license>
  569. <notes>
  570. * Fixed a little issue with repetive adding the same attribute value
  571. * Fixed Bug #14886 that caused problems with OpenLDAP and V3 only connects
  572. * Fixed Bug #14903 and #15494, now bind attempt is also encrypted if TLS is requested
  573. * Fixed issue with repetitve adding or deleting values causing Net_LDAP to send the same change multiple times
  574. * Fixed Bug #15364 that caused a problem with setting the ldap version if only one version is supported by server
  575. </notes>
  576. </release>
  577. <release>
  578. <date>2009-05-08</date>
  579. <version>
  580. <release>2.0.0RC6</release>
  581. <api>2.0.0RC6</api>
  582. </version>
  583. <stability>
  584. <release>beta</release>
  585. <api>beta</api>
  586. </stability>
  587. <license>LGPL License</license>
  588. <notes>
  589. * Bugfix in LDIF writer concerning needless base64 encoding of values
  590. * New schema caching facility
  591. * PHPCS fixes, some comment changes and general code cleanup
  592. </notes>
  593. </release>
  594. <release>
  595. <date>2009-05-28</date>
  596. <version>
  597. <release>2.0.0</release>
  598. <api>2.0.0</api>
  599. </version>
  600. <stability>
  601. <release>stable</release>
  602. <api>stable</api>
  603. </stability>
  604. <license>LGPL License</license>
  605. <notes>
  606. * Fixed bug #16242 (arguments for createFresh in wrong order when calling Net_LDAP2_Entry::createFresh())
  607. * Fixed bug #16253 (strict checking of isError())
  608. </notes>
  609. </release>
  610. <release>
  611. <date>2009-06-15</date>
  612. <version>
  613. <release>2.0.1</release>
  614. <api>2.0.0</api>
  615. </version>
  616. <stability>
  617. <release>stable</release>
  618. <api>stable</api>
  619. </stability>
  620. <license>LGPL License</license>
  621. <notes>
  622. * Fixed Bugs #16272 and #16278 (Problem in starttls function)
  623. </notes>
  624. </release>
  625. <release>
  626. <date>2009-06-29</date>
  627. <version>
  628. <release>2.0.2</release>
  629. <api>2.0.0</api>
  630. </version>
  631. <stability>
  632. <release>stable</release>
  633. <api>stable</api>
  634. </stability>
  635. <license>LGPL License</license>
  636. <notes>
  637. * Fixed some bugs that rendered the new schema caching facility unusable
  638. </notes>
  639. </release>
  640. <release>
  641. <date>2009-07-03</date>
  642. <version>
  643. <release>2.0.3</release>
  644. <api>2.0.0</api>
  645. </version>
  646. <stability>
  647. <release>stable</release>
  648. <api>stable</api>
  649. </stability>
  650. <license>LGPL License</license>
  651. <notes>
  652. * Fixed LDAP RFC-1777 violation: bind has to be performed prior setting LDAP version
  653. * Fixed wrong version reported from version()
  654. </notes>
  655. </release>
  656. <release>
  657. <date>2009-07-08</date>
  658. <version>
  659. <release>2.0.4</release>
  660. <api>2.0.0</api>
  661. </version>
  662. <stability>
  663. <release>stable</release>
  664. <api>stable</api>
  665. </stability>
  666. <license>LGPL License</license>
  667. <notes>
  668. * Fixed Bug #16404 (Bind fails at OpenLDAP with protocol error)
  669. </notes>
  670. </release>
  671. <release>
  672. <date>2009-07-14</date>
  673. <version>
  674. <release>2.0.5</release>
  675. <api>2.0.0</api>
  676. </version>
  677. <stability>
  678. <release>stable</release>
  679. <api>stable</api>
  680. </stability>
  681. <license>LGPL License</license>
  682. <notes>
  683. * Fixed bug #16438 (SimplefileSchemaCache could not be configured due to wrong var name)
  684. </notes>
  685. </release>
  686. <release>
  687. <date>2009-08-04</date>
  688. <version>
  689. <release>2.0.6</release>
  690. <api>2.0.0</api>
  691. </version>
  692. <stability>
  693. <release>stable</release>
  694. <api>stable</api>
  695. </stability>
  696. <license>LGPLv3 License</license>
  697. <notes>
  698. * switched LICENSE to LGPL v3
  699. * added some documentation
  700. </notes>
  701. </release>
  702. <release>
  703. <date>2009-10-28</date>
  704. <version>
  705. <release>2.0.7</release>
  706. <api>2.0.0</api>
  707. </version>
  708. <stability>
  709. <release>stable</release>
  710. <api>stable</api>
  711. </stability>
  712. <license>LGPLv3 License</license>
  713. <notes>
  714. * Corrected bug #16738 (Problem with Net_LDAP2_Filter::parse() with complex filter, when first subfilter was an combined filter too)
  715. </notes>
  716. </release>
  717. <release>
  718. <version>
  719. <release>2.0.8</release>
  720. <api>2.0.0</api>
  721. </version>
  722. <stability>
  723. <release>stable</release>
  724. <api>stable</api>
  725. </stability>
  726. <date>2010-02-12</date>
  727. <license>LGPLv3 License</license>
  728. <notes>
  729. * Fixed Bug #16940 (Net_LDAP2::startTLS should ignore errors before ldap_start_tls() being called)
  730. * Fixed Bug #17023 (improper handling of wrapped lines in LDIF files)
  731. </notes>
  732. </release>
  733. <release>
  734. <date>2010-02-16</date>
  735. <version>
  736. <release>2.0.8</release>
  737. <api>2.0.0</api>
  738. </version>
  739. <stability>
  740. <release>stable</release>
  741. <api>stable</api>
  742. </stability>
  743. <license>LGPLv3 License</license>
  744. <notes>
  745. * Fixed Bug #16940 (Net_LDAP2::startTLS should ignore errors before ldap_start_tls() being called)
  746. * Fixed Bug #17023 (improper handling of wrapped lines in LDIF files)
  747. * Fixed Bug #17057 (problem with parsing certain NOT-Filters)
  748. </notes>
  749. </release>
  750. <release>
  751. <date>2010-02-16</date>
  752. <version>
  753. <release>2.0.9</release>
  754. <api>2.0.0</api>
  755. </version>
  756. <stability>
  757. <release>stable</release>
  758. <api>stable</api>
  759. </stability>
  760. <license>LGPLv3 License</license>
  761. <notes>
  762. * fixed package (package.xml was unclean so 2.0.8 wouldnt install)
  763. </notes>
  764. </release>
  765. <release>
  766. <date>2010-08-23</date>
  767. <version>
  768. <release>2.0.10</release>
  769. <api>2.0.0</api>
  770. </version>
  771. <stability>
  772. <release>stable</release>
  773. <api>stable</api>
  774. </stability>
  775. <license>LGPLv3 License</license>
  776. <notes>
  777. * Added schema handling methods to make schema checks more easily accessible
  778. * Bugfix for #17245. The check in the code was not working properly. Schema checking is considered the users responsibility.
  779. If now an attribute is requested that is not set at the entry, an empty string is returned.
  780. * Bugfix for #17770. Some Net_LDAP2 files were included with relative path ("Util.php"), not absolute ("Net/LDAP2/Util.php").
  781. * Bugfix for #17314. LDIF support for attributes with modifiers ("attr1;binary").
  782. </notes>
  783. </release>
  784. <release>
  785. <date>2011-01-19</date>
  786. <version>
  787. <release>2.0.11</release>
  788. <api>2.0.0</api>
  789. </version>
  790. <stability>
  791. <release>stable</release>
  792. <api>stable</api>
  793. </stability>
  794. <license>LGPLv3 License</license>
  795. <notes>
  796. * (doc issue) Fix for #17861: Missing komma in example
  797. * Fix for #18202: Adding attributes to a Fresh Entry saving and laterly updating fails
  798. </notes>
  799. </release>
  800. <release>
  801. <date>2011-10-27</date>
  802. <version>
  803. <release>2.0.12</release>
  804. <api>2.0.0</api>
  805. </version>
  806. <stability>
  807. <release>stable</release>
  808. <api>stable</api>
  809. </stability>
  810. <license>LGPLv3 License</license>
  811. <notes>
  812. * inmproved performance with large search results
  813. * Fixed some minor issues with Net_LDAP2_Filter and Net_LDAP2->dnExists()
  814. * Added NOT filter to Net_LDAP2_Filter::create() so negating is more easily now
  815. </notes>
  816. </release>
  817. <release>
  818. <date>2013-12-09</date>
  819. <version>
  820. <release>2.1.0</release>
  821. <api>2.0.0</api>
  822. </version>
  823. <stability>
  824. <release>stable</release>
  825. <api>stable</api>
  826. </stability>
  827. <license>LGPLv3 License</license>
  828. <notes>
  829. * New feature: Filter::matches() can do simple filtering on entry sets (supported: equals, contain, begin, end, any; NOT, AND, OR. Filtering is simple based on regexp, no schema checks and matchRules yet!)
  830. * Fixed minor bugs in Filter, LDAP and Entry class
  831. * Util::split_attribute_string(): Added support for extended match operators from filters
  832. * Util::split_attribute_string(): Added support for delimeter retrieval
  833. </notes>
  834. </release>
  835. <release>
  836. <date>2015-10-30</date>
  837. <version>
  838. <release>2.2.0</release>
  839. <api>2.2.0</api>
  840. </version>
  841. <stability>
  842. <release>stable</release>
  843. <api>stable</api>
  844. </stability>
  845. <license>LGPLv3 License</license>
  846. <notes>
  847. * Fix bug #20969: Fatal error with PEAR 1.10.0 / constructor visiblity
  848. * Add support for PHP 7
  849. * Improve unit tests
  850. </notes>
  851. </release>
  852. </changelog>
  853. </package>