summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed another part in ldap (bug #73933)Xinchen Hui2017-01-191-1/+3
|
* Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)Xinchen Hui2017-01-171-1/+2
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
|
* Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-08-291-0/+1
|\ | | | | | | | | * PHP-5.6: fix leak
| * fix leakAnatol Belski2016-08-291-0/+1
| |
* | LDAP - Added support to change the certificates verificationEdwin Hoksberg2016-03-011-0/+16
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
* | Fixed bug #71249 (ldap_mod_replace/ldap_mod_add store value as string "Array")Xinchen Hui2016-01-011-0/+1
| |
* | Revert "Added back support for undocummented host:port syntax"Côme Bernigaud2015-11-241-6/+1
| | | | | | | | This reverts commit 15876e85e59658bfbda3bf0b0c34d56ca503fd2f.
* | Revert "Using default port in ldap_connect when NULL is passed (this was the ↵Côme Bernigaud2015-11-241-3/+0
| | | | | | | | | | | | behavior prior to 5.6.11)" This reverts commit 391087ed280f86f144ffa5a2b72eeeda3c271743.
* | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2015-11-161-1/+6
|\ \ | |/ | | | | | | Conflicts: ext/mysql/php_mysql.c
| * Added back support for undocummented host:port syntaxCôme Bernigaud2015-11-161-1/+6
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2015-11-121-0/+3
|\ \ | |/
| * Using default port in ldap_connect when NULL is passed (this was the ↵Côme Bernigaud2015-11-121-0/+3
| | | | | | | | | | | | behavior prior to 5.6.11) Note that passing 0 will also result in default port.
* | Removed or simplified incorrect SEPARATE_*() macros usage.Dmitry Stogov2015-09-291-1/+0
| |
* | fixed compilation errorDmitry Stogov2015-09-101-1/+1
| |
* | Merge branch 'PHP-5.6'Xinchen Hui2015-09-101-0/+35
|\ \ | |/
| * Added support of LDAP_OPT_TIMEOUT, fixes #69574Côme Bernigaud2015-09-091-0/+35
| |
* | Merge branch 'PHP-5.6'Côme Bernigaud2015-09-091-2/+2
|\ \ | |/ | | | | | | * PHP-5.6: Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
| * Merge branch 'PHP-5.5' into PHP-5.6Côme Bernigaud2015-09-091-2/+2
| |\ | | | | | | | | | | | | * PHP-5.5: Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
| | * Fix bug in LDAP extensions' saving TIMELIMIT and DEREFTyson Andre2015-09-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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))
| | * Bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | Merge branch 'PHP-5.6'Côme Bernigaud2015-08-181-16/+36
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-5.6: Patch from Rainer Jung to provide Solaris LDAP support Conflicts: ext/ldap/ldap.c
| * | Patch from Rainer Jung to provide Solaris LDAP supportCôme Bernigaud2015-08-181-16/+36
| | |
| * | fix C99 compatAnatol Belski2015-07-231-1/+1
| | |
* | | Merge branch 'PHP-5.6'Côme Bernigaud2015-07-061-0/+8
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Attempt at falling back on ldap_find_control for Mac OS
| * | Attempt at falling back on ldap_find_control for Mac OSCôme Bernigaud2015-07-061-0/+8
| | |
* | | Fixed return valueDmitry Stogov2015-07-061-0/+1
| | |
* | | Cleanup (avoid reallocation).Dmitry Stogov2015-07-011-14/+11
| | |
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-8/+8
| | | | | | | | | | | | semantick changes).
* | | Merge branch 'PHP-5.6'Dmitry Stogov2015-06-291-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-5.6: On Windows PHP may be restarted with different set of DSO extensions without SHM reset. This may make optimisation for entities from DSO extensions inconsistent. Putting back deprecated symbols for ldap_sort Removed deprecated function calls from ldap module Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warning
| * | Removed deprecated function calls from ldap moduleCôme Bernigaud2015-06-231-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ldap_search -> ldap search_ext ldap_search_s ->_ldap_search_ext_s ldap_add_s -> ldap_add_ext_s ldap_delete_s -> ldap_delete_ext_s ldap_compare_s -> ldap_compare_ext_s ldap_value_free -> ldap_memvfree Only thing left is ldap_sort_entries, no replacement
| * | Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warningCôme Bernigaud2015-06-231-28/+6
| | |
| * | Implements extended error messagesAndreas Heigl2015-06-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new constant that can be used to retrieve more detailed error messages. This fixes #47222 The new constant LDAP_OPT_DIAGNOSTIC_MESSAGE is defined in PHP when the underlying library provides (and understands) it. This is the case in the current OpenLDAP-implementation. Tanks to Johnny Willer who provided the solution at http://stackoverflow.com/questions/28765077/get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/28816473#28816473
* | | Deprecating ldap_sort the right wayCôme Bernigaud2015-06-291-3/+1
| | |
* | | Adds deprecation-message for ldap_sortAndreas Heigl2015-06-291-0/+2
| | |
* | | Removed deprecated function calls from ldap moduleCôme Bernigaud2015-06-291-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ldap_search -> ldap search_ext ldap_search_s ->_ldap_search_ext_s ldap_add_s -> ldap_add_ext_s ldap_delete_s -> ldap_delete_ext_s ldap_compare_s -> ldap_compare_ext_s ldap_value_free -> ldap_memvfree Only thing left is ldap_sort_entries, no replacement Conflicts: ext/ldap/ldap.c
* | | Removed ifdefs of LDAP_API_FEATURE_X_OPENLDAP, fixed a warningCôme Bernigaud2015-06-291-28/+6
| | | | | | | | | | | | | | | Conflicts: ext/ldap/ldap.c
* | | Fix more minor mistakes in the proto commentsRasmus Lerdorf2015-06-231-1/+1
| | |
* | | Merge branch 'PHP-5.6'Côme Bernigaud2015-06-171-12/+60
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Replaced calls to deprecated openldap functions Fixed LDAP tests so that base can exists Conflicts: ext/ldap/ldap.c
| * | Replaced calls to deprecated openldap functionsCôme Bernigaud2015-06-171-84/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | ldap_unbind_s -> ldap_unbind_ext 389 -> LDAP_PORT ldap_init -> ldap_initialize ldap_bind_s -> ldap_sasl_bind_s ldap_value_free -> ber_memvfree Also added ldap_is_ldap_url check
| * | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | Implements extended error messagesAndreas Heigl2015-05-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new constant that can be used to retrieve more detailed error messages. This fixes #47222 The new constant LDAP_OPT_DIAGNOSTIC_MESSAGE is defined in PHP when the underlying library provides (and understands) it. This is the case in the current OpenLDAP-implementation. Tanks to Johnny Willer who provided the solution at http://stackoverflow.com/questions/28765077/get-number-of-ad-errors-with-ldap-and-php-ldap-function-return-unprecise-error/28816473#28816473
* | | CleanupDmitry Stogov2015-04-071-1/+2
| | |
* | | cleanup the mod version macros, round 2Anatol Belski2015-03-231-1/+1
| | |
* | | Ported ldapXinchen Hui2015-02-021-55/+157
| | |
* | | int -> size_tRasmus Lerdorf2015-01-201-1/+2
| | | | | | | | | | | | and fix the variable name
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-73/+73
| | |