summaryrefslogtreecommitdiff
path: root/ext/ldap
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-012-2/+2
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-012-2/+2
| |
* | 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-242-11/+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-162-1/+11
|\ \ | |/ | | | | | | Conflicts: ext/mysql/php_mysql.c
| * Added back support for undocummented host:port syntaxCôme Bernigaud2015-11-162-1/+11
| |
* | 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-102-0/+40
|\ \ | |/
| * Added support of LDAP_OPT_TIMEOUT, fixes #69574Côme Bernigaud2015-09-092-0/+40
| |
* | Merge branch 'PHP-5.6'Côme Bernigaud2015-09-092-2/+217
|\ \ | |/ | | | | | | * PHP-5.6: Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
| * Merge branch 'PHP-5.5' into PHP-5.6Côme Bernigaud2015-09-092-2/+217
| |\ | | | | | | | | | | | | * PHP-5.5: Fix bug in LDAP extensions' saving TIMELIMIT and DEREF
| | * Fix bug in LDAP extensions' saving TIMELIMIT and DEREFTyson Andre2015-09-082-2/+217
| | | | | | | | | | | | | | | | | | | | | | | | 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-152-2/+2
| | |
* | | 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 config.w32Anatol Belski2015-07-231-0/+1
| | |
| * | fix C99 compatAnatol Belski2015-07-231-1/+1
| | |
* | | move the define to the right placeAnatol Belski2015-07-061-0/+1
| | | | | | | | | | | | thanks Kalle )
* | | Merge branch 'PHP-5.6'Côme Bernigaud2015-07-062-1/+9
|\ \ \ | |/ / | | | | | | | | | * 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-062-1/+9
| | |
* | | Merge branch 'PHP-5.6'Côme Bernigaud2015-07-064-5/+23
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Updated README, added test to create LDAP base if missing and ease tests
| * | Updated README, added test to create LDAP base if missing and ease testsCôme Bernigaud2015-07-064-5/+23
| | |
* | | 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'Côme Bernigaud2015-06-301-0/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: keep LDAP_DEPRECATED in config.w32
| * | keep LDAP_DEPRECATED in config.w32Anatol Belski2015-06-301-0/+1
| | |
* | | Merge branch 'PHP-5.6'Dmitry Stogov2015-06-292-2/+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
| * | Merge PR about LDAP cleaning by removing deprecated callsCôme Bernigaud2015-06-293-49/+30
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'pull-request/1357' into PHP-5.6 * pull-request/1357: 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
| | * | Putting back deprecated symbols for ldap_sortCôme Bernigaud2015-06-291-1/+1
| | | |
| | * | 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-233-42/+19
| | | |
| * | | Fixed two errors in LDAP testsCôme Bernigaud2015-06-232-2/+2
| |/ /
| * | 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-294-10/+8
| | |
* | | Fixes ldap_sort-testsAndreas Heigl2015-06-293-0/+12
| | | | | | | | | | | | Thanks to Côme Bernigaud for fixing!
* | | Adds deprecation-message for ldap_sortAndreas Heigl2015-06-291-0/+2
| | |
* | | keep LDAP_DEPRECATED in config.w32Anatol Belski2015-06-291-0/+1
| | |
* | | Putting back deprecated symbols for ldap_sortCôme Bernigaud2015-06-291-1/+1
| | |
* | | 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-293-42/+19
| | | | | | | | | | | | | | | Conflicts: ext/ldap/ldap.c
* | | Fix more minor mistakes in the proto commentsRasmus Lerdorf2015-06-231-1/+1
| | |
* | | Fixed two errors in LDAP testsCôme Bernigaud2015-06-232-2/+2
| | |
* | | 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
| * | Fixed LDAP tests so that base can existsCôme Bernigaud2015-06-1757-406/+348
| | | | | | | | | | | | | | | | | | 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)