summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.c
Commit message (Collapse)AuthorAgeFilesLines
* 2nd phase in back-substitution those macro'sJeroen van Wolffelaar2001-09-251-1/+1
| | | | | I've got pretty much everything now...
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-58/+58
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* Not using _free_ldap_result destructor for le_result_entry, leads toStig Venaas2001-09-191-1/+1
| | | | | crashes due to freeing same memory several times in some cases
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* WhitespaceZeev Suraski2001-08-111-20/+20
|
* - TSRMLS_FETCH workZeev Suraski2001-08-051-2/+4
| | | | | - whitespace fixes
* More TSRMLS_FETCH annihilationZeev Suraski2001-07-311-3/+2
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-10/+1
|
* Fixed memory leaks in ldap_get_entries() and ldap_get_dn() when usingStig Venaas2001-07-151-0/+4
| | | | | | | RFC1823 API # These leaks have always been there, will fix in PHP3 @- Fixed various memory leaks in the LDAP extension (Stig Venaas)
* Fixed memory leak in ldap_first_attribute(), ldap_next_attribute(),Stig Venaas2001-06-231-4/+11
| | | | | | ldap_get_attributes(), ldap_get_dn() and ldap_dn2ufn() when using post RFC 1823 API. Still more leaks to fix.
* Fixed memory leak in ldap_get_entries() when using post RFC 1823 API.Stig Venaas2001-06-201-0/+10
| | | | | Similar problems for other functions will be fixed
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-1/+2
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-46/+41
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* - Cleaned up some whitespace (sorry, I should have committed that beforefoobar2001-05-311-316/+175
| | | | | | any other changes) - Made use of the Zend resource macros
* ldap_result_entry needs to be initialized - testedRasmus Lerdorf2001-05-301-0/+1
| | | | | Should probably MFH this once someone else tests.
* * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)Stig Bakken2001-05-241-0/+4
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Making parallel search allow different filter for each linkStig Venaas2001-01-171-4/+25
|
* Fixed memory leaks that could happen in some error situations. Also removedStig Venaas2001-01-131-9/+13
| | | | | some unnecessary code in ldap_set_option()
* Added parallel search when given array of link identifiersStig Venaas2001-01-121-31/+128
| | | | | | @- Made ldap_list(), ldap_read() and ldap_search() do parallel search when @ first parameter is an array of link identifiers (Stig Venaas)
* Corrected some protos.Egon Schmid2001-01-081-8/+5
|
* Added ldap_rename(). Currently requires API with ldap_rename().Stig Venaas2001-01-081-1/+42
| | | | | @- Added ldap_rename() function (Stig Venaas)
* Minor changes to LDAP_OPT constants, and added support for controls toStig Venaas2001-01-071-4/+73
| | | | | | ldap_set_option. @- Made ldap_set_option() support controls (Stig Venaas)
* Added LDAPv3 stuff. ldap_search() now treats LDAP_ADMINLIMIT_EXCEEDED likeStig Venaas2001-01-071-2/+205
| | | | | | | | | | | 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)
* Heads up people!Zeev Suraski2000-12-221-2/+1
| | | | | | Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok...
* @- Made ldap_get_entries() return an array even if there are no entriesfoobar2000-12-041-2/+4
| | | | | | | | 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
* Fixed bug: #7768. Some cleaning up too.foobar2000-11-131-17/+18
|
* Fixed incorrect logic. And NSLDAP does not have LDAP_OPT_MATCHED_DN.foobar2000-11-031-9/+15
|
* Fix for bug #7416. ldap_set|get_option() are also in NSLDAP SDKs.foobar2000-10-281-11/+10
|
* Use zend_register_list_destructors_ex() instead.Andrei Zmievski2000-10-251-2/+2
|
* Corrected prototype comments for ldap_get_option and ldap_set_optionStig Venaas2000-10-221-2/+2
|
* Made ldap_connect() accept URL in host parameter when using OpenLDAP 2.x.Stig Venaas2000-10-201-1/+15
| | | | | | @- Made ldap_connect() accept URL in host parameter when using OpenLDAP @ 2.x. To use SSL, use ldaps://host/ as URL. (Stig Venaas)
* Mega-patch to get better resource information for modules.Andrei Zmievski2000-10-201-4/+6
| | | | | | | | | | | | | * 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)
* Added destruction of return value parameter, and using ZVAL_LONG andStig Venaas2000-10-181-6/+4
| | | | | ZVAL_STRING to set return value in ldap_get_option.
* Added ldap_get_option() and ldap_set_option() functionsStig Venaas2000-10-171-0/+160
| | | | | @- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
* Removed some redundant convert_to_*_ex() calls. Edited some whitespace.Stig Venaas2000-10-171-19/+15
|
* removed some NSLDAP #if's giving more detailed error reportingStig Venaas2000-08-311-6/+0
|
* Makes it work with OpenLDAP 2.0 and reduces number of ifdefsStig Venaas2000-08-261-43/+25
|
* Added Oracle LDAP SDK SSL supportStig Venaas2000-08-201-0/+47
|
* fixed for openldap 2.0beta.Rui Hirokawa2000-08-071-1/+19
|
* - This should fix bug #5964foobar2000-08-041-5/+11
| | | | | | # 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.
* - Added two new functions: ldap_t61_to_8859() and ldap_8859_to_t61().foobar2000-08-021-0/+59
| | | | | | These functions are available only when using openldap which is compiled with STR_TRANSLATION and LDAP_CHARSET_8859 defined in ldap_cdefs.h (Jani)
* Fixes bug which caused crash, if result_entry wasn't valid.foobar2000-07-281-4/+5
|
* # Oops..where did those creep in? =(foobar2000-07-281-1/+1
|
* @- Made ldap_add(), ldap_modify(), ldap_mod_add(), ldap_mod_replace()foobar2000-07-281-23/+28
| | | | | | | @ 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..?
* @- Fixed bug in ldap_get_values_len() which makes it NULL-safe. (Jani)foobar2000-07-281-5/+6
| | | | | | @ Bug-report and fix submitted by Michel Alexeline <alexel@dr15.cnrs.fr> # Plus I added missing ldap_value_free_len().
* Proto fixed.Egon Schmid2000-07-261-1/+1
|
* @- Added new function: ldap_compare(). (Jani)foobar2000-07-261-0/+45
| | | | | # Documentation is coming right after this.
* @- Fixed a bug in ldap_get_entries() and ldap_get_attributes. (Jani)foobar2000-07-251-32/+15
| | | | | Fixes bugs #5433 and #5603.
* It's better not touch those ldap->ld_* when they aren't given as parameters.foobar2000-07-231-16/+32
| | | | | | (Now using -1 the parameters not wanted can be omitted) # Plus some source-polishing.