summaryrefslogtreecommitdiff
path: root/ext/ldap/tests
Commit message (Collapse)AuthorAgeFilesLines
* Added support for VLV controls request and responseCôme Chilliet2017-09-211-4/+94
|
* Added support for SORT controlsCôme Chilliet2017-09-211-0/+117
| | | | On an openldap server you need the sssvlv overlay for these to work
* Added skip when control are not supported by the test ldap serverCôme Chilliet2017-09-219-0/+44
|
* Added ldap_rename_ext and its testCôme Chilliet2017-09-211-0/+75
|
* Indexing controls by OID when parsing themCôme Chilliet2017-09-218-52/+46
|
* Avoid returning iscritical field when parsing response controlsCôme Chilliet2017-09-214-20/+6
| | | | | As stated in RFC4511 Section 4.1.11, this field is always false in response controls and only makes sense in request controls
* Added ldap_delete_ext and its testCôme Chilliet2017-09-211-0/+72
|
* Added ldap_mod_*_ext methods for modification with controlsCôme Chilliet2017-09-211-0/+175
|
* Added ldap_add_ext and preread/postread support and testsCôme Chilliet2017-09-211-0/+95
|
* Added ldap_bind_ext to pass controls and get result objectCôme Chilliet2017-09-211-0/+68
| | | | | | | ldap_bind_ext allows to pass controls and get result object from bind operation Also added a test for it, pretty basic as tests cannot depend upon ppolicy overlay
* Added support and test for LDAP_CONTROL_VALUESRETURNFILTERCôme Chilliet2017-09-212-0/+37
|
* Removed client controls alltogetherCôme Chilliet2017-09-2110-20/+20
| | | | | Client controls are ldap client lib specific and all the one I could find are ignoring client controls anyway.
* Fixed ldap_exop test since rebase remove client controlsCôme Chilliet2017-09-211-1/+1
|
* Added support for controls in ldap_modify_batchCôme Chilliet2017-09-211-5/+5
|
* Added controls support to ldap_compareCôme Chilliet2017-09-212-6/+14
| | | | | | Note: for functions like ldap_compare, ldap_delete, ldap_modify, a way to get the result object back will need to be added so that controls returned by the server may be analyzed.
* Added controls support to ldap_renameCôme Chilliet2017-09-212-2/+4
|
* Using new control syntax for MANAGEDSAIT control when deleting referencesCôme Chilliet2017-09-213-7/+4
|
* Fixed wrong argument number error testsCôme Chilliet2017-09-216-29/+29
|
* Added controls support to ldap_deleteCôme Chilliet2017-09-211-1/+9
|
* Added support for controls in ldap_add, ldap_modify, ldap_mod_*Côme Chilliet2017-09-211-2/+56
| | | | | | Also added workaround for a bug in ldap_create_assertion_control_value Made sure failed control creation aborts the operation And added test for assertion control on ldap_modify
* Added a test for assertion controlCôme Chilliet2017-09-211-0/+58
|
* Added a test for PROXY_AUTHZ control on ldap_exopCôme Chilliet2017-09-211-0/+4
|
* Added controls support to ldap_search, ldap_list and ldap_read.Côme Chilliet2017-09-213-4/+101
|
* Added controls support to ldap_parse_result and ldap_exop_passwdCôme Chilliet2017-09-216-16/+115
| | | | | Known controls are parsed to and from associative arrays. Only ppolicy and paged results are implemented for now.
* Merge branch 'PHP-7.2'Côme Chilliet2017-09-071-2/+2
|\ | | | | | | | | * PHP-7.2: Removing client controls attribute from ldap_exop signature
| * Removing client controls attribute from ldap_exop signatureCôme Chilliet2017-09-071-2/+2
| | | | | | | | | | | | | | Client controls will not get implemented in php-ldap as they are specific to each client ldap lib and most of the time unused any way. (servers controls on the other end are used and will get implemented)
* | Merge branch 'PHP-7.2'Côme Chilliet2017-08-041-3/+3
|\ \ | |/ | | | | | | * PHP-7.2: Added controls parameters to ldap_exop so that control support can be added later
| * Added controls parameters to ldap_exop so that control support can be added ↵Côme Chilliet2017-08-041-3/+3
| | | | | | | | later
* | Fixed ldap tests when ldap server hash out passwordsCôme Chilliet2017-07-265-14/+14
| |
* | Fixed test for ldap_set_option server controls with empty arrayCôme Chilliet2017-07-261-3/+2
| |
* | Added ldap_exop_refresh helper for EXOP REFRESH operation on dds overlayCôme Chilliet2017-07-201-0/+43
| | | | | | | | | | ldap_exop_refresh(resource link, string dn, int ttl) Returns FALSE on failure, newttl on success
* | Using LDAP_CONTROL_MANAGEDSAIT constant in ldap tests instead of string oidCôme Chilliet2017-07-203-3/+3
|/
* Fixed removing all controls by passing an empty array to ldap_set_optionCôme Chilliet2017-07-111-1/+5
|
* Added constants for known ldap controls OID and tests for ↵Côme Chilliet2017-07-053-6/+142
| | | | | | ldap_get/set_option for controls Also fixed existing tests which were expecting ldap_get_option to fail on controls
* Test ldap_exop_passwd with less parameters to be sure it worksCôme Chilliet2017-07-041-0/+2
|
* Changed API to avoid using passing result by referenceCôme Chilliet2017-07-042-6/+2
| | | | See discussion on internals ML
* Swapped position of retoid and retdata as retoid is almost never usedCôme Chilliet2017-07-031-5/+3
|
* Removed two step syntax for EXOP helpers, one call workflow is enoughCôme Chilliet2017-07-033-14/+6
|
* Improved ldap_exop test to encode&decode a passwd EXOP to test ↵Côme Chilliet2017-07-031-6/+34
| | | | sending/recieving data
* Added constants for standard EXOPsCôme Chilliet2017-07-031-2/+2
|
* Fixed ldap_exop and ldap_parse_exop. Only tested them for whoami exop. (see ↵Côme Chilliet2017-07-031-0/+52
| | | | test file)
* Fixed ldap_parse_exop_whoami and ldap_parse_exop_passwd and added test for themCôme Chilliet2017-07-032-1/+46
|
* Fixed ldap_exop_passwd and added tests for itCôme Chilliet2017-07-033-0/+80
|
* ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)David Caldwell2017-05-301-0/+26
|
* Merge branch 'PHP-7.1'Xinchen Hui2017-01-191-0/+10
|\ | | | | | | | | * PHP-7.1: Fixed another part in ldap (bug #73933)
| * Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-01-191-0/+10
| |\ | | | | | | | | | | | | * PHP-7.0: Fixed another part in ldap (bug #73933)
| | * Fixed another part in ldap (bug #73933)Xinchen Hui2017-01-191-0/+10
| | |
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-01-171-0/+20
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.1: Update NEWS Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)
| * | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-01-171-0/+20
| |\ \ | | |/ | | | | | | | | | * PHP-7.0: Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)
| | * Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)Xinchen Hui2017-01-171-0/+20
| | |