1CHANGELOG 2========= 3 40.8.0 (2022-05-21) 5------------------ 6* Properly handle and reap child processes in the LDAP server. 7* Handle POSIX signals sent to the LDAP server / child processes to properly shutdown existing clients. 8* Allow a PSR-3 compatible logging instance to be set on the LDAP server for info / error events. 9 100.7.0 (2022-01-22) 11------------------ 12* Add the ability to run the LDAP server / client over a UNIX socket. 13* Add the ability to run the LDAP server over an SSL / TLS only socket. 14* Add the ability for the server to handle client paging requests via a handler. 15* Add a helper factory method for creating a proxy LDAP server. 16* The LDAP server handlers can now be set as a class instance in addition to the class FQCN string. 17* When setting the options on the LdapClient you can now choose to force a disconnect at the same time. 18* The criticality for paging can now be set using the "isCritical" method. 19* Add integration tests for the LDAP server / proxy. 20 210.6.1 (2021-12-11) 22------------------ 23* Support PHP 8.0 / 8.1. 24* Updated PHPDocs for return types / exceptions / etc (@HenkPoley) 25 260.6.0 (2019-12-14) 27------------------ 28* Add initial SASL support with a limited set of mechanisms (DIGEST-MD5, CRAM-MD5, PLAIN, ANONYMOUS). 29* The Server RequestHandler interface now requires type-hints for all methods. 30* Server request handlers can now return their own RootDSE if they choose to. 31* Added an isValid() method to the Dn class. 32* Added a firstValue() and lastValue() method for attributes. 33* The client and server protocol handlers have been completely refactored. 34* Implemented PHPStan and made fixes necessary to bump it to the max level. 35* Introduced code coverage to CI runs. 36* Moved CI runs into Github Actions. 37* Use PSR-12 coding standards via ECS. 38 390.5.0 (2019-03-11) 40------------------ 41* Vastly improved memory efficiency and performance in general (especially on large search results). 42* Add a DirSync helper class for Active Directory. 43* Add Active Directory specific controls: ExpectedEntryCount, SetOwner, ADPolicyHints, ShowDeleted, ShowRecycled 44* Add a range retrieval helper class to make it easier to work with ranged results from Active Directory. 45* Add a "rename()" convenience method to the LdapClient. 46* Add a "move()" convenience method to the LdapClient. 47* Add a "getDescription()" method to the Attribute class to retrieve the attribute with all options. 48* Add a "getOptions()" method the the Attribute class to iterate through options for an attribute. 49* Add a "fromArray" method to make constructing entry objects from arrays sound more natural. 50* Calling the LdapClient "read()" method with no arguments will now return the RootDSE by default. 51* Fix an OpenLDAP specific bug in the paging helper class. OpenLDAP does not return a control when aborting paging. 52* Fix an issue with the Socket class not recognizing the certificate authority cert specified in the options. 53* Implement OpenLDAP / Active Directory test servers with test data during CI runs for integration tests via PHPUnit. 54* Moved the Socket classes to their own library so it can be used in other projects. 55* Add more complete documentation for working with Entry objects. 56 570.4.0 (2018-04-20) 58------------------ 59* Moved ASN.1 to its own library. 60* Add a create convenience method to the LdapClient to create a single LDAP entry. 61* Add a read convenience method to the LdapClient to return a single LDAP entry. 62* Add an update convenience method to the LdapClient to update a single LDAP entry. 63* Add a delete convenience method to the LdapClient to delete a single LDAP entry. 64* Rename searchRead() and searchList() operation methods to read() and list(). 65* Throw an exception on referrals by default. Do not allow ignoring them, only following them. 66 670.3.0 (2018-02-12) 68------------------ 69* Implement referral handling options. 70* Add an LDAP URL parser / object based on RFC 4516. 71* Honor the timeout_read setting in the LDAP client. 72* Better handle remote disconnects / failed reads in the client to prevent hanging under some circumstances. 73* Add magic methods to Entry objects for attribute access. 74* Add an idle_timeout setting to the LDAP server. Default to 600 seconds. 75 760.2.0 (2017-12-08) 77------------------ 78* Renamed to FreeDSx to avoid naming confusion with the phpds extension. 79* Implement very limited LDAP server functionality. 80* Added a string filter parser based on RFC 4515. Allows creating filter objects from arbitrary string filters. 81* Added a toString() method on filters for displaying their string filter representation. 82* Add a compare() operation method helper to the LdapClient. 83* Corrected the ASN1 encoding of the 'not' filter. 84* Corrected BER encoding indefinite length partial PDU detection. 85* Be more defensive on RDN creation when parsing the string. 86* LDAP clients now throw an OperationException instead of a ProtocolException. 87* Added documentation for the client and server. 88 890.1.0 (2017-10-22) 90------------------ 91* Tagging initial release. Still under heavy development. 92