Commit Graph

46 Commits

Author SHA1 Message Date
Côme Bernigaud
059dd18c37 Added support of LDAP_OPT_TIMEOUT, fixes #69574 2015-09-09 18:02:10 +02:00
Côme Bernigaud
a483a79c85 Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
2015-09-09 10:34:46 +02:00
Tyson Andre
c3fc65eb7c Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
LDAP_OPT_TIMELIMIT and LDAP_OPT_DEREF's original values weren't
saved properly because of a bug introduced when copy and pasting.

This lead to the original timeout being changed
when specifying a temporary override (e.g. for ldap_search(..., $timeout))
2015-09-08 18:42:02 -07:00
Côme Bernigaud
42f7e4c044 Updated README, added test to create LDAP base if missing and ease tests 2015-07-06 14:26:49 +02:00
Côme Bernigaud
9bcdd2aabe Fixed two errors in LDAP tests 2015-06-23 16:09:56 +02:00
Côme Bernigaud
8836404faf Fixed LDAP tests so that base can exists
Now you can set the base in the env var LDAP_TEST_BASE.
The base has to exists. (before tests were attempting to create/delete
the base itself)
2015-06-17 13:50:14 +02:00
Stanislav Malyshev
ea0769f00e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Implement ldap_modify_batch.
2014-01-25 22:04:39 -08:00
Ondřej Hošek
c0e3429904 Implement ldap_modify_batch. 2014-01-22 18:54:11 +01:00
Michael Wallner
f711c1219d Merge branch 'ldap_escape-dev' of https://github.com/DaveRandom/php-src
* 'ldap_escape-dev' of https://github.com/DaveRandom/php-src:
  Add ldap_escape()
2013-10-18 11:17:41 +02:00
Michael Wallner
2b78edfba2 fix test 2013-09-30 11:41:35 +02:00
Chris Wright
0d534d7c5e Add ldap_escape() 2013-09-18 12:18:05 +01:00
Veres Lajos
e9a95d78ef typo fixes 2013-07-15 00:23:03 -07:00
Veres Lajos
1b06e0be96 typo fixes 2013-07-15 00:19:49 -07:00
Anatoliy Belsky
5d1565088f Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails
2012-04-16 15:26:50 +02:00
Anatoliy Belsky
1c435ae498 Fix bug 61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails 2012-04-16 15:25:20 +02:00
Anatoliy Belsky
1a44faf264 Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
  Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails
2012-04-16 15:21:04 +02:00
Anatoliy Belsky
47e7755785 Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails 2012-04-16 15:20:03 +02:00
Scott MacVicar
3d5385dda5 Fix typo in tests for ldap bug #42060 2011-08-24 06:50:39 +00:00
Scott MacVicar
1bc1d3572f Fix prototypes for ldap_control_paged_result and fix function name in tests 2011-07-14 18:49:12 +00:00
Scott MacVicar
3cb4de03dc Tidy up ldap paging code and rename the API as discussed in #42060 2011-05-19 17:41:21 +00:00
Pierre Joye
79baca329b - #42060, add paged results support 2010-06-15 19:47:28 +00:00
Sriram Natarajan
d55669c6ab - Update tests to reflect current behavior after fix for bug #50185 2009-12-24 02:08:23 +00:00
Sriram Natarajan
016ba1f1ed - Update tests to reflect current behavior after fix for bug #50185 2009-12-24 02:08:23 +00:00
Felipe Pena
5f6882aa4d - Fixed tests 2009-09-26 17:59:33 +00:00
Felipe Pena
b6a1b37889 - Fixed tests 2009-09-26 17:59:33 +00:00
Felipe Pena
88056c6bac - Improved param. parsing for ldap_read(), ldap_search() and ldap_list() 2009-08-15 00:52:31 +00:00
Felipe Pena
e413825019 - Improved param. parsing for ldap_read(), ldap_search() and ldap_list() 2009-08-15 00:52:31 +00:00
Antony Dovgal
6bb52c7b4d fix test 2009-07-26 19:46:38 +00:00
Antony Dovgal
2fffc2b06c fix test 2009-07-26 19:45:38 +00:00
Patrick Allaert
17aa260703 MFH: Tests for ext/ldap from PHPBelgium TestFest 2009-07-03 09:21:31 +00:00
Patrick Allaert
92fcfc02d1 Tests for ext/ldap from PHPBelgium TestFest 2009-07-03 09:20:50 +00:00
Patrick Allaert
b1ccae82f9 unicode support in ext/ldap 2009-06-28 22:38:23 +00:00
Johannes Schlüter
144ff4d6b3 MFH: Fixed bug #48696 (ldap_read() segfaults with invalid parameters) (Felipe) 2009-06-25 15:19:29 +00:00
Felipe Pena
a27158a76c - Fixed bug #48696 (ldap_read() segfaults with invalid parameters) 2009-06-25 14:48:53 +00:00
Patrick Allaert
f78a0b585c MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:31 +00:00
Patrick Allaert
0d91efd894 Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:12 +00:00
Antony Dovgal
823b31d30c fix tests 2008-04-22 13:31:25 +00:00
Antony Dovgal
d5266adb2e fix tests 2008-04-22 13:31:17 +00:00
Douglas Goldstein
235f9515ce add tests for ldap_dn2ufn() 2007-12-13 18:00:46 +00:00
Douglas Goldstein
9bde93698e add tests for ldap_dn2ufn() 2007-12-13 18:00:27 +00:00
Douglas Goldstein
5af2c9ef9f expand ldap_explode_dn() tests. 2007-12-13 17:46:23 +00:00
Douglas Goldstein
fde4144231 expand ldap_explode_dn() tests. 2007-12-13 17:45:44 +00:00
Douglas Goldstein
46307c046f add skipif case if the ldap extension is not loaded 2007-12-11 17:36:03 +00:00
Douglas Goldstein
343258cb31 add skipif case if the ldap extension is not loaded 2007-12-11 17:33:10 +00:00
Douglas Goldstein
7e97026be8 put ldap_explode_dn.phpt in proper directory 2007-12-11 17:30:58 +00:00
Douglas Goldstein
7a2e440ee3 Adding initial tests for LDAP module. Adding tests for ldap_explode_dn() function 2007-12-11 17:19:47 +00:00