516 Commits

Author SHA1 Message Date
dbaron%dbaron.org
0653a5fa91 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:35:36 +00:00
kairo%kairo.at
e6ced14fde change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@135834 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:57:47 +00:00
miodrag%netscape.com
25b852aa24 Incorporated fix to printEntryStart() by Jeff.Gay@gfnews.net
git-svn-id: svn://10.0.0.236/trunk@135794 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 22:04:46 +00:00
seawood%netscape.com
f365ac16a3 Hardcode the use of Sun's ld & ranlib since they are the only ones supported.
Bug #181382 r=dmose


git-svn-id: svn://10.0.0.236/trunk@135426 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 21:44:49 +00:00
djani%netscape.com
72066a575b Bug 179133: Now we support cert and key DBs with prefixes in the names also, just like ldapssl_pkcs_init() does. Now all of the code calls NSS_Initialize() instead of NSS_Init().
git-svn-id: svn://10.0.0.236/trunk@134802 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 19:10:17 +00:00
mcs%netscape.com
dd4c8f8139 Fix bug # 177756 - eliminate dependency on libNLS.
If HAVE_LIBNLS is not defined, OS functions (iconv and Win32
	native APIs) are used for character set conversion of command
	line arguments.
Fix bug # 177766 - LDAP tools should reject second -h argument.
	A second -p argument is also rejected.
Fix bug # 159139 - HP/UX: LDAP command line tools do no charset conversion.
	Removed special case makefile rules for convutf8.cpp on HP/UX.


git-svn-id: svn://10.0.0.236/trunk@134797 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 17:21:55 +00:00
mcs%netscape.com
cc5865f4c9 Fix bug # 177771 - libssldap: keyfile password should be optional.
If a NULL keypasswd value is passed to ldapssl_enable_clientauth()
		then it is assumed that the application has already unlocked
		the key DB or has installed its own GetPassword callback.
	Also improved some error reporting.


git-svn-id: svn://10.0.0.236/trunk@134796 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 17:11:20 +00:00
miodrag%netscape.com
c4df1d005f Removed unnecessary code, updated javadoc
git-svn-id: svn://10.0.0.236/trunk@134744 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 01:35:57 +00:00
miodrag%netscape.com
b0070e1509 Removed two trailing ^M
git-svn-id: svn://10.0.0.236/trunk@134741 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 01:04:19 +00:00
miodrag%netscape.com
1e4d37b68e Removed in sdk 4.17
git-svn-id: svn://10.0.0.236/trunk@134658 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 01:19:09 +00:00
miodrag%netscape.com
9547a3050f Minor corrections
git-svn-id: svn://10.0.0.236/trunk@134656 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:43:13 +00:00
miodrag%netscape.com
f33ff5c692 Added JAVA_VERSION variable, .CHECK_VARS target, better support for different java versions
git-svn-id: svn://10.0.0.236/trunk@134655 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:42:35 +00:00
miodrag%netscape.com
fa2abcd100 Updtates for LDAPJDK 4.17
git-svn-id: svn://10.0.0.236/trunk@134654 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:38:20 +00:00
miodrag%netscape.com
a1ee7a06f7 A minor change for javadoc
git-svn-id: svn://10.0.0.236/trunk@134653 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:36:21 +00:00
miodrag%netscape.com
6d40d91740 Added jss32_stub.jar
git-svn-id: svn://10.0.0.236/trunk@134652 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:33:56 +00:00
miodrag%netscape.com
5413a51b98 A fix for jdk1.4 javadoc
git-svn-id: svn://10.0.0.236/trunk@134651 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 00:26:50 +00:00
seawood%netscape.com
ae0f08c6b0 Fix egrep syntax.
git-svn-id: svn://10.0.0.236/trunk@134365 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 09:59:07 +00:00
seawood%netscape.com
f7a5f8eec0 Properly detect OS_ARCH when building on Win32 ME.
Bug #180822 r=dmose,wtc


