Commit Graph

108 Commits

Author SHA1 Message Date
mcs%netscape.com
b7719ef988 Additional fix for 221694 - ber_get_next_buffer_ext() fails when
length or tag is split across buffers.
Improve backwards compatibility by setting *Bytes_Scanned to zero
when errors occur; use errno to report specific errors.
2003-10-23 19:35:02 +00:00
mcs%netscape.com
bbdae685e4 Additional "bulletproofing" for bug # 221694 - ber_get_next_buffer_ext()
fails when length or tag is split across buffers.
2003-10-21 19:12:55 +00:00
mcs%netscape.com
cdd10143f2 Additional fix for bug # 205419 - Relicense LDAP C SDK (directory/c-sdk).
Replace NPL/GPL/LGPL licenses with MPL/GPL/LGPL.
2003-10-15 17:26:10 +00:00
mcs%netscape.com
42ae2323af Fix bug # 221694 - ber_get_next_buffer_ext() fails when length or tag
is split across buffers.
2003-10-15 14:32:10 +00:00
mcs%netscape.com
3cc7522593 Improve the PRLDAP_OPT_IO_MAX_TIMEOUT related comment. 2003-10-15 13:19:01 +00:00
mcs%netscape.com
ffa0613f0b Fix bug # 205419 - Relicense LDAP C SDK (directory/c-sdk).
Replace existing licenses with a triple license (NPL/GPL/LGPL or
    MPL/GPL/LGPL).
  Add licenses to files that had no license.
  Remove two unused files.
2003-10-10 15:03:52 +00:00
seawood%netscape.com
d81dda218a Bug 217502 - Use sane libpath in LDAP libraries.
r=MarkCSmithWork@aol.com, a=asa@mozilla.org
2003-10-07 22:01:12 +00:00
mcs%netscape.com
2aa4fa531d Fix bug # 140182 - async I/O improvements.
A queue of pending outbound requests is kept. UnBind requests are NOT
   queued however.
  Abandon requests are not sent if a request is not outstanding.
  Cleaned up the code in result.c to avoid use of magic return values
	such as -1 and -2.  Also removed some dead code and dead files.
ltest (test.c) now supports SSL and async I/O options.
2003-10-01 17:19:11 +00:00
mcs%netscape.com
ad34599811 Fix bug # 206777 - obsolete entries in
mozilla/directory/c-sdk/ldap/build/.cvsignore
2003-10-01 15:02:23 +00:00
mcs%netscape.com
b686184875 Fix bug # 206776 - remove obsolete files under
mozilla/directory/c-sdk/ldap/libraries/msdos/winsock
2003-10-01 14:58:35 +00:00
mcs%netscape.com
9d16ef6800 Put back the contributed change that we previously did not
have permission to relicense; we now have permission.
2003-09-25 20:01:54 +00:00
mcs%netscape.com
56af49dcc1 NPL 1.1/GPL 2.0/LGPL 2.1 triple license. 2003-09-25 16:38:52 +00:00
mcs%netscape.com
c10139c9e4 Back out contributed change that we do not have permission to relicense. 2003-09-25 15:48:59 +00:00
seawood%netscape.com
47bee53cec When calling windres, use a temp file to work around resource issues.
Bug #213281 r=wtc
2003-09-15 03:48:56 +00:00
mcs%netscape.com
20ff0afa50 Follow up fix for 200528 - ldap/include/portable.h is confused
about Solaris: older Linux versions do not have in_addr_t, so
don't assume they do.
2003-08-27 21:02:31 +00:00
mcs%netscape.com
3a866a9f2e Fix 200528 - ldap/include/portable.h is confused about Solaris.
Avoid using sunos5 (not defined).
    Removed definitions of these macros that are not used anwhere:
		HAVE_GETPWNAM_R, HAVE_GETGRNAM_R, SIG_FN, WAIT_FLAGS.
2003-08-27 14:10:02 +00:00
mcs%netscape.com
8b1fe279b4 Fix 200361 - LDAP tools should accept -i UTF-8 and -i utf8 on all platforms.
Also, on Windows the -i option was previously ignored; now the following
  values are accepted: windows-1252, ANSI, utf-8, utf8 (2 charsets in total).
2003-08-27 13:35:21 +00:00
seawood%netscape.com
371df59242 Change mksnt* checks to mks*
Bug #202598 r=wtc
2003-04-19 01:47:57 +00:00
seawood%netscape.com
a3cf299860 Add -s to default optimization flags for os2gcc builds.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #201555 r=cls
2003-04-18 19:27:09 +00:00
seawood%netscape.com
33b5cab746 Sync config.guess & config.sub with official GNU copies.
Bug #199343
2003-04-18 19:20:22 +00:00
seawood%netscape.com
0086cfc314 Fix x86 checks so that they work for xeon processors
Bug #199343 r=wtc
2003-04-18 19:18:12 +00:00
mcs%netscape.com
45186e0c0f Partial fix for 148272 - flawfinder warnings in directory.
Fix most critical warnings in the core LDAP library code:
    AIX has snprintf() so we now #define HAVE_SNPRINTF there.
    Use snprintf() instead of sprintf() in ldap_perror().
    Use snprintf() instead of sprintf() in ldap_init_getfilter_buf()
     and improve error reporting for bad regular expressions.
