History log of /PHP_5_5/ext/ldap/ldap.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ed4de18 14-Apr-2014 Stanislav Malyshev <stas@php.net> Fix null byte in LDAP bindings
/PHP_5_5/ext/ldap/ldap.c
6fca805 26-Jan-2014 Stanislav Malyshev <stas@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Implement ldap_modify_batch.

Conflicts:
ext/ldap/ldap.c
c0e3429 22-Jan-2014 Ondřej Hošek <ondra.hosek@gmail.com> Implement ldap_modify_batch.
/PHP_5_5/ext/ldap/ldap.c
47c9027 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/PHP_5_5/ext/ldap/ldap.c
c0d060f 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/PHP_5_5/ext/ldap/ldap.c
5bc3774 04-Oct-2013 Christopher Jones <sixd@php.net> Allow the ldap extension to be compiled with Oracle's LDAP
implementation, if desired. Note the implementations differ so you
will see different ldap behavior.

The patch allows configuration similar to:
--with-ldap=$HOME/instantclient --with-oci8=instantclient,$HOME/instantclient

The patch doesn't support configuration similar to:
--with-ldap --with-oci8=instantclient,$HOME/instantclient
since this would try and mix the default LDAP and Oracle LDAP
implementations.

This patch closes out bug #61450 and the associated github PR.

