Commit Graph

333 Commits

Author SHA1 Message Date
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
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
15e772ce13 - No need to use convert_to_string_ex() when dealing with strings 2005-07-09 00:59:49 +00:00
foobar
fcee086982 - Fixed bug #33588 (LDAP: RootDSE query not possible). 2005-07-09 00:46:45 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
foobar
fef305724b this check was not needed 2005-05-08 15:58:50 +00:00
foobar
f2dd8f028b - Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer) 2005-05-08 15:43:22 +00:00
foobar
87c931695f - Fixed bug #30819 (Better support for LDAP SASL bind) 2005-04-17 16:25:59 +00:00
Antony Dovgal
33677ddb95 remove proto, it's internal func 2005-04-05 20:31:10 +00:00
foobar
c245e1f0f7 - ldap_start_tls() requires ldapv3 protocol -> force it 2005-01-19 00:27:21 +00:00
foobar
69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Hartmut Holzgraefe
7fc2e6ca5b Make ldap_parse_reference() available on Windows (Bug #29492) 2004-10-23 23:03:52 +00:00
Ilia Alshanetsky
ed7d1e82c6 Removed pointless allocation check. 2004-06-28 22:31:28 +00:00
Ilia Alshanetsky
6b35037ca2 No need to NULL terminate manually, snprintf() does it for us already. 2004-06-01 21:04:33 +00:00
Marcus Boerger
2d6770f0e6 - Added missing UNREGISTER_INI_ENTRIES 2004-05-12 10:15:48 +00:00
Ilia Alshanetsky
9a98c38cbd Removed pointless check. 2004-04-06 23:14:06 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Wez Furlong
0c126e1233 make these build with new win32 build system.
mcve untested (I don't have those libs/headers)
2003-12-19 15:04:31 +00:00
Ilia Alshanetsky
90100e5c90 Cleaned up previous patch. 2003-10-07 00:36:31 +00:00
foobar
47484ce5d3 - Fixed bug #25764 (ldap_get_option() crashes when called with unbinded ldap link) 2003-10-06 23:33:00 +00:00
Sara Golemon
94ff3d5e7d Fix Bug #25525 ldap_explode_dn crashes when passed invalid params. 2003-09-13 17:31:07 +00:00
Ilia Alshanetsky
9c82b1fa75 Fixed compiler warnings. 2003-08-31 20:45:51 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
foobar
96e9ed33b3 The last 4 args are by ref.. 2003-08-05 11:54:01 +00:00
Zeev Suraski
538d58dd5f Use new infrastructure.
There are bound to be some messups, please report build/runtime bugs!
2003-08-03 17:44:39 +00:00
foobar
b9fcb34625 Fixed bug #24025 (Can not build with shared ldap support) 2003-07-01 00:02:13 +00:00
foobar
bb37952bc2 Fixed the SASL config check. 2003-06-13 13:30:46 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
foobar
c0e4bfcae4 - Added ldap_sasl_bind(). (Jani, peter_c60@hotmail.com) 2003-06-08 23:44:01 +00:00
foobar
c15b8fb19e ws & cs 2003-06-08 23:34:51 +00:00
Ilia Alshanetsky
8a09151f5e emalloc -> safe_emalloc 2003-04-30 21:53:53 +00:00
Edin Kadribasic
f773cd8fea Fixed bug #23008 2003-04-02 12:36:03 +00:00
Ilia Alshanetsky
20c2c39f3c Fixed bug #22585 (Do not terminate the script on minor errors). 2003-03-07 14:03:53 +00:00
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
David Hill
5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
foobar
826d9ace59 typofix 2003-03-02 18:52:29 +00:00
foobar
6290b1c2cb Special case for MacosX.. 2003-03-02 18:50:45 +00:00
foobar
96f6d1fdbd Fixed bug #22485 (hardcoded shared lib extensions) 2003-03-02 18:47:35 +00:00
Wez Furlong
0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky
aebb39b014 Changed php_error to php_error_docref.
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
2003-01-18 21:31:11 +00:00
Ilia Alshanetsky
984c0918ab Removed pointless memory allocation checks. 2003-01-18 20:10:23 +00:00