Commit Graph

765 Commits

Author SHA1 Message Date
anton.bobrov%sun.com
d930f3fb30 Bug 367289: rev 1 of the patch
git-svn-id: svn://10.0.0.236/trunk@219040 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 08:49:53 +00:00
richm%stanfordalumni.org
338520afad Resolves: bug 228704
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
2007-01-24 20:53:02 +00:00
anton.bobrov%sun.com
273855b39c oneliner: use COMPONENT_FTP_SERVER var instead of redundant ftp-rel name.
git-svn-id: svn://10.0.0.236/trunk@218801 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 10:40:07 +00:00
anton.bobrov%sun.com
97cf77a912 Removal of suncsdk module as requested by Gervase Markham <gerv@mozilla.org>
git-svn-id: svn://10.0.0.236/trunk@218540 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 20:58:54 +00:00
richm%stanfordalumni.org
501325e04b Resolves: bug 366335
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
2007-01-15 21:21:50 +00:00
richm%stanfordalumni.org
4d238ec77d Resolves: bug 366335
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
2007-01-15 03:38:38 +00:00
anton.bobrov%sun.com
f196e0bdb8 Bug 364812 merging Sun and Mozilla ldap tools
git-svn-id: svn://10.0.0.236/trunk@218121 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 15:54:50 +00:00
anton.bobrov%sun.com
6c5bc836d2 Bug 362619 merging Sun and Mozilla libldap: merging common srcs.
git-svn-id: svn://10.0.0.236/trunk@218112 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 12:52:33 +00:00
richm%stanfordalumni.org
a403a63bac Bump rev to 2
- Remove buildroot = "/" checking
- Remove buildroot removal from %%build section


git-svn-id: svn://10.0.0.236/trunk@218083 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 21:32:25 +00:00
richm%stanfordalumni.org
3ef8d02b46 Resolves: bug 366335
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
2007-01-09 18:43:03 +00:00
richm%stanfordalumni.org
474babe745 svrcore was still using the -e test which is broken with test on traditional unix bourne shell systems
git-svn-id: svn://10.0.0.236/trunk@217129 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 17:01:07 +00:00
mozilla%weilbacher.org
c6bdce8b5b Bug 351246 (Part 4). Recreated configure was still missing
git-svn-id: svn://10.0.0.236/trunk@217025 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 19:00:57 +00:00
mozilla%weilbacher.org
d9604b2cd3 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 4, changes to LDAP build config (LDAP trunk version). r=mkaply, r=mcs
git-svn-id: svn://10.0.0.236/trunk@216963 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 22:12:16 +00:00
gerv%gerv.net
a54c420f30 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@216839 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:45:41 +00:00
anton.bobrov%sun.com
f10c871ff7 fix previous commit
git-svn-id: svn://10.0.0.236/trunk@216353 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 02:43:16 +00:00
anton.bobrov%sun.com
968e6d4f82 Bug 357668: merging Sun and Mozilla libldap: bring new srcs unique to Sun branch
git-svn-id: svn://10.0.0.236/trunk@215197 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 13:52:52 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
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
2006-11-10 23:49:08 +00:00
richm%stanfordalumni.org
6d79209ce9 fix sasl include path lookup - look in withval/include/sasl first
git-svn-id: svn://10.0.0.236/trunk@213499 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-11 16:02:30 +00:00
anton.bobrov%sun.com
1e79648fe9 Bug 355244 merging Sun and Mozilla libssldap
git-svn-id: svn://10.0.0.236/trunk@213412 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 13:37:35 +00:00
nkinder%redhat.com
32aae9c8d1 355742 - Changed search order for sasl.h to simplify build
git-svn-id: svn://10.0.0.236/trunk@213245 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-06 17:50:26 +00:00
richm%stanfordalumni.org
e714c79ec7 checked in test script instead of real one
git-svn-id: svn://10.0.0.236/trunk@213210 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-06 02:59:48 +00:00
richm%stanfordalumni.org
ab5a45df72 Bug: 355434
Description: Change LDAP C SDK version to 6
Fix Description: Change the version to major 6, minor 0, and submin/patch 0.  The change is in various places in the build makefiles and header files.  The shared lib suffix is now 60 (from 50).
In a somewhat unrelated change, the configure script had to change to allow
building with the RPM spec %configure macro on rhel/fedora.  That macro
defines --host, --build, and --target, and defines --host different than
--target.  This caused configure to think it was doing a cross compilation.
Instead, the correct cross compilation trigger is if --host is specified and
it is different than --build.  However, the mozilla builds expect to be able
to pass in --host different than --target, so all of these different
combinations had to be accomodated.