Regardless of this patch, my recommended way to install both OCI8 and
ldap extensions is to statically configure PHP with ldap, and then add
OCI8 as a shared extension from PECL.
/PHP_5_5/ext/ldap/ldap.c
e9e63f9 30-Sep-2013 Michael Wallner <mike@php.net> fix memleak on resetting rebind_proc
/PHP_5_5/ext/ldap/ldap.c
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/PHP_5_5/ext/ldap/ldap.c
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/PHP_5_5/ext/ldap/ldap.c
83039b8 01-Aug-2011 Stanislav Malyshev <stas@php.net> fix params parsing
/PHP_5_5/ext/ldap/ldap.c
4b30846 25-Jul-2011 Felipe Pena <felipe@php.net> - Make usage of new PHP_FE_END macro
/PHP_5_5/ext/ldap/ldap.c
1bc1d35 14-Jul-2011 Scott MacVicar <scottmac@php.net> Fix prototypes for ldap_control_paged_result and fix function name in tests
/PHP_5_5/ext/ldap/ldap.c
3cb4de0 19-May-2011 Scott MacVicar <scottmac@php.net> Tidy up ldap paging code and rename the API as discussed in #42060
/PHP_5_5/ext/ldap/ldap.c
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/PHP_5_5/ext/ldap/ldap.c
7f9527b 08-Sep-2010 Felipe Pena <felipe@php.net> - Fixed wrong type
/PHP_5_5/ext/ldap/ldap.c
79baca3 15-Jun-2010 Pierre Joye <pajoye@php.net> - #42060, add paged results support
/PHP_5_5/ext/ldap/ldap.c
6d6b037 17-May-2010 Pierre Joye <pajoye@php.net> - #43233, sasl support for ldap on windows
/PHP_5_5/ext/ldap/ldap.c
9ba1e81 03-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
/PHP_5_5/ext/ldap/ldap.c
20cd29d 21-Dec-2009 Sriram Natarajan <srinatar@php.net> Fixed bug #50540 (Crash within ldap_first_reference function)
/PHP_5_5/ext/ldap/ldap.c
b741b02 18-Nov-2009 Jani Taskinen <jani@php.net> - 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.
/PHP_5_5/ext/ldap/ldap.c
b7bb8aa 18-Nov-2009 Ilia Alshanetsky <iliaa@php.net> Fixed bug #50212 (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT).
/PHP_5_5/ext/ldap/ldap.c
30b7102 30-Aug-2009 Ilia Alshanetsky <iliaa@php.net> Bug #49391 ldap.c utilizing deprecated ldap_modify_s
/PHP_5_5/ext/ldap/ldap.c
e6fd4c1 18-Aug-2009 Ilia Alshanetsky <iliaa@php.net> NULL the value after free
/PHP_5_5/ext/ldap/ldap.c
88056c6 15-Aug-2009 Felipe Pena <felipe@php.net> - Improved param. parsing for ldap_read(), ldap_search() and ldap_list()
/PHP_5_5/ext/ldap/ldap.c
144ff4d 25-Jun-2009 Johannes Schlüter <johannes@php.net> MFH: Fixed bug #48696 (ldap_read() segfaults with invalid parameters) (Felipe)
/PHP_5_5/ext/ldap/ldap.c
f78a0b5 15-Jun-2009 Patrick Allaert <patrickallaert@php.net> MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent)
/PHP_5_5/ext/ldap/ldap.c
91a8fd7 15-Jun-2009 Patrick Allaert <patrickallaert@php.net> MFH: Refactoring that will help fixing #48441
/PHP_5_5/ext/ldap/ldap.c
4aca430 07-Jun-2009 Patrick Allaert <patrickallaert@php.net> MFH: Removed credit
/PHP_5_5/ext/ldap/ldap.c
10b559c 07-Jun-2009 Patrick Allaert <patrickallaert@php.net> MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results)
/PHP_5_5/ext/ldap/ldap.c
ac231aa 21-Apr-2009 Hannes Magnusson <bjori@php.net> MFH: adjust reflection info
/PHP_5_5/ext/ldap/ldap.c
4e856c4 21-Apr-2009 Ilia Alshanetsky <iliaa@php.net> Adjusted prototype
/PHP_5_5/ext/ldap/ldap.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/PHP_5_5/ext/ldap/ldap.c
f6cf54d 12-Dec-2008 Hannes Magnusson <bjori@php.net> Fixed bug#46847 (phpinfo() is missing some settings.)
/PHP_5_5/ext/ldap/ldap.c
fc2fb50 17-Nov-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/PHP_5_5/ext/ldap/ldap.c
7a37fa2 02-Nov-2008 Felipe Pena <felipe@php.net> - Revert ZEND_BEGIN_ARG_INFO change
/PHP_5_5/ext/ldap/ldap.c
df10005 24-Oct-2008 Felipe Pena <felipe@php.net> - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
/PHP_5_5/ext/ldap/ldap.c
e304515 02-Aug-2008 Felipe Pena <felipe@php.net> - MFH: Added parameter TSRMLS_DC in zend_is_callable()
/PHP_5_5/ext/ldap/ldap.c
644b069 16-Jul-2008 Felipe Pena <felipe@php.net> - Fix typo (thanks Pierre)
/PHP_5_5/ext/ldap/ldap.c
dd8202f 01-Jul-2008 Antony Dovgal <tony2001@php.net> int->long, add missing "s"
/PHP_5_5/ext/ldap/ldap.c
7ddf985 30-Jun-2008 Felipe Pena <felipe@php.net> - zend_arg_defs.c is unnecessary now
/PHP_5_5/ext/ldap/ldap.c
a44269c 29-Jun-2008 Felipe Pena <felipe@php.net> - New parameter parsing API
- Added arginfo
/PHP_5_5/ext/ldap/ldap.c
d652cec 02-Jun-2008 Jani Taskinen <jani@php.net> - 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..
/PHP_5_5/ext/ldap/ldap.c
57bcc16 02-Jun-2008 Pierre Joye <pajoye@php.net> - 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)
/PHP_5_5/ext/ldap/ldap.c
930d9e4 02-Jun-2008 Jani Taskinen <jani@php.net> - Revert crap
# Someone should remove Pierre's karma too..
/PHP_5_5/ext/ldap/ldap.c
2528bd4 02-Jun-2008 Pierre Joye <pajoye@php.net> - don't use openldap/portable and build the human readable version
- silent strdup redclaration warning
/PHP_5_5/ext/ldap/ldap.c
8290e33 02-Jun-2008 Pierre Joye <pajoye@php.net> - add OpenLDAP version info in phpinfo (windows only, have to check if openldap/portable.h is present on linux headers)
/PHP_5_5/ext/ldap/ldap.c
94697ac 04-May-2008 Etienne Kneuss <colder@php.net> MFH: Fix protos
/PHP_5_5/ext/ldap/ldap.c
ac63105 16-Apr-2008 Antony Dovgal <tony2001@php.net> MFH: use new parameter parsing API
/PHP_5_5/ext/ldap/ldap.c
00e406e 16-Apr-2008 Antony Dovgal <tony2001@php.net> plug minor memleak
/PHP_5_5/ext/ldap/ldap.c
824b19a 09-Feb-2008 Johannes Schlüter <johannes@php.net> MFH: Fix build on Solaris
/PHP_5_5/ext/ldap/ldap.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/PHP_5_5/ext/ldap/ldap.c
732f54a 06-Oct-2007 Jani Taskinen <jani@php.net> MFH:- Add support for LDAP_X_OPT_CONNECT_TIMEOUT (Netscape LDAP SDK equivalent for LDAP_OPT_NETWORK_TIMEOUT)
/PHP_5_5/ext/ldap/ldap.c
d473e19 06-Oct-2007 Jani Taskinen <jani@php.net> MFH: - Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow setting network timeout (FR#42837)
/PHP_5_5/ext/ldap/ldap.c
6c810b0 27-Sep-2007 Dmitry Stogov <dmitry@php.net> Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
/PHP_5_5/ext/ldap/ldap.c
e8f3167 17-Jul-2007 Jani Taskinen <jani@php.net> MFH: removed dots from error messages
/PHP_5_5/ext/ldap/ldap.c
0b31350 17-Jul-2007 Jani Taskinen <jani@php.net> MFH:- Fixed bug #42015 (ldap_rename() gets server error "DSA is unwilling to perform")
/PHP_5_5/ext/ldap/ldap.c
06877d0 13-Jul-2007 Jani Taskinen <jani@php.net> - Do not break thousands of scripts.. (will remove in 5.3)
/PHP_5_5/ext/ldap/ldap.c
3dff7a7 13-Jul-2007 Jani Taskinen <jani@php.net> MFH: - Make sure people call ldap_first_attribute() before ldap_next_attribute()
/PHP_5_5/ext/ldap/ldap.c
95f8148 13-Jul-2007 Jani Taskinen <jani@php.net> 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.. ;)
/PHP_5_5/ext/ldap/ldap.c
f54f453 12-Jul-2007 Jani Taskinen <jani@php.net> MFH: - Fixed bug #39291 (ldap_sasl_bind() misses the sasl_authc_id parameter).
/PHP_5_5/ext/ldap/ldap.c
9696435 30-Apr-2007 Antony Dovgal <tony2001@php.net> MFH: initialize optional params
/PHP_5_5/ext/ldap/ldap.c
4b39efa 22-Mar-2007 Douglas Goldstein <cardoe@php.net> 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
/PHP_5_5/ext/ldap/ldap.c
7d901ea 05-Jan-2007 Ilia Alshanetsky <iliaa@php.net> %f -> %F
/PHP_5_5/ext/ldap/ldap.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/PHP_5_5/ext/ldap/ldap.c
1dbaae2 15-Jun-2006 Dmitry Stogov <dmitry@php.net> Added automatic module globals management
/PHP_5_5/ext/ldap/ldap.c
5bd9322 01-Jan-2006 foobar <sniper@php.net> bump year and license version
/PHP_5_5/ext/ldap/ldap.c
ddcc525 11-Dec-2005 foobar <sniper@php.net> MFH: - Added missing fold tags
/PHP_5_5/ext/ldap/ldap.c
3e669bc 06-Dec-2005 foobar <sniper@php.net> MFH: nuke php3 legacy
/PHP_5_5/ext/ldap/ldap.c
23e671a 03-Aug-2005 foobar <sniper@php.net> - Bumber up year
/PHP_5_5/ext/ldap/ldap.c
15e772c 09-Jul-2005 foobar <sniper@php.net> - No need to use convert_to_string_ex() when dealing with strings
/PHP_5_5/ext/ldap/ldap.c
fcee086 09-Jul-2005 foobar <sniper@php.net> - Fixed bug #33588 (LDAP: RootDSE query not possible).
/PHP_5_5/ext/ldap/ldap.c
f2dd8f0 08-May-2005 foobar <sniper@php.net> - Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer)
/PHP_5_5/ext/ldap/ldap.c
87c9316 17-Apr-2005 foobar <sniper@php.net> - Fixed bug #30819 (Better support for LDAP SASL bind)
/PHP_5_5/ext/ldap/ldap.c
33677dd 05-Apr-2005 Antony Dovgal <tony2001@php.net> remove proto, it's internal func
/PHP_5_5/ext/ldap/ldap.c
c245e1f 19-Jan-2005 foobar <sniper@php.net> - ldap_start_tls() requires ldapv3 protocol -> force it
/PHP_5_5/ext/ldap/ldap.c
ed7d1e8 28-Jun-2004 Ilia Alshanetsky <iliaa@php.net> Removed pointless allocation check.
/PHP_5_5/ext/ldap/ldap.c
6b35037 01-Jun-2004 Ilia Alshanetsky <iliaa@php.net> No need to NULL terminate manually, snprintf() does it for us already.
/PHP_5_5/ext/ldap/ldap.c
2d6770f 12-May-2004 Marcus Boerger <helly@php.net> - Added missing UNREGISTER_INI_ENTRIES
/PHP_5_5/ext/ldap/ldap.c
9a98c38 06-Apr-2004 Ilia Alshanetsky <iliaa@php.net> Removed pointless check.
/PHP_5_5/ext/ldap/ldap.c
dbeb415 08-Jan-2004 Andi Gutmans <andi@php.net> - A belated happy holidays and PHP 5
/PHP_5_5/ext/ldap/ldap.c
90100e5 07-Oct-2003 Ilia Alshanetsky <iliaa@php.net> Cleaned up previous patch.
/PHP_5_5/ext/ldap/ldap.c
47484ce 06-Oct-2003 foobar <sniper@php.net> - Fixed bug #25764 (ldap_get_option() crashes when called with unbinded ldap link)
/PHP_5_5/ext/ldap/ldap.c
94ff3d5 13-Sep-2003 Sara Golemon <pollita@php.net> Fix Bug #25525 ldap_explode_dn crashes when passed invalid params.
/PHP_5_5/ext/ldap/ldap.c
9c82b1f 31-Aug-2003 Ilia Alshanetsky <iliaa@php.net> Fixed compiler warnings.
/PHP_5_5/ext/ldap/ldap.c
8767205 31-Aug-2003 Zeev Suraski <zeev@php.net> Fix Win32 linkage problems
/PHP_5_5/ext/ldap/ldap.c
96e9ed3 05-Aug-2003 foobar <sniper@php.net> The last 4 args are by ref..
/PHP_5_5/ext/ldap/ldap.c
538d58d 03-Aug-2003 Zeev Suraski <zeev@php.net> Use new infrastructure.

