Stig Venaas
cacb73c3db
Add -x CompositionExclusions.txt as parameter to ucgendat, in order to
...
exclude some compositions from comp.dat
2001-01-16 17:25:20 +00:00
Stig Venaas
1bea1fdd34
Lists the characters from the UTR #15 Composition Exclusion Table
2001-01-16 17:22:26 +00:00
Stig Venaas
6c2ea5ec24
Final UCData-2.5 update
2001-01-15 16:14:43 +00:00
Stig Venaas
aa93a92313
Not currently used, but updating to UCData-2.5 anyway
2001-01-15 11:42:09 +00:00
Stig Venaas
a92da36ed8
Upgrading to UCData-2.5, this is just the docs
2001-01-15 09:30:46 +00:00
Kurt Zeilenga
a0828d6135
Rework scope defaulting to only default scope for references.
...
Might break LDAPv2 partial results
2001-01-10 23:48:24 +00:00
Kurt Zeilenga
1d1c1edf44
update rand file after use
2001-01-10 21:14:13 +00:00
Ben Collins
4391e6654a
s/UTF8_CHARLEN/LDAP_UTF8_CHARLEN/
2001-01-03 21:38:32 +00:00
Kurt Zeilenga
5082731e24
Add UTF-8 wc/mb conversion routines contributed by Novell.
...
/******************************************************************************
* Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
* TO VERSION 2.0.1 OF THE OPENLDAP PUBLIC LICENSE, A COPY OF WHICH IS
* AVAILABLE AT HTTP://WWW.OPENLDAP.ORG/LICENSE.HTML OR IN THE FILE "LICENSE"
* IN THE TOP-LEVEL DIRECTORY OF THE DISTRIBUTION. ANY USE OR EXPLOITATION
* OF THIS WORK OTHER THAN AS AUTHORIZED IN VERSION 2.0.1 OF THE OPENLDAP
* PUBLIC LICENSE, OR OTHER PRIOR WRITTEN CONSENT FROM NOVELL, COULD SUBJECT
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
******************************************************************************/
2000-12-28 02:20:37 +00:00
Kurt Zeilenga
b7607bf237
ITS#884: GSSAPI interoperabity with ActiveDirectory
...
Improve interoperability when of scred is present but empty.
2000-12-27 19:42:09 +00:00
Mark Valence
a376cb1002
dup() does not work on WinSock sockets.
2000-12-21 22:38:06 +00:00
Mark Adamson
ef2dd4bcb0
ITS#897 Internal connection that is closed on one end and about to
...
be closed on other end could get reused by a new internal connection.
2000-12-08 23:23:08 +00:00
Kurt Zeilenga
d8292a62da
Fix referral scope logic
2000-12-08 19:45:04 +00:00
Kurt Zeilenga
fafbe5878b
Clean up
2000-11-29 03:30:59 +00:00
Kurt Zeilenga
a09139465a
Update URL parsing and LDAP referral/reference chasing to handle
...
search scope defaulting.
2000-11-28 19:56:55 +00:00
Kurt Zeilenga
c0f9ec5458
ITS#889 fix
2000-11-22 20:27:30 +00:00
Kurt Zeilenga
6053ed1058
ITS#903: validate hostname in server cert from Norbert Klasen
...
adapted as needed.
2000-11-22 20:23:38 +00:00
Kurt Zeilenga
df7804debc
ITS#899 LANMAN password contribution from Norbert Klasen
2000-11-22 20:18:50 +00:00
Kurt Zeilenga
5941625eb7
ITS#889: quick fix
2000-11-20 18:59:42 +00:00
Stig Venaas
b44cc963c2
Improved ucdata loading error handling
2000-11-09 12:39:18 +00:00
Kurt Zeilenga
511a84bc31
First cut of SASL/EXTERNAL
2000-10-31 23:00:35 +00:00
Kurt Zeilenga
907cd90607
Fix UTF-8 5-octet sequences
2000-10-27 21:32:46 +00:00
Kurt Zeilenga
7b9886e909
Add LDAP URL critical extension counter support. lud_crit_exts
...
is the number of critical extensions contained in lud_exts.
As we currently do not support any extension, this flag is
useful for determining whether or not we should attempt to
use the URL. Added check of this counter to ldap_url_search
and LDAPv3 chase referrals.
2000-10-26 06:17:14 +00:00
Gary Williams
e809d3e90c
get rid of unused structure
2000-10-25 16:48:11 +00:00
Gary Williams
3fdbbcaba3
add new logging macros/defs (behind NEW_LOGGING)
2000-10-25 16:47:17 +00:00
Gary Williams
0e7f9b7ab4
try new logging routines (behind NEW_LOGGING)
2000-10-25 15:35:01 +00:00
Gary Williams
ecad3079e5
add new ber dump routine (behind NEW_LOGGING)
2000-10-25 15:33:39 +00:00
Kurt Zeilenga
2504f29a0c
Fix IS ASCII checks. Should be < 0x80 (0100), not < 0x100.
2000-10-23 18:04:45 +00:00
Julio Sánchez Fernández
47fd4fbad3
A little bit of Matching Rule Use.
2000-10-23 12:25:43 +00:00
Kurt Zeilenga
9e7accb034
This patch replaces gai_strerror with AC_GAI_STRERROR in daemon.c and also
...
uses AC_GAI_STRERROR to report getaddrinfo failures in os-ip.c
-- Stig Venass
2000-10-19 18:05:11 +00:00
Kurt Zeilenga
9f0d190739
Add ldap_pvt_gai_strerror().
...
Calls to gai_strerror() should be replaced with calls AC_GAI_STRERROR().
2000-10-18 17:25:30 +00:00
Kurt Zeilenga
3498151f99
Validate session handle
2000-10-18 16:32:57 +00:00
Gary Williams
895296fbd3
fix file test
2000-10-18 14:58:34 +00:00
Kurt Zeilenga
ffe1320bf5
fix SOCKET_ERROR typos
2000-10-18 03:24:50 +00:00
Kurt Zeilenga
c56a27e7e8
Eliminate the need for a buffer.
2000-10-18 02:27:45 +00:00
Kurt Zeilenga
7fad68f7b4
remove lint
2000-10-18 00:29:21 +00:00
Kurt Zeilenga
25522f1399
Remove lint
2000-10-18 00:28:39 +00:00
Kurt Zeilenga
ce373d3800
Use SOCKET_ERROR instead of -1
2000-10-18 00:27:31 +00:00
Kurt Zeilenga
d491ac55de
Update handling of partial responses
...
Update comments
Update log messages
rename symbols per conventions
2000-10-18 00:26:53 +00:00
Kurt Zeilenga
7beb6e4f89
minor cleanup
2000-10-18 00:24:58 +00:00
Kurt Zeilenga
6442964059
Handle *lud_host == '\0'
...
(likely should modify parsers and other codes to disallow such)
2000-10-17 20:30:14 +00:00
Kurt Zeilenga
174c6abfe2
ldap_url_search should use hostport of URL.
2000-10-17 19:26:04 +00:00
Gary Williams
5a541e8744
convert string levels to ints
2000-10-17 18:56:24 +00:00
Kurt Zeilenga
66818be637
Don't attempt to send abandon unless connection exists.
...
If connection doesn't exist, return LDAP_SERVER_DOWN.
2000-10-16 23:11:41 +00:00
Kurt Zeilenga
edef4b2970
ITS#821: TLS data ready fix from <mattc@chartist.com>
2000-10-16 20:26:56 +00:00
Julio Sánchez Fernández
5d899f0c00
Better processing of extensible filters. Needs testing, but the prior
...
version was not encoding properly the filter.
2000-10-15 19:17:06 +00:00
Kurt Zeilenga
bcdd316b86
entropy should be unsigned
2000-10-14 02:14:38 +00:00
Kurt Zeilenga
3d57f2ae67
Rework control create/dup routines to distinguish not
...
present value from empty value.
2000-10-14 02:13:53 +00:00
Kurt Zeilenga
92625471e1
Fix typo
2000-10-14 02:13:11 +00:00
Julio Sánchez Fernández
491a63b5d4
Prevent it from crashing.
2000-10-13 20:22:46 +00:00
Gary Williams
1217a452e9
add typedef for log function that was in lber.h
2000-10-13 14:10:41 +00:00
Kurt Zeilenga
93d9fde132
Label sb debugging as "ldap_"...
2000-10-13 01:00:55 +00:00
Kurt Zeilenga
2a6f092422
Add sasl i/o debugging
2000-10-12 23:50:58 +00:00
Gary Williams
3e0cc38404
remove LDAP_Debug macro
2000-10-12 21:16:18 +00:00
Gary Williams
7f888171f7
update logging
2000-10-12 21:14:43 +00:00
Gary Williams
a10feabf25
slight change to macro
2000-10-12 21:02:58 +00:00
Gary Williams
d37f3e6ee2
first try at logging improvements
2000-10-12 20:01:12 +00:00
Kurt Zeilenga
5a32ff0603
Add missing 'static'... (ITS#823,825,828)
...
as reported by Jeff Earickson <jaearick@colby.edu>
other suggestions to be separately reviewed
2000-10-11 23:42:53 +00:00
Kurt Zeilenga
f8e5ed25e9
Revised ITS#799 fix from Steve Sonntag <vtag@novell.com>
...
The problem is that the current code checks the queue inside
the test for correct connecction state, so sometimes the queue
doesn't get checked. This change moves the test outside
the connection check.
2000-10-11 21:11:34 +00:00
Kurt Zeilenga
8e6062eb82
References with empty dn (ITS#817)
2000-10-11 04:23:23 +00:00
Kurt Zeilenga
1dc469e064
Remove max buffer constraint!
...
and general cleanup
2000-10-11 02:43:14 +00:00
Kurt Zeilenga
b7b9148c7f
Return more appropriate result codes than LDAP_UNAVAILABLE
...
upon failures.
2000-10-09 22:11:34 +00:00
Kurt Zeilenga
379d0962ea
Add cast to avoid mismatch
2000-10-06 21:16:26 +00:00
Kurt Zeilenga
2cdbfd069b
Add missing newlines
2000-10-05 18:30:06 +00:00
Kurt Zeilenga
6712936ef8
ITS#799: chasing multiple referrals bug
...
Patch provided by Steve Sonntag <vtag@novell.com>
2000-10-05 01:40:36 +00:00
Kurt Zeilenga
9e450558d8
Fix add of empty value.
2000-10-03 22:05:28 +00:00
Kurt Zeilenga
005a2f7aec
Don't assert on null
2000-10-03 18:51:30 +00:00
Kurt Zeilenga
3c63a944eb
Initialize globals as some linkers don't support shared, uninitialized
...
data segments.
2000-10-02 17:53:50 +00:00
Kurt Zeilenga
778b665242
Fix up some free'ing.
2000-10-02 17:43:39 +00:00
Kurt Zeilenga
822bfc3670
Rework stringal decode to return { NULL, 0 } bv's instead of { "", 0 }
...
when len is 0.
2000-10-02 17:43:06 +00:00
Kurt Zeilenga
003a293e2b
Don't specify LDFLAGS when using LTLINK to avoid duplicate
...
specfication of flags.
2000-10-01 08:10:37 +00:00
Kurt Zeilenga
74b048a5a4
Fix ldap_first/next_attribute to return NULL without error when
...
nothing is left.
2000-09-30 06:57:23 +00:00
Kurt Zeilenga
1890b720b4
cleanup getattr bailout code
2000-09-30 05:35:44 +00:00
Kurt Zeilenga
f8d9bffb98
Don't touch (unescape) URL handed to rebind proc.
2000-09-30 02:37:05 +00:00
Kurt Zeilenga
dd733e163a
ITS#791: fix SASL ctx close
2000-09-29 18:27:06 +00:00
Kurt Zeilenga
abf6bdaeb5
Add hash to project file
2000-09-29 02:59:44 +00:00
Kurt Zeilenga
6ec475cd61
Code cleanup
2000-09-22 22:43:30 +00:00
Kurt Zeilenga
6949ab9d15
Replace indexing hash with 32-bit FNV-1... should be much faster than MD5
2000-09-22 22:19:46 +00:00
Kurt Zeilenga
2b82d4f486
remove lint
...
update bdb codes
2000-09-22 01:40:57 +00:00
Kurt Zeilenga
90d557402b
Should modify code to bail on initialization errors...
...
For now, just (void) the return
2000-09-21 19:56:04 +00:00
Mark Adamson
bf1ee530ea
Implementation of SASL authorization.
2000-09-21 17:32:54 +00:00
Kurt Zeilenga
3c852017be
Build liblunicode first
2000-09-20 17:25:04 +00:00
Kurt Zeilenga
3ddb829076
change bdb errpfx
2000-09-20 00:27:47 +00:00
Kurt Zeilenga
e1b73eda93
cleanup
2000-09-16 22:46:04 +00:00
Kurt Zeilenga
f42966f9e1
Fix #undef LDAP_UFN
2000-09-16 06:24:17 +00:00
Kurt Zeilenga
efe39c999f
modify ldap_dn2ufn() to return completely typeless UFNs
...
hide rest of UFN code behind #ifdef LDAP_UFN in preparation
for eventual removal.
2000-09-16 04:33:52 +00:00
Kurt Zeilenga
55ad2c9319
Validate ber on get/set option calls
2000-09-16 01:28:20 +00:00
Kurt Zeilenga
f4f093054a
overrun protection doesn't work... hmmm....
2000-09-16 01:05:14 +00:00
Kurt Zeilenga
4e1b3229d6
Another minor ber_dump output format change
2000-09-15 18:59:46 +00:00
Kurt Zeilenga
14abfc7fe6
Minor format adjust to ber_dump output
2000-09-15 18:10:52 +00:00
Ben Collins
9fe15dba96
Remove unused var, 'rc'
2000-09-15 14:20:20 +00:00
Kurt Zeilenga
b611ec4b87
consistently use ber_pvt_ber_*() routines
2000-09-15 05:56:37 +00:00
Ben Collins
5c8d4c88b6
make function match it's decleration
2000-09-15 03:48:27 +00:00
Ben Collins
aaf59e2a2b
don't define NEED_COPY_HOSTENT in the decleration
2000-09-15 03:33:05 +00:00
Ben Collins
df4605b8c1
include ac/unistd.h to avoid compiler warnings
2000-09-15 03:11:03 +00:00
Ben Collins
ef1d8662f0
fix formatting
2000-09-15 03:08:05 +00:00
Ben Collins
4d0a95db04
wrap unused function, ldap_int_thread_onlist() in #if 0
2000-09-15 03:07:43 +00:00
Ben Collins
18c5605524
fix compiler warnings by including ac/unistd.h
2000-09-15 03:06:51 +00:00
Ben Collins
621babf51d
fix compiler warnings by including ac/unistd.h and only declaring copy_hostent() when we actually need to use it
2000-09-15 03:06:18 +00:00
Ben Collins
718a6bfca4
initialize Sockbuf * to NULL
2000-09-15 03:05:27 +00:00