Commit Graph

376 Commits

Author SHA1 Message Date
Michael Wallner
e9e63f9223 fix memleak on resetting rebind_proc 2013-09-30 11:23:33 +02:00
Chris Wright
0d534d7c5e Add ldap_escape() 2013-09-18 12:18:05 +01:00
Christopher Jones
c6d977dd39 Fix long-standing visual pain point: the misalignment of './configure help' text.
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Veres Lajos
e9a95d78ef typo fixes 2013-07-15 00:23:03 -07:00
Veres Lajos
72085b0e5f typo fixes 2013-07-15 00:18:57 -07:00
Xinchen Hui
a666285bc2 Happy New Year 2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009 Happy New Year 2013-01-01 16:28:54 +08: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
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Scott MacVicar
3d5385dda5 Fix typo in tests for ldap bug #42060 2011-08-24 06:50:39 +00:00
Stanislav Malyshev
83039b8fee fix params parsing 2011-08-01 04:29:37 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +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
Raphael Geissert
a286fa3523 Add the libraries we actually test and need for LDAP and OpenSSL, fixes bug #53339
Patch by Clint Byrum
2011-03-18 18:47:09 +00:00
Raphael Geissert
5b55a18622 Add the libraries we actually test and need for LDAP and OpenSSL, fixes bug #53339
Patch by Clint Byrum
2011-03-18 18:47:09 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Felipe Pena
7f9527bb22 - Fixed wrong type 2010-09-08 01:46:23 +00:00
Pierre Joye
ed4f6dbd36 - make libsasl optional (as vc6 bins do not have it) 2010-07-26 22:28:38 +00:00
Pierre Joye
79baca329b - #42060, add paged results support 2010-06-15 19:47:28 +00:00
Pierre Joye
6d6b037001 - #43233, sasl support for ldap on windows 2010-05-17 20:09:42 +00:00
Pierre Joye
57cfa703bf - #43233, sasl support for ldap on windows 2010-05-17 20:09:42 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +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
20cd29d0a2 Fixed bug #50540 (Crash within ldap_first_reference function) 2009-12-21 20:39:48 +00:00
Jani Taskinen
b741b026a1 - Fixed bug #50185 (ldap_get_entries() return false instead of an empty array when there is no error).
# This is also revert of bad patch to bug #48469 and fixes it properly.
2009-11-18 17:44:58 +00:00
Ilia Alshanetsky
b7bb8aa545 Fixed bug #50212 (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT). 2009-11-18 13:37:45 +00:00
Felipe Pena
b6a1b37889 - Fixed tests 2009-09-26 17:59:33 +00:00
Ilia Alshanetsky
30b7102746 Bug #49391 ldap.c utilizing deprecated ldap_modify_s 2009-08-30 15:33:59 +00:00
Ilia Alshanetsky
e6fd4c1fc0 NULL the value after free 2009-08-18 12:44:32 +00:00
Felipe Pena
88056c6bac - Improved param. parsing for ldap_read(), ldap_search() and ldap_list() 2009-08-15 00:52:31 +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
Johannes Schlüter
144ff4d6b3 MFH: Fixed bug #48696 (ldap_read() segfaults with invalid parameters) (Felipe) 2009-06-25 15:19:29 +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
91a8fd7f7e MFH: Refactoring that will help fixing #48441 2009-06-15 15:04:11 +00:00
Patrick Allaert
4aca43008f MFH: Removed credit 2009-06-07 21:27:19 +00:00
Patrick Allaert
10b559c28c MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results) 2009-06-07 13:07:58 +00:00
Hannes Magnusson
ac231aab45 MFH: adjust reflection info 2009-04-21 18:08:34 +00:00
Ilia Alshanetsky
4e856c44d0 Adjusted prototype 2009-04-21 12:26:19 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Hannes Magnusson
f6cf54d2b1 Fixed bug#46847 (phpinfo() is missing some settings.) 2008-12-12 13:07:28 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Pierre Joye
3250870249 - MFH: add detection for newer libs 2008-07-31 18:04:49 +00:00
Felipe Pena
644b06978a - Fix typo (thanks Pierre) 2008-07-16 13:41:35 +00:00
Antony Dovgal
dd8202f652 int->long, add missing "s" 2008-07-01 07:43:36 +00:00
Felipe Pena
7ddf985e05 - zend_arg_defs.c is unnecessary now 2008-06-30 12:15:53 +00:00
Felipe Pena
a44269ca0a - New parameter parsing API
- Added arginfo
2008-06-29 14:29:09 +00:00
Jani Taskinen
d652cec246 - Revert pointless patch: a) the version is already there, see line above,
b) one branch commits are idiotic to begin with, we have three active branches!
This only leads to out-of-sync situations ála PDO..
2008-06-02 11:23:16 +00:00
Pierre Joye
57bcc16896 - reintroduce the x.y.z version string info (a bit nicer to make the other guy happier)
- silent warning (windows only and don't remove it, thanks)
2008-06-02 10:25:54 +00:00
Jani Taskinen
930d9e47c9 - Revert crap
# Someone should remove Pierre's karma too..
2008-06-02 08:46:41 +00:00
Pierre Joye
2528bd43fc - don't use openldap/portable and build the human readable version
- silent strdup redclaration warning
2008-06-02 06:48:35 +00:00
Pierre Joye
8290e3324a - add OpenLDAP version info in phpinfo (windows only, have to check if openldap/portable.h is present on linux headers) 2008-06-02 00:24:19 +00:00
Etienne Kneuss
94697acff9 MFH: Fix protos 2008-05-04 21:17:33 +00:00
Antony Dovgal
823b31d30c fix tests 2008-04-22 13:31:25 +00:00
Antony Dovgal
ac6310550f MFH: use new parameter parsing API 2008-04-16 14:21:04 +00:00
Antony Dovgal
00e406ec41 plug minor memleak 2008-04-16 13:20:59 +00:00
Johannes Schlüter
824b19a4d8 MFH: Fix build on Solaris 2008-02-09 21:59:17 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Douglas Goldstein
9bde93698e add tests for ldap_dn2ufn() 2007-12-13 18:00:27 +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
7a2e440ee3 Adding initial tests for LDAP module. Adding tests for ldap_explode_dn() function 2007-12-11 17:19:47 +00:00
Jani Taskinen
732f54a65c MFH:- Add support for LDAP_X_OPT_CONNECT_TIMEOUT (Netscape LDAP SDK equivalent for LDAP_OPT_NETWORK_TIMEOUT) 2007-10-06 02:13:50 +00:00
Jani Taskinen
d473e198f5 MFH: - Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow setting network timeout (FR#42837) 2007-10-06 01:43:26 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Jani Taskinen
8c32099c5e MFH:- Fixed bug #42247 (ldap_parse_result() not defined under win32) 2007-08-09 08:42:43 +00:00
Nuno Lopes
cb0e56f7c7 +- Fixed bug #41973 (./configure --with-ldap=shared fails with 2007-08-08 11:37:44 +00:00
Jani Taskinen
e8f3167cd3 MFH: removed dots from error messages 2007-07-17 09:09:42 +00:00
Jani Taskinen
0b31350607 MFH:- Fixed bug #42015 (ldap_rename() gets server error "DSA is unwilling to perform") 2007-07-17 08:40:24 +00:00
Jani Taskinen
06877d0064 - Do not break thousands of scripts.. (will remove in 5.3) 2007-07-13 10:55:43 +00:00
Jani Taskinen
3dff7a7dba MFH: - Make sure people call ldap_first_attribute() before ldap_next_attribute() 2007-07-13 02:00:39 +00:00
Jani Taskinen
95f8148f18 MFH:- Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions)
# This removes an useless parameter from 2 functions. Perhaps the next
# release should be 5.3.0, there are lot of other new things done already.
# Sneak in namespaces too.. ;)
2007-07-13 01:24:16 +00:00
Jani Taskinen
f54f453209 MFH: - Fixed bug #39291 (ldap_sasl_bind() misses the sasl_authc_id parameter). 2007-07-12 22:08:58 +00:00
Antony Dovgal
96964359af MFH: initialize optional params 2007-04-30 21:40:02 +00:00
Douglas Goldstein
4b39efa0ee Replaced all instances of ldap_get_values() with ldap_get_values_len(), which returns back the length of the data so on non-NULL terminated data we don't crash in a strlen(). Removed the PHP function ldap_get_values() since it's the same thing as ldap_get_values_len() now and made it alias ldap_get_values_len(). This should fix some random PHP<->LDAP crashes 2007-03-22 21:50:34 +00:00
Ilia Alshanetsky
7d901eacbe %f -> %F 2007-01-05 15:06:55 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Antony Dovgal
c79ba67673 MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) 2006-10-18 20:58:23 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
ddcc5257ac MFH: - Added missing fold tags 2005-12-11 22:38:38 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
foobar
e47c21e0bc test -e does not work with solaris 2005-11-21 19:06:04 +00:00
foobar
528e7869b6 MFH: - Fixed bug #35078 (configure does not find ldap_start_tls_s) 2005-11-03 20:41:13 +00:00
foobar
dda1f722e2 MFH 2005-10-24 22:46:26 +00:00
Antony Dovgal
57b520541b MFH: fix #34970 (ldap configuration issues) 2005-10-24 20:24:35 +00:00
foobar
1bf64add7b correct flag 2005-09-16 12:09:17 +00:00
foobar
595e93be27 Fixed bug #34525 2005-09-16 12:06:41 +00:00