git-svn-id: svn://10.0.0.236/trunk@134362 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 06:06:12 +00:00
bzbarsky%mit.edu
9a29d832d6 kill off some nsISupportsArray and fix a potential leak. Bug 177400,
r=dmose, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@133939 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 02:35:20 +00:00
mcs%netscape.com
6e31d32214 Fix bug # 177775 - libprldap: NSPR error is sometimes lost.
git-svn-id: svn://10.0.0.236/trunk@133925 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 21:03:19 +00:00
mcs%netscape.com
6107849741 Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero.
git-svn-id: svn://10.0.0.236/trunk@133924 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 21:01:43 +00:00
mcs%netscape.com
62ecca7ba7 Use a name shorter than 32 chars. for the C LDAP API Internet Draft.
git-svn-id: svn://10.0.0.236/trunk@133923 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 20:58:29 +00:00
mcs%netscape.com
2967118f83 Fix bug # 163534 - remove Netscape Confidential and Proprietary marker
from errormap.c.


git-svn-id: svn://10.0.0.236/trunk@133920 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 20:18:50 +00:00
mcs%netscape.com
4a841edc41 Fix bug # 38012 - 64bit issues within CRC-32 code.
Define 32-bit integral types in portable.h (nsldapi_int_32 and
	nsldapi_uint_32) and use them in the memcache crc32_convert()
	function.


git-svn-id: svn://10.0.0.236/trunk@133919 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 20:15:53 +00:00
mcs%netscape.com
777286fdd1 Fix bug # 179951 - libprldap "cross thread" memory leak.
The prldap_tsd_destroy() function (which is called when a
	thread exits) was not freeing the information contained within
	the PRLDAP_ErrorInfo structure. Added prldap_free_errorinfo()
	and a way to determine if that thread-private data looks like
	error information (the plei_magic field). At the moment, only
	one kind of thread-private data is stored anyway (the error
	information).

	The prldap_allocate_map() function, which is called when a new
	LDAP session is created, was blindly setting the thread-private
	error information pointer to NULL. But if a different thread
	created or used an LDAP session than called ldap_unbind(), old
	error information may have been left in memory. Now the error
	info. pointer is reset and reused, which was the original goal.


git-svn-id: svn://10.0.0.236/trunk@133859 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 23:07:27 +00:00
mcs%netscape.com
5d58acb600 Fix bug # 175727 - strict aliasing bugs in LDAP C SDK.
Avoid casts like (void**)&pRes; use temporary local variables
	instead.


git-svn-id: svn://10.0.0.236/trunk@132897 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-02 02:29:37 +00:00
mcs%netscape.com
17b2cd625b Fix bug # 169975 - LDAP memory cache accesses response
list w/o locking mutex.


git-svn-id: svn://10.0.0.236/trunk@132824 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 19:57:09 +00:00
mcs%netscape.com
21a4001728 Fix bug # 166189 - Segmentation fault on invalid filter string.
Check that a sequence of set has been created before using
	it inside ber_put_seqorset().


git-svn-id: svn://10.0.0.236/trunk@132819 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 15:23:29 +00:00
kairo%kairo.at
3e1e257124 Bug 175853, Update localeVersion strings for 1.2 final - and do it correctly, r=jbetak, sr=bzbarsky, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@132698 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 12:41:38 +00:00
leaf%mozilla.org
e19463c6db update localeVersion for 1.2b, a=asa
git-svn-id: svn://10.0.0.236/trunk@132087 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 17:51:38 +00:00
dbaron%fas.harvard.edu
0aaa1704e7 Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@130797 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:18:27 +00:00
peterv%netscape.com
80930addc5 Fix for bug 86000 (convert LDAP XPCOM SDK to use AUTF8String). r=dmose, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@129251 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 11:22:41 +00:00
leaf%mozilla.org
529fb984ee update localeVersion to 1.2a, a=asa
git-svn-id: svn://10.0.0.236/trunk@129019 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 01:01:49 +00:00
dmose%netscape.com
e41e21c745 Fix --enable-ldap-experimental build bustage
git-svn-id: svn://10.0.0.236/trunk@128804 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 04:03:23 +00:00
rjc%netscape.com
68d677c3a3 Fix bug # 164175: XPCom LDAP API extensions. OnLDAPInit() now passes relevant connection, and LDAP operations/connections accept closures. r=dmose sr=darin
git-svn-id: svn://10.0.0.236/trunk@128789 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 01:28:36 +00:00
seawood%netscape.com
23677f1f3e Resolve symbols at link time for OpenBSD.
Bug #145136 r=dmose