2003-04-01 21:04:23 +00:00
djani%netscape.com
1961022e76 Bug 198218: added usage for -g 2003-04-01 18:12:49 +00:00
mcs%netscape.com
142c4d2d3e Fix 190539 - Speed optimizations for OS/2.
Changes merged from ldapcsdk_50_client_branch.
2003-04-01 18:11:26 +00:00
mcs%netscape.com
18a4d8c423 Fix 199353 - ldapsearch contains recurring memory leaks.
Free the entry controls (ectrls) array inside print_entry().
2003-04-01 17:55:45 +00:00
mcs%netscape.com
db2b44014d Fix bug # 200007 - add option to flush ldapsearch output after each entry.
The new option is:
    -r flush output after each entry is printed (useful with -C)
2003-04-01 17:04:41 +00:00
mcs%netscape.com
908b4bf2b6 Fix bug # 174912 - Sporadically missing entries during referral.
Don't treat a request as complete if its LDAP result message
  has not yet been received. Previously, nested referrals and
  references could cause requests to be prematurely terminated.
2003-04-01 15:17:11 +00:00
djani%netscape.com
c0796c36da Bug 198218: Now, the ldap clients send the password policy request control by default at the 'bind' level. To suppress it, use -g option. Also, the clients can parse the password policy response control. 2003-04-01 01:37:54 +00:00
mcs%netscape.com
e0825a3cd6 Fix 175900 - read overrun in ldap resolve code.
Note: this fixes code we do not compile right now.
2003-03-24 21:12:03 +00:00
mcs%netscape.com
1ccb573c31 Follow up fix for 126462 - Occurences of uninitialized variables being
used before being set (in directory/c-sdk).
	Fix debug build.
2003-03-24 20:44:58 +00:00
mcs%netscape.com
dc8c708120 Fix 144241 - possible C SDK leak or delayed free().
Note: unconfirmed fix; I do not have a test program for this bug.
2003-03-24 20:05:24 +00:00
mcs%netscape.com
d723de9a69 Fix 126462 - Occurences of uninitialized variables being used
before being set (in directory/c-sdk).
2003-03-24 19:59:05 +00:00
mcs%netscape.com
ad0d529f85 Fix 198972 - LDAP tools do not build on AIX.
Link with iconv library on AIX.
2003-03-24 19:49:11 +00:00
dmose%mozilla.org
9c5c964adf Don't use strcmp() just to check for a zero-length string (bug 58221). Patch by timeless@myrealbox.com, r=dmose@mozilla.org 2003-03-22 03:19:05 +00:00
mcs%netscape.com
6d7b1c9e7f Fix 189089 - port nspr w32 now.c fix to directory.
See bug # 188396 - NSPR should not use ftime on windows.
	This fixes a potential Year 2038 issue.
2003-03-21 16:41:42 +00:00
mcs%netscape.com
5de84ec0c5 Fix 183385 - eliminate references to NSS key/cert/module files.
The LDAP tools code no longer has any knowledge of the NSS
	file names; the certpath2keypath() function has been deleted
	and we now simply use the certdbpath as keydbpath when it is
	provided (it makes no difference in the end). But note that
	because we need to maintain backwards compatibility, the
	libssldap code used by the ldapssl_.*_init() functions still
	knows the default name of the NSS module file (secmod.db),
	and the code also relies on the fact that the suffix for the
	key and cert files is ".db" and that the first letter in the
	main part of the name is either 'c' or 'k'.
Also fixed a bug that caused the module file name specified on
	the LDAP tools command line (-m name) to be ignored.
The ldapsearch and ldapcmp tools now exit with LDAP_NO_MEMORY
	if an LDIF fragment can't be constructed.
Also fixed some issues reported by lint:
	Return values that were ignored.
	Make more functions and global variables static.
	Add /*ARGSUSED*/ and similar lint-friendly comments.
2003-03-21 16:00:34 +00:00
mcs%netscape.com
64c839cb94 Fix 183798 - crash if charset conversion fails. 2003-03-20 15:46:41 +00:00
mcs%netscape.com
67006da555 Fix 195441 - command line tools: :< in LDIF fails to import file
contents correctly.
Also removed a useless call to feof().
2003-03-20 14:56:59 +00:00
seawood%netscape.com
c745660cee Add mingw support.
Bug #134113 r=mcs sr=dmose
2003-03-07 21:12:09 +00:00
seawood%netscape.com
149fe1cec9 Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen
2003-02-23 16:58:47 +00:00
seawood%netscape.com
bd1020e1c7 Hardcode the use of Sun's ld & ranlib since they are the only ones supported.
Bug #181382 r=dmose
2002-12-17 21:44:49 +00:00
djani%netscape.com
01abecd4cb 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(). 2002-12-04 19:10:17 +00:00
mcs%netscape.com
150e89eb05 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.
2002-12-04 17:21:55 +00:00
mcs%netscape.com
3832b1fc62 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.
2002-12-04 17:11:20 +00:00
seawood%netscape.com
1e654f2c3b Fix egrep syntax. 2002-11-23 09:59:07 +00:00
seawood%netscape.com
14c734c48d Properly detect OS_ARCH when building on Win32 ME.
Bug #180822 r=dmose,wtc
2002-11-23 06:06:12 +00:00
mcs%netscape.com
3f190c27b3 Fix bug # 177775 - libprldap: NSPR error is sometimes lost. 2002-11-15 21:03:19 +00:00
mcs%netscape.com
54f6f0ba6a Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero. 2002-11-15 21:01:43 +00:00
mcs%netscape.com
9674e14a0d Use a name shorter than 32 chars. for the C LDAP API Internet Draft. 2002-11-15 20:58:29 +00:00
mcs%netscape.com
0d16f36c0c Fix bug # 163534 - remove Netscape Confidential and Proprietary marker
from errormap.c.
2002-11-15 20:18:50 +00:00