git-svn-id: svn://10.0.0.236/trunk@213188 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 23:01:43 +00:00
richm%stanfordalumni.org
89d2474d19 Bug: 348366
Description: ber_printf support for O format
Fix Description: When calling ber_printf with the 'O' format, the corresponding argument must be a struct berval *.  If the bval argument is NULL, nothing is written (i.e. it is safe to use a NULL here).  Otherwise, bval->bv_len bytes from bval->bv_val will be written to the output.


git-svn-id: svn://10.0.0.236/trunk@213109 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 14:46:28 +00:00
richm%stanfordalumni.org
5490d18a0f Bug: 339298
Description: Merge sun libprldap changes on to trunk
Fix Description: Pretty much the same as the fixes made for bugs 352519 352673 on the sun_merge_branch_20060523, this just merges those changes on to the trunk.  One additional change is the removal of an unused variable.


git-svn-id: svn://10.0.0.236/trunk@213108 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 14:37:27 +00:00
richm%stanfordalumni.org
0cc7de0f1b Bug: 339298
Description: Merge sun_merge_branch_20060523 changes into trunk.
Fix Description: I had to change re_encode_request to use the new ber types.  Other than that, these merges are basically the sasl, ipv6, and ber types code already committed to the sun merge branch.


git-svn-id: svn://10.0.0.236/trunk@213085 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 20:43:42 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
richm%stanfordalumni.org
f1ced83b02 Bug: 348926
Description: Memleak: ldap_start_tls_s should free oidptr and dataptr
Fix Description: Just omit oidptr and dataptr and pass NULL for those arguments to ldap_extended_operation_s().
Bug: 348927
Description: Memleak: ldaptls_complete should free hostlist
Fix Description: Instead of returning directly from early error conditions, just goto the error handling code, and let that code free hostlist and do the other cleanup.  I had to make sure all relevant variables were initialized to NULL in order for cleanup to work properly.


git-svn-id: svn://10.0.0.236/trunk@207762 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-17 19:21:03 +00:00
richm%stanfordalumni.org
8b7e2cbc94 Bug: 347033
Description: The client must call ldapssl_enable_clientauth before the first operation.  This means before ldap_start_tls_s in the case of startTLS.  However, the certname and keypassword (if any) are stored in the connection context.  ldapssl_enable_clientauth will now allocate and store this connection context if it doesn't already exist, then set the certname and keypassword.


git-svn-id: svn://10.0.0.236/trunk@206564 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-04 14:05:38 +00:00
richm%stanfordalumni.org
d622763f1f Bug: 332159
Fix Description: Free lfdp->lfd_curval - it is now allocated in ldap_getfirstfilter() as a copy of the value passed in to that function.


git-svn-id: svn://10.0.0.236/trunk@206450 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 22:42:54 +00:00
richm%stanfordalumni.org
92057dd7f3 Bug: 332159
Fix Description: Make a copy of the value parameter passed into ldap_getfirstfilter() and store it in lfd_curval.  Free it in the LDAPFiltDesc free function.


git-svn-id: svn://10.0.0.236/trunk@206449 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 22:40:59 +00:00
richm%stanfordalumni.org
2641304d83 Bug: 347033
Fix Description: Using the -Z flag sets the secure option, but using -ZZ (use starttls) does not.  The code in several places uses a test like if (secure || isZZ) to see if it has to perform some sort of ssl/tls related initialization.  The one place that was missed was before the call to PinArgRegistration() which was just if (secure).


git-svn-id: svn://10.0.0.236/trunk@206433 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 20:05:36 +00:00
richm%stanfordalumni.org
86c3ab791d Bug: 201483
Fix Description: Replaced PK11_FindCertFromNickname() with CERT_FindUserCertByUsage(), using a cert usage of SSL Client.  This should only find certs that are used for SSL Clients, which is the type of cert we want in this context (as opposed to e.g. an email signing cert).  The LDAPSSLSessionInfo* ssip is passed now as the context argument.  Moved calling PK11_SetPasswordFunc before CERT_FindUserCertByUsage() in case CERT_FindUserCertByUsage() needs it for some reason.


git-svn-id: svn://10.0.0.236/trunk@206431 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-02 20:00:42 +00:00
richm%stanfordalumni.org
e312a4ce0e Bug: 300482
Fix Description: First look for a return of < 0 from ldap_count_entries, and return LDAP_PARAM_ERROR in that case (in both keysort and multisort).  Then, if count < 2, there is nothing to sort, so just return 0.