There are bound to be some messups, please report build/runtime bugs!
/PHP_5_5/ext/ldap/ldap.c
bb37952 13-Jun-2003 foobar <sniper@php.net> Fixed the SASL config check.
/PHP_5_5/ext/ldap/ldap.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/PHP_5_5/ext/ldap/ldap.c
c0e4bfc 08-Jun-2003 foobar <sniper@php.net> - Added ldap_sasl_bind(). (Jani, peter_c60@hotmail.com)
/PHP_5_5/ext/ldap/ldap.c
c15b8fb 08-Jun-2003 foobar <sniper@php.net> ws & cs
/PHP_5_5/ext/ldap/ldap.c
8a09151 30-Apr-2003 Ilia Alshanetsky <iliaa@php.net> emalloc -> safe_emalloc
/PHP_5_5/ext/ldap/ldap.c
20c2c39 07-Mar-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #22585 (Do not terminate the script on minor errors).
/PHP_5_5/ext/ldap/ldap.c
3c9155e 07-Mar-2003 foobar <sniper@php.net> 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.
/PHP_5_5/ext/ldap/ldap.c
5c90216 06-Mar-2003 David Hill <ddhill@php.net> 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
/PHP_5_5/ext/ldap/ldap.c
0a18a9d 16-Feb-2003 Wez Furlong <wez@php.net> 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.
/PHP_5_5/ext/ldap/ldap.c
aebb39b 18-Jan-2003 Ilia Alshanetsky <iliaa@php.net> Changed php_error to php_error_docref.

Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
/PHP_5_5/ext/ldap/ldap.c
984c091 18-Jan-2003 Ilia Alshanetsky <iliaa@php.net> Removed pointless memory allocation checks.
/PHP_5_5/ext/ldap/ldap.c
b506f5c 31-Dec-2002 Sebastian Bergmann <sebastian@php.net> Bump year.
/PHP_5_5/ext/ldap/ldap.c
ce2b880 05-Nov-2002 Edin Kadribasic <edink@php.net> Fixed win32 build by including missing stddef.h
/PHP_5_5/ext/ldap/ldap.c
4332612 30-Oct-2002 Ilia Alshanetsky <iliaa@php.net> Fixed a memory leak on ldap_connect() failure.
/PHP_5_5/ext/ldap/ldap.c
ad844f0 05-Sep-2002 Anantha Kesari H Y <hyanantha@php.net> NetWare related additions/modifications
/PHP_5_5/ext/ldap/ldap.c
f50df31 13-Aug-2002 Rasmus Lerdorf <rasmus@php.net> bool not boolean
/PHP_5_5/ext/ldap/ldap.c
dddf235 05-Aug-2002 Stig Venaas <venaas@php.net> Made ldap_connect/bind/unbind() use zend_parse_parameters()
/PHP_5_5/ext/ldap/ldap.c
910e627 09-Jul-2002 Stig Venaas <venaas@php.net> Hopefully fixes build with IBM's LDAP library
/PHP_5_5/ext/ldap/ldap.c
7115041 30-Jun-2002 Derick Rethans <derick@php.net> - More error messages cleanup
/PHP_5_5/ext/ldap/ldap.c
a954dd6 27-Jun-2002 Derick Rethans <derick@php.net> - Remove \n
/PHP_5_5/ext/ldap/ldap.c
2d1b304 26-Jun-2002 Derick Rethans <derick@php.net> - Unify error messages
/PHP_5_5/ext/ldap/ldap.c
58ce28e 22-Jun-2002 Stig Venaas <venaas@php.net> Better not include ldap_parse_result() and ldap_start_tls() at all in
the symbol table when they are not usable. Makes it possible to check
on their usability.
/PHP_5_5/ext/ldap/ldap.c
c83f5a5 22-Jun-2002 Stig Venaas <venaas@php.net> Added test for ldap_start_tls_s()
/PHP_5_5/ext/ldap/ldap.c
d01f7a8 21-Jun-2002 Markus Fischer <mfischer@php.net> - Fix ZTS build, see #17915.
/PHP_5_5/ext/ldap/ldap.c
d47d8b9 04-May-2002 Stig Venaas <venaas@php.net> Reworked result resource handling so that result is not freed until all
its result entry resources are freed
@- Fixed resource bug in LDAP extension. (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
e317934 23-Apr-2002 Derick Rethans <derick@php.net> Fix TSRMLS_CC thingies.
/PHP_5_5/ext/ldap/ldap.c
90613d2 28-Feb-2002 Sebastian Bergmann <sebastian@php.net> Maintain headers.
/PHP_5_5/ext/ldap/ldap.c
8b2dcb3 11-Feb-2002 Markus Fischer <mfischer@php.net> - Fix protos.
/PHP_5_5/ext/ldap/ldap.c
2ac2b22 04-Jan-2002 Stig Venaas <venaas@php.net> Made ldap_modify() an alias for ldap_mod_replace(). The two were identical.
#For more info, see my posting on php-dev Dec 25th.
/PHP_5_5/ext/ldap/ldap.c
403350e 26-Dec-2001 Stig Venaas <venaas@php.net> unbreak parallel search
/PHP_5_5/ext/ldap/ldap.c
a05e74c 25-Dec-2001 Stig Venaas <venaas@php.net> Added check for ldap_parse_reference() (needed for broken Solaris 2.8), and
report more detailed library version info in the info function.
/PHP_5_5/ext/ldap/ldap.c
ed942af 23-Dec-2001 Stig Venaas <venaas@php.net> Made ldap_set_option work with NULL as link, added option
LDAP_OPT_DEBUG_LEVEL for those that support it, and made sure the rebind
code is currently included for OpenLDAP only.
/PHP_5_5/ext/ldap/ldap.c
3893351 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/PHP_5_5/ext/ldap/ldap.c
6712271 03-Dec-2001 Andi Gutmans <andi@php.net> - Nuke REGISTER_MAIN_*. Extension maintainers please make sure I didn't
- change something I wasn't supposed to. It should be fine IMO.
/PHP_5_5/ext/ldap/ldap.c
80d8e55 30-Nov-2001 Stig Venaas <venaas@php.net> ldap_first_attribute and ldap_next_attribute has been completely broken
for 6 months!! Fixed (I think), might be a memory leak there...
/PHP_5_5/ext/ldap/ldap.c
088c7a6 29-Nov-2001 Stig Venaas <venaas@php.net> Adding ldap_set_rebind_proc() for APIs with V3 3 arg variant, need more
testing.
/PHP_5_5/ext/ldap/ldap.c
ce4c65a 29-Nov-2001 Stig Venaas <venaas@php.net> Making the link resource point to a structure that contains the LDAP
link, rather than point to it directly.
# This makes it much easier to store and retrieve per-connection PHP state.
/PHP_5_5/ext/ldap/ldap.c
2ea46ef 21-Nov-2001 Stig Venaas <venaas@php.net> Added ldap_sort() function
@- Added ldap_sort() function. (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
3dd9845 14-Nov-2001 Stig Venaas <venaas@php.net> Fixed some memory leaks and removed some unnecessary checks due to
ZEND_FETCH_RESOURCE returning on error
/PHP_5_5/ext/ldap/ldap.c
80ccb3f 13-Nov-2001 Stig Venaas <venaas@php.net> Minor changes in ldap_connect(): fixed crash with OpenLDAP 2 libs when
called without args and also use ldap_init() rather than ldap_open();
simplified code a little
/PHP_5_5/ext/ldap/ldap.c
ca476ec 13-Nov-2001 Stig Venaas <venaas@php.net> Removed some old cruft (some commented code and non-used globals), fixed
a proto typo, and make sure ldap_base_dn and ldap_filter are initialized
in php_ldap_do_search()
/PHP_5_5/ext/ldap/ldap.c
9284378 05-Nov-2001 Stig Venaas <venaas@php.net> Fixed seg fault when using ldap_add (or modify) with value array not
indexed as 0, 1, ... In some cases it didn't give seg fault, but used
previously added value. Now gives warning.
@- Made ldap_add (and modify) give warning with illegal value arrays.
@ Previously seg faulted or added wrong value (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
6892520 11-Oct-2001 Stig Bakken <ssb@php.net> * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
/PHP_5_5/ext/ldap/ldap.c
de894ef 09-Oct-2001 Stig Venaas <venaas@php.net> Added ldap_start_tls() function
@- Added ldap_start_tls() function (Stig Venaas, patch by kuenne@rentec.com)
/PHP_5_5/ext/ldap/ldap.c
6cfba2a 25-Sep-2001 Jeroen van Wolffelaar <jeroen@php.net> 2nd phase in back-substitution those macro's

I've got pretty much everything now...
/PHP_5_5/ext/ldap/ldap.c
c033288 25-Sep-2001 Jeroen van Wolffelaar <jeroen@php.net> Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
/PHP_5_5/ext/ldap/ldap.c
7d2a912 19-Sep-2001 Stig Venaas <venaas@php.net> Not using _free_ldap_result destructor for le_result_entry, leads to
crashes due to freeing same memory several times in some cases
/PHP_5_5/ext/ldap/ldap.c
78747bd 09-Sep-2001 Derick Rethans <derick@php.net> - Don't wrap lines... this is annoying while coding.
/PHP_5_5/ext/ldap/ldap.c
f6f6c4d 11-Aug-2001 Zeev Suraski <zeev@php.net> Whitespace
/PHP_5_5/ext/ldap/ldap.c
1159c84 05-Aug-2001 Zeev Suraski <zeev@php.net> - TSRMLS_FETCH work
- whitespace fixes
/PHP_5_5/ext/ldap/ldap.c
aa1772c 31-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH annihilation
/PHP_5_5/ext/ldap/ldap.c
d87cc97 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/PHP_5_5/ext/ldap/ldap.c
eabe8fc 15-Jul-2001 Stig Venaas <venaas@php.net> Fixed memory leaks in ldap_get_entries() and ldap_get_dn() when using
RFC1823 API
# These leaks have always been there, will fix in PHP3
@- Fixed various memory leaks in the LDAP extension (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
4172eda 23-Jun-2001 Stig Venaas <venaas@php.net> Fixed memory leak in ldap_first_attribute(), ldap_next_attribute(),
ldap_get_attributes(), ldap_get_dn() and ldap_dn2ufn() when using post
RFC 1823 API. Still more leaks to fix.
/PHP_5_5/ext/ldap/ldap.c
399885c 20-Jun-2001 Stig Venaas <venaas@php.net> Fixed memory leak in ldap_get_entries() when using post RFC 1823 API.
Similar problems for other functions will be fixed
/PHP_5_5/ext/ldap/ldap.c
81e2cf0 06-Jun-2001 Rasmus Lerdorf <rasmus@php.net> Fix folding and clean up some extensions
/PHP_5_5/ext/ldap/ldap.c
25c3a3a 05-Jun-2001 Rasmus Lerdorf <rasmus@php.net> vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
/PHP_5_5/ext/ldap/ldap.c
334ac7f 31-May-2001 foobar <sniper@php.net> - Cleaned up some whitespace (sorry, I should have committed that before
any other changes)
- Made use of the Zend resource macros
/PHP_5_5/ext/ldap/ldap.c
1d115db 30-May-2001 Rasmus Lerdorf <rasmus@php.net> ldap_result_entry needs to be initialized - tested
Should probably MFH this once someone else tests.
/PHP_5_5/ext/ldap/ldap.c
1beda9e 24-May-2001 Stig Bakken <ssb@php.net> * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
/PHP_5_5/ext/ldap/ldap.c
eb6ba01 26-Feb-2001 Andi Gutmans <andi@php.net> - Fix copyright notices with 2001
/PHP_5_5/ext/ldap/ldap.c
c927c25 17-Jan-2001 Stig Venaas <venaas@php.net> Making parallel search allow different filter for each link
/PHP_5_5/ext/ldap/ldap.c
d9f52a4 13-Jan-2001 Stig Venaas <venaas@php.net> Fixed memory leaks that could happen in some error situations. Also removed
some unnecessary code in ldap_set_option()
/PHP_5_5/ext/ldap/ldap.c
2d17c57 12-Jan-2001 Stig Venaas <venaas@php.net> Added parallel search when given array of link identifiers
@- Made ldap_list(), ldap_read() and ldap_search() do parallel search when
@ first parameter is an array of link identifiers (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
40a71cf 08-Jan-2001 Egon Schmid <eschmid@php.net> Corrected some protos.
/PHP_5_5/ext/ldap/ldap.c
897f293 08-Jan-2001 Stig Venaas <venaas@php.net> Added ldap_rename(). Currently requires API with ldap_rename().
@- Added ldap_rename() function (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
0ecaf2e 07-Jan-2001 Stig Venaas <venaas@php.net> Minor changes to LDAP_OPT constants, and added support for controls to
ldap_set_option.
@- Made ldap_set_option() support controls (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
1b3385c 07-Jan-2001 Stig Venaas <venaas@php.net> Added LDAPv3 stuff. ldap_search() now treats LDAP_ADMINLIMIT_EXCEEDED like
LDAP_SIZELIMIT_EXCEEDED and returns referral results.
Added new functions ldap_parse_result(), ldap_first_reference(),
ldap_next_reference() and ldap_parse_reference() that among other things
make referrals and search references accessible.
@- Changed ldap_search() and added functions ldap_parse_result(),
@ ldap_first_reference(), ldap_next_reference() and ldap_parse_reference()
@ to cope with LDAPv3 stuff like referrals and references. (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
aa6d2ac 22-Dec-2000 Zeev Suraski <zeev@php.net> Heads up people!

Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
/PHP_5_5/ext/ldap/ldap.c
f48c0fb 04-Dec-2000 foobar <sniper@php.net> @- Made ldap_get_entries() return an array even if there are no entries
in search result. (Jani)
# This was actually the original behaviour and the correct one.
# I messed it up when I fixed another bug in it a while ago..
# Fixes bug #8054
/PHP_5_5/ext/ldap/ldap.c
dd83069 13-Nov-2000 foobar <sniper@php.net> Fixed bug: #7768. Some cleaning up too.
/PHP_5_5/ext/ldap/ldap.c
6f398a2 03-Nov-2000 foobar <sniper@php.net> Fixed incorrect logic. And NSLDAP does not have LDAP_OPT_MATCHED_DN.
/PHP_5_5/ext/ldap/ldap.c
ac7e22d 28-Oct-2000 foobar <sniper@php.net> Fix for bug #7416. ldap_set|get_option() are also in NSLDAP SDKs.
/PHP_5_5/ext/ldap/ldap.c
f1dcb32 25-Oct-2000 Andrei Zmievski <andrei@php.net> Use zend_register_list_destructors_ex() instead.
/PHP_5_5/ext/ldap/ldap.c
5741816 22-Oct-2000 Stig Venaas <venaas@php.net> Corrected prototype comments for ldap_get_option and ldap_set_option
/PHP_5_5/ext/ldap/ldap.c
094d011 20-Oct-2000 Stig Venaas <venaas@php.net> Made ldap_connect() accept URL in host parameter when using OpenLDAP 2.x.
@- Made ldap_connect() accept URL in host parameter when using OpenLDAP
@ 2.x. To use SSL, use ldaps://host/ as URL. (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
7b4983c 20-Oct-2000 Andrei Zmievski <andrei@php.net> Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
/PHP_5_5/ext/ldap/ldap.c
2da9a94 18-Oct-2000 Stig Venaas <venaas@php.net> Added destruction of return value parameter, and using ZVAL_LONG and
ZVAL_STRING to set return value in ldap_get_option.
/PHP_5_5/ext/ldap/ldap.c
ffbd236 17-Oct-2000 Stig Venaas <venaas@php.net> Added ldap_get_option() and ldap_set_option() functions
@- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
/PHP_5_5/ext/ldap/ldap.c
0b59e4b 17-Oct-2000 Stig Venaas <venaas@php.net> Removed some redundant convert_to_*_ex() calls. Edited some whitespace.
/PHP_5_5/ext/ldap/ldap.c
6910e92 31-Aug-2000 Stig Venaas <venaas@php.net> removed some NSLDAP #if's giving more detailed error reporting
/PHP_5_5/ext/ldap/ldap.c
0435c2e 26-Aug-2000 Stig Venaas <venaas@php.net> Makes it work with OpenLDAP 2.0 and reduces number of ifdefs
/PHP_5_5/ext/ldap/ldap.c
4d6f3b4 20-Aug-2000 Stig Venaas <venaas@php.net> Added Oracle LDAP SDK SSL support
/PHP_5_5/ext/ldap/ldap.c
6355320 07-Aug-2000 Rui Hirokawa <hirokawa@php.net> fixed for openldap 2.0beta.
/PHP_5_5/ext/ldap/ldap.c
5356c10 04-Aug-2000 foobar <sniper@php.net> - This should fix bug #5964
# Could someone please check this out..it works as intented for me at least.
# But I don't have any Windoze machines available to test this there.
/PHP_5_5/ext/ldap/ldap.c
a4a0e18 02-Aug-2000 foobar <sniper@php.net> - Added two new functions: ldap_t61_to_8859() and ldap_8859_to_t61().
These functions are available only when using openldap which is compiled
with STR_TRANSLATION and LDAP_CHARSET_8859 defined in ldap_cdefs.h (Jani)
/PHP_5_5/ext/ldap/ldap.c
7c84d6a 28-Jul-2000 foobar <sniper@php.net> Fixes bug which caused crash, if result_entry wasn't valid.
/PHP_5_5/ext/ldap/ldap.c
9f25b9c 28-Jul-2000 foobar <sniper@php.net> # Oops..where did those creep in? =(
/PHP_5_5/ext/ldap/ldap.c
40b89f3 28-Jul-2000 foobar <sniper@php.net> @- Made ldap_add(), ldap_modify(), ldap_mod_add(), ldap_mod_replace()
@ binary-safe. Original patch: Terrence Miao <terrence_miao@email.com> (Jani)
#Thanks go to Terrence for making a patch correcting this bug in php3.0.12...
#A patch, which somehow wasn't included at all in it?-) I wonder why..?
/PHP_5_5/ext/ldap/ldap.c
c8b8281 28-Jul-2000 foobar <sniper@php.net> @- Fixed bug in ldap_get_values_len() which makes it NULL-safe. (Jani)
@ Bug-report and fix submitted by Michel Alexeline <alexel@dr15.cnrs.fr>
# Plus I added missing ldap_value_free_len().
/PHP_5_5/ext/ldap/ldap.c
9bb4011 26-Jul-2000 Egon Schmid <eschmid@php.net> Proto fixed.
/PHP_5_5/ext/ldap/ldap.c
123d745 26-Jul-2000 foobar <sniper@php.net> @- Added new function: ldap_compare(). (Jani)
# Documentation is coming right after this.
/PHP_5_5/ext/ldap/ldap.c
e5f6dcb 25-Jul-2000 foobar <sniper@php.net> @- Fixed a bug in ldap_get_entries() and ldap_get_attributes. (Jani)
Fixes bugs #5433 and #5603.
/PHP_5_5/ext/ldap/ldap.c
428eb46 23-Jul-2000 foobar <sniper@php.net> It's better not touch those ldap->ld_* when they aren't given as parameters.
(Now using -1 the parameters not wanted can be omitted)
# Plus some source-polishing.
/PHP_5_5/ext/ldap/ldap.c
01d5aec 22-Jul-2000 foobar <sniper@php.net> Forgot those constants.
/PHP_5_5/ext/ldap/ldap.c
549aec4 21-Jul-2000 foobar <sniper@php.net> @- Added four additional arguments: attrsonly, sizelimit, timelimit, deref which
@ were missing in ldap_search(), ldap_list() and ldap_read() functions (Jani)
@- Fixed a bug in ldap_search/list/read() which prevented returning the partial
@ results when 'Sizelimit exceeded' error occurred. (Jani Taskinen)

# And nuked some compile time warnings. Took a while to get this commit message
# written..I hope I got it right. =)
/PHP_5_5/ext/ldap/ldap.c
9eb2c1e 27-Jun-2000 Thies C. Arntzen <thies@php.net> @- Fixed a possible crash in the LDAP modify code. (Eric Kilfoil)
/PHP_5_5/ext/ldap/ldap.c
dd43255 18-Jun-2000 Egon Schmid <eschmid@php.net> More protos.
/PHP_5_5/ext/ldap/ldap.c
a2bdc52 13-Jun-2000 Stig Venaas <venaas@php.net> Also need to 0-terminate when adding/modifying an array of values.
/PHP_5_5/ext/ldap/ldap.c
aa5c0ff 13-Jun-2000 Stig Venaas <venaas@php.net> Think have to 0-terminate mod_values strings, got trailing garbage,
this fixes bug #5001 I think.
/PHP_5_5/ext/ldap/ldap.c
3701bc4 05-Jun-2000 Andi Gutmans <andi@php.net> - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
/PHP_5_5/ext/ldap/ldap.c
50b014b 05-Jun-2000 Hartmut Holzgraefe <hholzgra@php.net> compile fix regarding bug report #4780
/PHP_5_5/ext/ldap/ldap.c
93feb30 24-May-2000 Rasmus Lerdorf <rasmus@php.net> @ Fix a couple of warnings in the gd and ldap modules
num_links is a long there
/PHP_5_5/ext/ldap/ldap.c
4686a3b 23-May-2000 Sascha Schumann <sas@php.net> Use #ifdef COMPILE_DL_EXTNAME solely.
/PHP_5_5/ext/ldap/ldap.c
e043439 18-May-2000 Zeev Suraski <zeev@php.net> Update the license with the new clause 6
/PHP_5_5/ext/ldap/ldap.c
fe50664 02-May-2000 Sascha Schumann <sas@php.net> #if COMPILE_DL

becomes

#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
/PHP_5_5/ext/ldap/ldap.c
0d383d9 02-May-2000 Sascha Schumann <sas@php.net> Replace the various get_module() functions with a uniform
ZEND_GET_MODULE(name) macro.
/PHP_5_5/ext/ldap/ldap.c
c31f6fb 19-Apr-2000 Zeev Suraski <zeev@php.net> Kill warning
/PHP_5_5/ext/ldap/ldap.c
cd3305a 07-Apr-2000 Sterling Hughes <sterling@php.net> @-Added ldap_get_values_len function from PHP3 to PHP4. (Sterling)
/PHP_5_5/ext/ldap/ldap.c
e4409a8 06-Apr-2000 Colin Viebrock <cmv@php.net> phpinfo() pretying

That should be everything.
/PHP_5_5/ext/ldap/ldap.c
5115342 06-Apr-2000 Colin Viebrock <cmv@php.net> More phpinfo() prettying.

Can someone check my code for the interbase
support, and I need someone else to decode the LDAP stuff ... it's beyond
me.
/PHP_5_5/ext/ldap/ldap.c
4766abb 06-Apr-2000 Sterling Hughes <sterling@php.net> @- Added ldap_errno, ldap_err2str and ldap_error from PHP3 to PHP4. (Sterling)
/PHP_5_5/ext/ldap/ldap.c
d3dd529 03-Apr-2000 Andi Gutmans <andi@php.net> - Fix build bug
/PHP_5_5/ext/ldap/ldap.c
491a315 01-Apr-2000 Zeev Suraski <zeev@php.net> @- Made the IMAP and LDAP modules compilable under Windows and thread-safe (Zeev)
/PHP_5_5/ext/ldap/ldap.c
d02fe90 06-Mar-2000 Stig Bakken <ssb@php.net> Change extension names in all extensions' zend_module_entry to their
directory name.
/PHP_5_5/ext/ldap/ldap.c
bf5cb89 26-Feb-2000 Zeev Suraski <zeev@php.net> - Convert 'PHP3' to 'PHP'
- Avoid declaring crypt() related salt types twice
/PHP_5_5/ext/ldap/ldap.c
86c9635 23-Feb-2000 Egon Schmid <eschmid@php.net> More protos.
/PHP_5_5/ext/ldap/ldap.c
9b621d1 19-Feb-2000 Zeev Suraski <zeev@php.net> Get the license right... (this won't make it to RC1 of B4)
/PHP_5_5/ext/ldap/ldap.c
c854703 16-Feb-2000 Andi Gutmans <andi@php.net> - PHP_WIN32
/PHP_5_5/ext/ldap/ldap.c
3a81634 05-Feb-2000 Zeev Suraski <zeev@php.net> Cleanup patches
/PHP_5_5/ext/ldap/ldap.c
43ae2bf 01-Jan-2000 Sascha Schumann <sas@php.net> Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
/PHP_5_5/ext/ldap/ldap.c
a1ad287 18-Dec-1999 Zeev Suraski <zeev@php.net> - The tree compiles again
/PHP_5_5/ext/ldap/ldap.c
e18a883 18-Dec-1999 Zeev Suraski <zeev@php.net> More php3_ cleanup
/PHP_5_5/ext/ldap/ldap.c
fb1c77b 17-Dec-1999 Zeev Suraski <zeev@php.net> - Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
/PHP_5_5/ext/ldap/ldap.c
a3c6514 17-Dec-1999 Zeev Suraski <zeev@php.net> More php3_ annihilation
/PHP_5_5/ext/ldap/ldap.c
7e4bd9f 09-Dec-1999 Andrei Zmievski <andrei@php.net> (PHP strtoupper, strtolower, substr_replace) Made binary-safe.
@Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
/PHP_5_5/ext/ldap/ldap.c
5b983c9 04-Dec-1999 Sascha Schumann <sas@php.net> Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
/PHP_5_5/ext/ldap/ldap.c
7bda9c0 22-Nov-1999 Evan Klinger <evan@php.net> Optimize LDAP a little with Ex API
/PHP_5_5/ext/ldap/ldap.c
f312795 19-Oct-1999 Andrei Zmievski <andrei@php.net> (PHP ldap_get_entries): Fix string function name.
/PHP_5_5/ext/ldap/ldap.c
01ed90c 20-Aug-1999 Andrey Hristov <andrey@php.net> Fix bug #2025
/PHP_5_5/ext/ldap/ldap.c
1701a9e 07-Aug-1999 Zeev Suraski <zeev@php.net> Fix for bug #1980
/PHP_5_5/ext/ldap/ldap.c
3cb1eb0 02-Aug-1999 Zeev Suraski <zeev@php.net> Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
/PHP_5_5/ext/ldap/ldap.c
0558513 02-Aug-1999 Andrey Hristov <andrey@php.net> More symbol work.
/PHP_5_5/ext/ldap/ldap.c
a316ff7 16-Jul-1999 Zeev Suraski <zeev@php.net> *** empty log message ***
/PHP_5_5/ext/ldap/ldap.c
1671424 16-Jul-1999 Zeev Suraski <zeev@php.net> Get the LDAP module uptodate
/PHP_5_5/ext/ldap/ldap.c
c5724cb 16-Jul-1999 Zeev Suraski <zeev@php.net> License update
/PHP_5_5/ext/ldap/ldap.c
b57dc27 21-May-1999 Sascha Schumann <sas@php.net> - run ext sources through conv_proto
- add necessary phpext_*_ptr
/PHP_5_5/ext/ldap/ldap.c
bc415d5 09-May-1999 Zeev Suraski <zeev@php.net> * Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
/PHP_5_5/ext/ldap/ldap.c
6f7c0ed 23-Apr-1999 Zeev Suraski <zeev@php.net> Remove tls.[ch]
/PHP_5_5/ext/ldap/ldap.c
f53afa6 23-Apr-1999 Zeev Suraski <zeev@php.net> cleanups
/PHP_5_5/ext/ldap/ldap.c
cad2318 23-Apr-1999 Rasmus Lerdorf <rasmus@php.net> Module work
/PHP_5_5/ext/ldap/ldap.c
2a78f92 22-Apr-1999 Stig Bakken <ssb@php.net> moved imap and ldap
/PHP_5_5/ext/ldap/ldap.c