git-svn-id: svn://10.0.0.236/trunk@128753 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:43:00 +00:00
andreas.otte%debitel.net
fa69b03848 fix bug 166085 [Assertion constructing about: URIs
[@nsAboutProtocolHandler:122]] This is a regression fix from the fix
for bug 163225. The assertions never made sense and now they are
exposed. r=bzbarsky, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128681 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 22:04:03 +00:00
dmose%netscape.com
80b3bbc5f9 Make --enable-optimize --enable-debug builds easier to debug on linux (bug 157241), r=seawood@netscpae.com, mcs@netscape.com
git-svn-id: svn://10.0.0.236/trunk@127898 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 22:52:44 +00:00
kaie%netscape.com
0b1add5b4a Patch from bug 87902 to fix SSL/TLS logic.
- make TLS intolerant server detection over proxies work
  (this bug 87902)
- on connection failure, only retry without TLS when it is really
  likely to help (bug 149910)
- remove obsolete workarounds in SSL i/o layer
  (see removed comments in patch)
- avoid to confuse programmers reading code,
  by renaming TLSStepUp (which means something else)
  to the correct term STARTTLS (what the code is actually doing).
  (As suggested by nelsonb)
- If an invalid or expired etc. server certificate is presented,
  a warning is shown. If the user decides to cancel,
  network activity should stop immediately.
  (we currently warn multiple times) (bug 87209)

r=javi/darin/ducarroz/dmose sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127298 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 23:43:28 +00:00
seawood%netscape.com
28a70f6839 Fix build problem caused by having spaces in the username.
Bug #137059 r=dmose r=mcs


git-svn-id: svn://10.0.0.236/trunk@126994 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 10:37:25 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
af3c356a44 Misc build cleanup v1:
Cleanup win32 configure output.
Bug #161461 r=bryner


git-svn-id: svn://10.0.0.236/trunk@126804 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 21:45:20 +00:00
leaf%mozilla.org
080c774ee3 bug 154840, r=cls, sr=brendan, a=jesup update localeVersion strings
git-svn-id: svn://10.0.0.236/trunk@125417 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 23:51:49 +00:00
timeless%mac.com
3f5cca095a Bug 140630 LDAP should be in capital letters
patch by neil@parkwaycc.co.uk r=dmose sr=bienvenu a=asa


git-svn-id: svn://10.0.0.236/trunk@125385 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 13:19:16 +00:00
dmose%netscape.com
87d338aa27 Fix OSF/1 build bustage (bug 144280). Patch from shanmu@netscape.com; r=dmose@netscape.com, sr=bienvenu@netscape.com, a=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@125102 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 19:29:52 +00:00
mcs%netscape.com
7ef88eeb85 Do not try to package LDAP command line tools if they were
not built (that is, if BUILDCLU != 1).


git-svn-id: svn://10.0.0.236/trunk@124302 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 20:43:47 +00:00
mcs%netscape.com
b7046746c2 Fix bug # 153250 - need a way to set SSL options when using libssldap.
Added two new libssldap public functions: ldapssl_set_option() and
		ldapssl_get_option().
	Also fixed a bug in ldapsinit:do_ldapssl_connect() that sometimes
		caused PR_Close() to be called twice on an SSL file descriptor
		if an error occurred (once in do_ldapssl_connect() itself and
		once in the libprldap close function that is called from
		do_ldapssl_connect()).
	Also updated the NSPR and NSS "error code to string" mapping
		tables that are used by ldapssl_err2string().
	Also fixed a bug in common.c:ldaptool_print_lderror (LDAP command
		line tools) where we did not check for SSL errors when the
		error code was "can't connect."  We were only checking on
		"server down" errors.


git-svn-id: svn://10.0.0.236/trunk@124204 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 19:26:38 +00:00
mcs%netscape.com
b451b16592 Fix bug # 152852 - referrals: port 0 used by default instead of port 389.
git-svn-id: svn://10.0.0.236/trunk@123805 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 20:14:02 +00:00
dmose%netscape.com
e22bbce0e2 support for binary attribute values in LDAP XPCOM SDK (bug 119380). r=peterv@netscape.com, sr=sspitzer@netscape.com/mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123276 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 00:38:18 +00:00
dmose%netscape.com
6ef6e0913f NetBSD build-system fix (bug 135027); r=seawood@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123253 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 22:02:08 +00:00