Граф коммитов

757 Коммитов

Автор SHA1 Сообщение Дата
richm%stanfordalumni.org 17b2287ad1 fix sasl include path lookup - look in withval/include/sasl first 2006-10-11 16:02:30 +00:00
anton.bobrov%sun.com 8ad3cf137e Bug 355244 merging Sun and Mozilla libssldap 2006-10-10 13:37:35 +00:00
nkinder%redhat.com 8636e64a1d 355742 - Changed search order for sasl.h to simplify build 2006-10-06 17:50:26 +00:00
richm%stanfordalumni.org 4ee8351dd9 checked in test script instead of real one 2006-10-06 02:59:48 +00:00
richm%stanfordalumni.org 9aeab77af2 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.
2006-10-05 23:01:43 +00:00
richm%stanfordalumni.org 0e23384a97 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.
2006-10-04 14:46:28 +00:00
richm%stanfordalumni.org 81f1fc89a6 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.
2006-10-04 14:37:27 +00:00
richm%stanfordalumni.org 92237a41a2 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.
2006-10-03 20:43:42 +00:00
timeless%mozdev.org 97d86b0df2 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
richm%stanfordalumni.org 89e8b56566 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.
2006-08-17 19:21:03 +00:00
richm%stanfordalumni.org 455cbd4726 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.
2006-08-04 14:05:38 +00:00
richm%stanfordalumni.org 0ae98e7580 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.
2006-08-02 22:42:54 +00:00
richm%stanfordalumni.org 11d782106e 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.
2006-08-02 22:40:59 +00:00
richm%stanfordalumni.org e845180674 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).
2006-08-02 20:05:36 +00:00
richm%stanfordalumni.org 8149a17c79 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.
2006-08-02 20:00:42 +00:00
richm%stanfordalumni.org fc0743f18b 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.
2006-08-01 16:40:31 +00:00
richm%stanfordalumni.org cae248916d 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.
2006-08-01 15:47:14 +00:00
richm%stanfordalumni.org a94a5ac040 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.
2006-08-01 14:57:38 +00:00
leon.sha%sun.com f8227ca93e Bugzilla Bug 340509 Build broken with --enable-ldap-experimental.
Patch by alfred.peng@sun.com.
darin: review+
dmose: superreview+
2006-07-11 03:38:16 +00:00
richm%stanfordalumni.org 894b8ab958 new - helps build RPM packages 2006-06-22 22:11:46 +00:00
richm%stanfordalumni.org 07ee057ce2 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2006-05-19 20:44:56 +00:00
richm%stanfordalumni.org 3114877284 Initial import of the Sun C SDK back into mozilla 2006-05-19 20:44:56 +00:00
richm%stanfordalumni.org 9a7bcec84f This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2006-05-19 20:37:06 +00:00
richm%stanfordalumni.org 0394ada6f6 Initial import of the Sun C SDK back into mozilla 2006-05-19 20:37:06 +00:00
richm%stanfordalumni.org ff9384d16f remove from head 2006-05-19 20:27:03 +00:00
richm%stanfordalumni.org b581ec67bf Initial import of the Sun C SDK back into mozilla 2006-05-19 20:17:49 +00:00
richm%stanfordalumni.org 802d84bb7f This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2006-05-19 20:17:49 +00:00
cls%seawood.org 72a2b98461 Properly quote m4 macro definitions.
Thanks to Patrick Welche <pw-fb@newn.cam.ac.uk> for the patch.
Bug #298457 r=cls
2006-05-16 05:39:16 +00:00
mcs%pearlcrescent.com b013bb7119 Port to Linux (no /usr/ucb/echo). 2006-05-11 17:09:47 +00:00
mcs%pearlcrescent.com 4e31124271 Added -d option (include empty directories) 2006-05-11 17:07:41 +00:00
richm%stanfordalumni.org 72e7ca44c6 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
2006-05-11 14:51:02 +00:00
richm%stanfordalumni.org 4b43831530 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.
2006-05-11 14:48:34 +00:00
richm%stanfordalumni.org 78f3c060b2 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
2006-05-11 14:40:48 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
bugzilla%standard8.demon.co.uk ab27413ce3 Bug 336110 Missing out-of-memory check at directory/xpcom/base/src/nsLDAPConnection.cpp:1002. r/sr=dmose 2006-05-03 16:16:09 +00:00
bugzilla%standard8.demon.co.uk a48bde01fe Bug 332400 Correct misuse of ifdefs in the source tree (in directory/base/resources) r/sr=dmose 2006-04-23 09:12:40 +00:00
richm%stanfordalumni.org 91c3892247 fix for bug 330255 - sasl bind does not respect LDAP_OPT_RECONNECT option
add some more invalid parameter checking to the ldap bind routines
When reconnecting, do not use the previous binddn and password
2006-04-20 02:16:25 +00:00
richm%stanfordalumni.org f8ca9aa8da only link with svrcore if HAVE_SVRCORE is set 2006-04-19 03:03:54 +00:00
richm%stanfordalumni.org be553dd4b4 generate configure using autoconf-2.13 2006-04-18 18:33:23 +00:00
benjamin%smedbergs.us 70a0f2207b Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
richm%stanfordalumni.org 497a8e9380 Fix for bug 333406
I had made a change to make 64 bit builds the default on those platforms that
support 64 bit binaries.  However, the expected behavior for other mozilla
components is that you have to explicitly use --enable-64bit to make a 64
bit binary, and default to 32 bit binaries.  So, I made mozldap work like the
other components.
2006-04-11 21:12:58 +00:00
jag%tty.nl 396ca5826b Attempt to fix btek and -Ports bustage 2006-03-15 06:17:19 +00:00
bryner%brianryner.com 4cd1e2b280 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
richm%stanfordalumni.org 52c84b8950 bug 327864
LDAP C-SDK support for Mac cross builds
Add a new configure option --with-macos-sdk=dir
2006-02-22 18:59:31 +00:00
richm%stanfordalumni.org 2ac0bc97b4 On HP-UX, we should not link against the libraries we depend on at runtime because it puts explicit version dependencies into the shared library we are creating. This makes it impossible to upgrade to a new version of nspr or nss. 2006-02-16 23:08:22 +00:00
richm%stanfordalumni.org 2d07e6a635 use = for sh string tests, not == 2006-02-15 00:33:08 +00:00
richm%stanfordalumni.org f6510f68a6 use SVRCORE_LIBS instead of SVRCORE_LIB_PATH 2006-02-14 21:51:42 +00:00
richm%stanfordalumni.org adb14be478 Use SVRCORE_LIBS not SVRCORE_LIB_PATH 2006-02-14 21:49:10 +00:00
richm%stanfordalumni.org a354d34779 spec file for redhat and fedora core - based on the spec file for perl-ldap 2006-02-13 18:41:34 +00:00
richm%stanfordalumni.org 47ca684014 bug 292793
Allow build on Mac OSX
1) There is no RPATH on Darwin, so undefine the RPATH macros before linking
2) Have to use g++ to link
3) The iconv functions are in libiconv
2006-02-10 23:14:00 +00:00