foobar
12503baa55
Cleaning this a little bit.
2001-03-12 02:06:06 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Daniel Beulshausen
57ce23e3cb
add configuration which links again libsasl.lib
2001-02-20 17:11:25 +00:00
Stig Venaas
c927c254dd
Making parallel search allow different filter for each link
2001-01-17 13:43:39 +00:00
Stig Venaas
d9f52a4176
Fixed memory leaks that could happen in some error situations. Also removed
...
some unnecessary code in ldap_set_option()
2001-01-13 10:00:27 +00:00
Stig Venaas
2d17c57664
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)
2001-01-12 22:08:26 +00:00
Egon Schmid
40a71cfdc7
Corrected some protos.
2001-01-08 18:31:59 +00:00
Stig Venaas
897f293d13
Added ldap_rename(). Currently requires API with ldap_rename().
...
@- Added ldap_rename() function (Stig Venaas)
2001-01-08 18:13:08 +00:00
Stig Venaas
0ecaf2eac6
Minor changes to LDAP_OPT constants, and added support for controls to
...
ldap_set_option.
@- Made ldap_set_option() support controls (Stig Venaas)
2001-01-07 21:18:02 +00:00
Stig Venaas
1b3385cad8
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)
2001-01-07 13:03:11 +00:00
Zeev Suraski
aa6d2ac5d0
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...
2000-12-22 12:57:09 +00:00
foobar
f48c0fbc95
@- 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
2000-12-04 17:07:27 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
foobar
dd83069fff
Fixed bug: #7768 . Some cleaning up too.
2000-11-13 02:02:40 +00:00
foobar
6f398a247d
Fixed incorrect logic. And NSLDAP does not have LDAP_OPT_MATCHED_DN.
2000-11-03 22:53:49 +00:00
foobar
ac7e22d3c4
Fix for bug #7416 . ldap_set|get_option() are also in NSLDAP SDKs.
2000-10-28 19:22:46 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Stig Venaas
5741816315
Corrected prototype comments for ldap_get_option and ldap_set_option
2000-10-22 11:25:47 +00:00
Stig Venaas
094d01148a
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)
2000-10-20 20:22:59 +00:00
Andrei Zmievski
7b4983c8f8
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)
2000-10-20 18:25:16 +00:00
Stig Venaas
2da9a94d38
Added destruction of return value parameter, and using ZVAL_LONG and
...
ZVAL_STRING to set return value in ldap_get_option.
2000-10-18 07:47:51 +00:00
Stig Venaas
ffbd2367e7
Added ldap_get_option() and ldap_set_option() functions
...
@- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
2000-10-17 16:06:04 +00:00
Stig Venaas
0b59e4b821
Removed some redundant convert_to_*_ex() calls. Edited some whitespace.
2000-10-17 15:51:04 +00:00
foobar
d282abf2df
Changed to look also for liblber.so (sometimes there are only shared libs)
...
Fixes bug 6072.
2000-10-15 22:53:43 +00:00
foobar
0f3ef58fa3
No more empty '-l' caused by this extension.
2000-09-22 00:59:16 +00:00
Stig Venaas
6e849e833f
Added detection of Netscape LDAP SDK 4.1
2000-08-31 16:46:33 +00:00
Stig Venaas
6910e92132
removed some NSLDAP #if's giving more detailed error reporting
2000-08-31 16:14:35 +00:00
Stig Venaas
0435c2e306
Makes it work with OpenLDAP 2.0 and reduces number of ifdefs
2000-08-26 16:20:37 +00:00
Daniel Beulshausen
b6f0d041f9
deleted a few unnecceasary defines and added the Release_TS_Inline path to the libpath
2000-08-24 17:48:30 +00:00
Stig Venaas
4d6f3b40a7
Added Oracle LDAP SDK SSL support
2000-08-20 18:47:14 +00:00
Stig Venaas
90eac6a390
Adding Oracle LDAP SDK support
2000-08-19 14:10:11 +00:00
Rui Hirokawa
635532053e
fixed for openldap 2.0beta.
2000-08-07 03:18:00 +00:00
foobar
5356c100ee
- 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.
2000-08-04 17:18:54 +00:00
Rasmus Lerdorf
f896b9a354
Fix library ordering here so static builds will work
2000-08-02 19:49:04 +00:00
foobar
a4a0e18ec4
- 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)
2000-08-02 13:11:46 +00:00
foobar
7c84d6a082
Fixes bug which caused crash, if result_entry wasn't valid.
2000-07-28 22:39:22 +00:00
foobar
9f25b9c1f7
# Oops..where did those creep in? =(
2000-07-28 21:48:16 +00:00
foobar
40b89f34fb
@- 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..?
2000-07-28 21:31:02 +00:00
foobar
c8b8281e22
@- 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().
2000-07-28 00:09:33 +00:00
Egon Schmid
9bb4011d06
Proto fixed.
2000-07-26 11:28:14 +00:00
foobar
123d745249
@- Added new function: ldap_compare(). (Jani)
...
# Documentation is coming right after this.
2000-07-26 11:01:44 +00:00
foobar
e5f6dcb9c2
@- Fixed a bug in ldap_get_entries() and ldap_get_attributes. (Jani)
...
Fixes bugs #5433 and #5603 .
2000-07-25 15:34:28 +00:00
David Croft
83513d9580
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
...
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
foobar
428eb46f78
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.
2000-07-23 21:32:02 +00:00
foobar
01d5aec3aa
Forgot those constants.
2000-07-22 00:34:22 +00:00
foobar
549aec4500
@- 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. =)
2000-07-21 19:00:21 +00:00
Rasmus Lerdorf
c78d180231
Shared module support for LDAP extension
...
@ Shared module support for LDAP extension (Troels Arvin)
2000-07-14 13:13:25 +00:00
Sascha Schumann
16017f6d78
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:46:51 +00:00
Thies C. Arntzen
9eb2c1efb1
@- Fixed a possible crash in the LDAP modify code. (Eric Kilfoil)
2000-06-27 09:28:05 +00:00
Egon Schmid
dd43255b27
More protos.
2000-06-18 19:18:30 +00:00
Stig Venaas
a2bdc522f5
Also need to 0-terminate when adding/modifying an array of values.
2000-06-13 19:50:05 +00:00
Stig Venaas
aa5c0ffcbf
Think have to 0-terminate mod_values strings, got trailing garbage,
...
this fixes bug #5001 I think.
2000-06-13 19:35:56 +00:00
Frank M. Kromann
0d3085944f
making ldap module compile on win32 with new directory structure
2000-06-12 20:33:32 +00:00
Andi Gutmans
2b0a8049db
- Update module project files to include:
...
- HAVE_MODULE=1
- ZEND_WIN32
- PHP_WIN32
- COMPILE_DL_MODULE
- ZTS=1
2000-06-10 09:00:31 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Hartmut Holzgraefe
50b014b957
compile fix regarding bug report #4780
2000-06-05 15:17:25 +00:00
Frank M. Kromann
36c87e18d6
fixing typo
2000-05-25 16:13:19 +00:00
Rasmus Lerdorf
93feb306f8
@ Fix a couple of warnings in the gd and ldap modules
...
num_links is a long there
2000-05-24 08:58:40 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Sascha Schumann
0236982d6d
s/COMPILE_DL/COMPILE_DL_EXTNAME/ for Windows build files.
2000-05-23 09:22:01 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Frank M. Kromann
e297737cb1
Moving output files to common folder
2000-04-23 10:59:20 +00:00
Zeev Suraski
389eca0c1b
Add .txt files to .dsp's
2000-04-20 23:26:06 +00:00
Zeev Suraski
c31f6fbd90
Kill warning
2000-04-19 13:18:01 +00:00
Sterling Hughes
cd3305a2d1
@-Added ldap_get_values_len function from PHP3 to PHP4. (Sterling)
2000-04-07 23:20:22 +00:00
Colin Viebrock
e4409a8556
phpinfo() pretying
...
That should be everything.
2000-04-06 21:17:50 +00:00
Colin Viebrock
5115342c6e
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.
2000-04-06 16:57:33 +00:00
Sterling Hughes
4766abb0e5
@- Added ldap_errno, ldap_err2str and ldap_error from PHP3 to PHP4. (Sterling)
2000-04-06 12:36:47 +00:00
Andi Gutmans
d3dd529c23
- Fix build bug
2000-04-03 22:00:18 +00:00
Zeev Suraski
eefbe904b2
*** empty log message ***
2000-04-01 22:31:20 +00:00
Zeev Suraski
06dab5e7e5
Several fixes
2000-04-01 16:48:08 +00:00
Zeev Suraski
491a315c11
@- Made the IMAP and LDAP modules compilable under Windows and thread-safe (Zeev)
2000-04-01 16:23:39 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Egon Schmid
86c96359f3
More protos.
2000-02-23 15:04:36 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Andi Gutmans
c854703ad6
- PHP_WIN32
2000-02-16 09:33:19 +00:00
Zeev Suraski
3a816341f9
Cleanup patches
2000-02-05 15:16:12 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
0c46c25633
Append liblber to satisfy symbols in libldap
1999-12-30 14:49:17 +00:00
Sascha Schumann
cf5a5fb1dd
Whoops, defining them to empty values generates many parse errors.
...
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Zeev Suraski
e18a883796
More php3_ cleanup
1999-12-18 11:49:31 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
a3c6514332
More php3_ annihilation
1999-12-17 19:51:39 +00:00
Andrei Zmievski
7e4bd9fb60
(PHP strtoupper, strtolower, substr_replace) Made binary-safe.
...
@Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
1999-12-09 23:45:30 +00:00
Sascha Schumann
5b983c944f
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.
1999-12-04 19:19:57 +00:00
Evan Klinger
7bda9c0a2e
Optimize LDAP a little with Ex API
1999-11-22 02:31:32 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Andrei Zmievski
f3127955ba
(PHP ldap_get_entries): Fix string function name.
1999-10-19 14:42:54 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Stefan Roehrich
5bcc067687
Find debian umich-ldap libraries/include files.
1999-09-05 16:28:16 +00:00
Andrey Hristov
01ed90ccef
Fix bug #2025
1999-08-20 13:03:22 +00:00
Zeev Suraski
1701a9e22f
Fix for bug #1980
1999-08-07 16:32:50 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
05585132ca
More symbol work.
1999-08-02 15:02:52 +00:00
Zeev Suraski
a316ff791c
*** empty log message ***
1999-07-16 21:53:17 +00:00
Zeev Suraski
1671424a5f
Get the LDAP module uptodate
1999-07-16 18:01:55 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Sascha Schumann
43a466a076
Introduce AC_ADD_* macros
...
The use of AC_EXPAND_PATH makes it possible to continue
to use relative paths when configuring PHP.
(e.g. --with-apache=../apache-1.3.x works again)
1999-06-20 18:52:46 +00:00
Sascha Schumann
13c3c4012e
fix compile issues in LDAP/XML exts
1999-05-22 16:12:09 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Zeev Suraski
bc415d5a88
* 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.
1999-05-09 08:48:05 +00:00
Rasmus Lerdorf
c4442ed7c5
Ok, this beast compiles via --with-apxs
...
Not sure if it actually works yet though. I have a feeling there are
some -fpic flags missing in the libzend build. Will test later on
today.
1999-04-25 14:10:23 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Zeev Suraski
f53afa6edd
cleanups
1999-04-23 19:50:29 +00:00
Rasmus Lerdorf
cad2318a54
Module work
1999-04-23 03:28:47 +00:00
Stig Bakken
2a78f92804
moved imap and ldap
1999-04-22 00:45:14 +00:00