Description: Windows SDK package needed
Fix Description: 1) Update the packaging Makefile (package.mk) for Windows and SASL.
2) Add support for manifests in VC 8.0. There is a new command line tool
called mt.exe that is used to generate manifest files and to compile them into
the executables. This allows ldapsearch.exe to be able to find the right
msvcr80.dll at runtime. This was copied from NSS at Nelson's suggestion.
3) Added support for being able to do a configure and make in a different
directory. I find it very useful to be able to create a "build" directory and
run configure like this:
cd ~/build
/path/to/mozilla/directory/c-sdk/configure ... args ...
make
Then I can just completely blow away the build directory if I need to. I know
this is what make clean/make clobber are supposed to do, but keeping the binary
and source directories separate like this also facilitates creating source
tarballs from the working directory for use in building rpms/packages.
There were a few changes required to cygwin_wrapper and the makefiles to
support building in this manner.
git-svn-id: svn://10.0.0.236/trunk@228387 18797224-902f-48f8-a5cc-f745e15eee43
Fix Description:
The patch was originally written for SDK 5.17. In recent SDKs we should
use ber_tag_t or ber_len_t in place of unsigned longs.
git-svn-id: svn://10.0.0.236/trunk@228342 18797224-902f-48f8-a5cc-f745e15eee43
Description: server response controls lost in referral chase
Fix Description:
1) Add a nsldapi_find_controls() which skips through a ber to find a control
tag, and then calls on nsldapi_get_controls() to extract them.
2) During referral chase, stash the controls received at the end of the chase
in the request structure.
3) When the referral chase is over and we manufacture a response, add the
stashed response controls.
git-svn-id: svn://10.0.0.236/trunk@228331 18797224-902f-48f8-a5cc-f745e15eee43
Summary: Re-implemented a bugfix in the FIRSTKEY subroutine. This fix was re-implmented to allow us to relicense PerLDAP. The re-implementation work was done by nhosoi%redhat.com.
git-svn-id: svn://10.0.0.236/trunk@228007 18797224-902f-48f8-a5cc-f745e15eee43
Description: OpenBSD: ld libldap50.a error
Fix Description: Use the c compiler (gcc) to link. Always use the -fPIC -shared flags for linking, no matter what the chip arch is.
git-svn-id: svn://10.0.0.236/trunk@227723 18797224-902f-48f8-a5cc-f745e15eee43
Summary: Fixed a memory leak of the SASL I/O socket arg when closing a connection.
git-svn-id: svn://10.0.0.236/trunk@227490 18797224-902f-48f8-a5cc-f745e15eee43
Summary: Bumped up version number to 4.18 in addition to fixing the clean build targets.
git-svn-id: svn://10.0.0.236/trunk@226547 18797224-902f-48f8-a5cc-f745e15eee43
Summary: Fixed javadoc comments that were causing warnings at build time.
git-svn-id: svn://10.0.0.236/trunk@226263 18797224-902f-48f8-a5cc-f745e15eee43
Author: sparkins@redhat.com
Summary: Re-implemented bug-fix to add a new constructor for the JSSESocketFactory class that allows an explicit socket factory to be passed in. This bug-fix was reimplemented in order to re-license the LDAP JDK under the standard Mozilla tri-license.
git-svn-id: svn://10.0.0.236/trunk@222152 18797224-902f-48f8-a5cc-f745e15eee43
Author: sparkins@redhat.com
Summary: Re-implemented two bug fixes in the LDIFWriter class in order to allow us to relicense the LDAP JDK under the standard Mozilla tri-license. The first bug had to do with the printEntryStart() method of the LDIFWriter class does not handling non-printable DN's properly. The second bug had to do with only the first value of a multi-valued attribute being written out in LDIF format.
git-svn-id: svn://10.0.0.236/trunk@222151 18797224-902f-48f8-a5cc-f745e15eee43
Author: sparkins@redhat.com
Summary: Re-implemented two bug fixes in the LDIFWriter class in order to allow us to relicense the LDAP JDK under the standard Mozilla tri-license. The first bug had to do with the printEntryStart() method of the LDIFWriter class does not handling non-printable DN's properly. The second bug had to do with only the first value of a multi-valued attribute being written out in LDIF format.
git-svn-id: svn://10.0.0.236/trunk@222047 18797224-902f-48f8-a5cc-f745e15eee43
Author: sparkins@redhat.com
Summary: Re-implemented bug-fix to add a new constructor for the JSSESocketFactory class that allows an explicit socket factory to be passed in. This bug-fix was reimplemented in order to re-license the LDAP JDK under the standard Mozilla tri-license.
git-svn-id: svn://10.0.0.236/trunk@222046 18797224-902f-48f8-a5cc-f745e15eee43
Description: nsldif32.tdf is the template file; nsldif32.def is a derived file in the autotool build. It needs to be in CVS not to break the old style build.
git-svn-id: svn://10.0.0.236/trunk@221486 18797224-902f-48f8-a5cc-f745e15eee43
Description: Windows: libldap and the LDAP tools should support SASL/Digest
Fix Description: The biggest change was to hack sasl.m4 to make AC_CHECK_LIB work on Windows. I
had to override LIBS to be able to pass in /link /LIBPATH:c:/path/to/sasl
libsasl.lib, libsasl2.lib, and sasl32.lib.
Another big change was to implement getlogin() on Windows, required by
ldaptool-sasl.c. The implementation is pretty simple.
There were several places in the Makefiles that assumed Windows meant no
support for SASL, so I just changed them, and added some support for SASL_LIBS
in some places where it was missing.
git-svn-id: svn://10.0.0.236/trunk@218853 18797224-902f-48f8-a5cc-f745e15eee43
Description: Make libldif public - windows specific fixes
Fix Description: Windows needed a nsldif32.tdf file in order to generate
the nsldif32.def file using the libldif.ex file (committed in the previous
commit).
Also, it has been a while since the .def files were generated. The libX.ex
files have had quite a few changes, and we needed to regenerate all of the
.def files.
Finally, this will be version 6.0.2 of the mozilla ldap c sdk.
git-svn-id: svn://10.0.0.236/trunk@218392 18797224-902f-48f8-a5cc-f745e15eee43
Description: Make libldif public - fix Solaris build
Fix Description: libldif
needs to specify the exports. I added a libldif.ex and fixed
libldif/Makefile.in to correctly generate and use the exports listed in the
file.
git-svn-id: svn://10.0.0.236/trunk@218377 18797224-902f-48f8-a5cc-f745e15eee43
Description: Make libldif public
Fix Description: Copy/paste the makefile code to build the shared library in addition to the static library from libldap/Makefile.in. The build will now build both libldif60.so and libldif60.a, and package/distribute both of them. I changed include/Makefile.in to export ldif.h with the other public header files, and changed ldif.h to add a blurb explaining that these interfaces were formerly private and use with caution.
Since this is a non trivial change, I bumped the version number to 6.0.1.
git-svn-id: svn://10.0.0.236/trunk@218063 18797224-902f-48f8-a5cc-f745e15eee43
treat them via their protocol flags. Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin
git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43