git-svn-id: svn://10.0.0.236/trunk@206302 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 16:40:31 +00:00
richm%stanfordalumni.org
4a87d9f163 Bug: 346575
Fix Description: The default now is to not use RPATH when building shared libraries and executables.  The configure flag --with-rpath[=dir] has been added.  The dir is optional, and a default will be used if not given.


git-svn-id: svn://10.0.0.236/trunk@206297 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 15:47:14 +00:00
richm%stanfordalumni.org
3a9319ad06 Bug: 323064
Fix Description: If there is a scope given in the reference/referral URL, use it.  Otherwise, if the URL is for a search reference (continuation reference) result, comply with RFC4511 section 4.5.3 concerning scope.  Otherwise, parse the scope from the original request and just use it.
Note that this fix does not address support for filters in referrals/references.  Support for filters will require a great deal more changes.  The current version of openldap (2.3.x) does not support filters, so this fix at least brings us up to par with openldap with respect to this feature.


git-svn-id: svn://10.0.0.236/trunk@206293 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 14:57:38 +00:00
leon.sha%sun.com
2fab8db857 Bugzilla Bug 340509 Build broken with --enable-ldap-experimental.
Patch by alfred.peng@sun.com.
darin: review+
dmose: superreview+


git-svn-id: svn://10.0.0.236/trunk@201863 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-11 03:38:16 +00:00
richm%stanfordalumni.org
cd52b4f19c new - helps build RPM packages
git-svn-id: svn://10.0.0.236/trunk@200633 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-22 22:11:46 +00:00
richm%stanfordalumni.org
1b0416113c This commit was generated by cvs2svn to compensate for changes in r198039,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://10.0.0.236/trunk@198040 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 20:44:56 +00:00
richm%stanfordalumni.org
e6562330fc This commit was generated by cvs2svn to compensate for changes in r198037,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://10.0.0.236/trunk@198038 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 20:37:06 +00:00
richm%stanfordalumni.org
aaee4915e5 remove from head
git-svn-id: svn://10.0.0.236/trunk@198032 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 20:27:03 +00:00
richm%stanfordalumni.org
6fc3f0f4ca This commit was generated by cvs2svn to compensate for changes in r198030,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://10.0.0.236/trunk@198031 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 20:17:49 +00:00
cls%seawood.org
51c5b03349 Properly quote m4 macro definitions.
Thanks to Patrick Welche <pw-fb@newn.cam.ac.uk> for the patch.
Bug #298457 r=cls


git-svn-id: svn://10.0.0.236/trunk@196647 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 05:39:16 +00:00
mcs%pearlcrescent.com
efbaff6071 Port to Linux (no /usr/ucb/echo).
git-svn-id: svn://10.0.0.236/trunk@196317 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 17:09:47 +00:00
mcs%pearlcrescent.com
bea0cfc4a8 Added -d option (include empty directories)
git-svn-id: svn://10.0.0.236/trunk@196316 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 17:07:41 +00:00
richm%stanfordalumni.org
ffb6debb00 Bug: 334561
Description: Clean up spec file for RPM build
Fix Description: Make the spec files use the conventions used by the Fedora/Red Hat packaging system


git-svn-id: svn://10.0.0.236/trunk@196306 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 14:51:02 +00:00
richm%stanfordalumni.org
c3096c05af Bug: 334763
Description: Fix build to allow building command line tools without svrcore
Fix Description: Should allow the command line tools to be built without svrcore.  Also fixed the problem with system svrcore.


git-svn-id: svn://10.0.0.236/trunk@196305 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 14:48:34 +00:00
richm%stanfordalumni.org
b15f94d158 Bug: 337210
Description: ber_scanf sometimes gives incorrect return code on 64-bit
Fix: ber_get_boolean needs to get the return value of ber_get_int as an unsigned long and return that unsigned long value


git-svn-id: svn://10.0.0.236/trunk@196304 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 14:40:48 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
bugzilla%standard8.demon.co.uk
4538eaed57 Bug 336110 Missing out-of-memory check at directory/xpcom/base/src/nsLDAPConnection.cpp:1002. r/sr=dmose
git-svn-id: svn://10.0.0.236/trunk@195902 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 16:16:09 +00:00
bugzilla%standard8.demon.co.uk
32d777fe73 Bug 332400 Correct misuse of ifdefs in the source tree (in directory/base/resources) r/sr=dmose
git-svn-id: svn://10.0.0.236/trunk@195194 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 09:12:40 +00:00