Kurt Zeilenga
fe23628faa
ITS#619: TLS PRNG initialization code
...
based upon patch provided by Ted C. Cheng <cheng@ix.netcom.com>
2000-07-08 22:17:50 +00:00
Kurt Zeilenga
821f0e17f2
Fix get/set conconcurrency routines under Solaris
2000-07-06 17:21:21 +00:00
Kurt Zeilenga
4f4f59f333
Rework <ac/errno.h> to provide a STRERROR. Prefers errlist over
...
strerror() as strerror() may not be thread safe. Likely should
be used by SLAPD.
2000-07-06 01:24:52 +00:00
Mark Valence
c1223a70e6
Added NO_THREADS version of ldap_pvt_thread_pool_maxthreads
2000-07-05 17:36:58 +00:00
Kurt Zeilenga
20e6dcec3b
Improved but still broken client tools.
2000-07-04 21:49:00 +00:00
Mark Valence
d4d03e36e5
Added "threads" config to slapd.conf.
2000-07-04 19:24:13 +00:00
Kurt Zeilenga
060ee8ee88
Add Steve Sonntag's (Novell) memory debugging extensions
2000-07-04 18:47:06 +00:00
Kurt Zeilenga
9d1e2ef7e2
Rename local variable 'sun' to 'sa' to avoid clash on Sun computers...
2000-07-04 17:57:21 +00:00
Kurt Zeilenga
8917a2d772
Remove ldap_*_dn() prototypes of #if 0 routines
2000-06-30 22:31:21 +00:00
Kurt Zeilenga
49d73e12a7
Avoid locale specific ctype routines.
2000-06-29 19:38:03 +00:00
Kurt Zeilenga
5d552f6051
Minor cleanup
2000-06-26 01:26:53 +00:00
Kurt Zeilenga
5d281b968d
Disallow kbind over LDAPv3
2000-06-26 01:25:36 +00:00
Kurt Zeilenga
e2fa599482
Move old files to the Attic
2000-06-25 22:01:42 +00:00
Kurt Zeilenga
5f20cf1ed5
Modify ldapsearch(1) significantly. Now handles LDAPv3 search
...
references, extended results, and extended partial results. LDIF
extended to support these new features and reported version 2.
-L now limits output to LDIFv1 for compatibility reasons. No
-L is now LDIFv2. Old alternative form is no longer supported.
Use LDAP_TMPDIR (in ldap_config.h) instead of hardcoded /tmp
Use LDAP_FILE_URI_PREFIX (in ldap_config.h) instead of hardcoded
file://tmp/
2000-06-25 00:35:17 +00:00
Kurt Zeilenga
49f4147385
Added -llber 'N' ber_printf format which inserts a NULL if
...
an internal flag set. Used for SEQUENCE testing. Flag must
be set using debugger. Modified ber_printf to use new format
were needed for extensibility testing.
Added first cut -lldap support for extended responses.
Modified ldapsearch(1) to handle v3 search references when not
chasing. Also added extended/unsolicited notification handling
and extended partial response handling. Changes include a
number of LDIF enhancements.
Fixed getpassphrase() returns NULL bugs
2000-06-24 01:40:39 +00:00
Mark Valence
719b945c78
Fix for thread/fork problem. Don't start a worker thread until one is
...
needed.
2000-06-21 06:09:45 +00:00
Kurt Zeilenga
d4c721ffa3
ITS#601: fix fetch bugs
2000-06-21 00:40:10 +00:00
Kurt Zeilenga
9ef1a740c2
Round one of LDAP_F() macro changes. In this round we rename
...
macros into our namespace and limit use to headers. A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes. The last
round will add additional macros for declaring actual variables and
functions.
2000-06-18 19:48:07 +00:00
Kurt Zeilenga
ccbd048fb2
Use URI, not HOST
2000-06-18 19:35:52 +00:00
Kurt Zeilenga
8da110a9e7
Extern URI code to support literal IPv6 addresses
...
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-06-18 15:54:21 +00:00
Mark Valence
54f7e85770
Put cond_signal loop inside of mutex'ed area to fix race bug (seen on
...
Digital OSF 4.0e on an Alpha?)
2000-06-18 05:56:17 +00:00
Kurt Zeilenga
e393afaeec
Kill LinuxThreads clones
2000-06-17 18:49:25 +00:00
Kurt Zeilenga
35e77f88be
Add asserts aliasing debugging purposes.
2000-06-16 21:25:03 +00:00
Kurt Zeilenga
ddcb56546d
Fix mod_values v mod_bvalues typo
2000-06-16 20:39:13 +00:00
Kurt Zeilenga
ae61f3dcaf
Memory leak in referral code (ITS#596)
...
Apply patch from Steve Sonntag <vtag@novell.com>
2000-06-16 20:00:21 +00:00
Kurt Zeilenga
0c484042a0
Fix typo in last commit
2000-06-16 19:40:49 +00:00
Kurt Zeilenga
ac659e20d3
Add 1st libldap IPv6 patch (ITS#594) from Stig Venass.
...
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-06-16 19:15:08 +00:00
Mark Valence
9c7127cd81
Check if process is installed/running as service on NT beofre trying t
...
o start it as a service (gets around an annoying pause when starting u
p as a non-service).
2000-06-15 02:21:01 +00:00
Kurt Zeilenga
b7d1b10bca
Minor cleanup
2000-06-14 21:11:56 +00:00
Kurt Zeilenga
5417fdfea7
Rename ldap_start_tls() to ldap_start_tls_s() for consistency sake.
...
Misc other header changes.
2000-06-13 20:45:30 +00:00
Kurt Zeilenga
63d05c74f4
Fix up NT port after thread changes
2000-06-13 20:43:59 +00:00
Kurt Zeilenga
8665618210
Fix Novell URL kludge
2000-06-13 05:50:23 +00:00
Kurt Zeilenga
ec426532b2
Reworked thread code to better support thread-library specific
...
r/w locks and thread pools. Hide internal structures (using
pthread'ish technics). Place common code in threads.c. Move
no-thread code to thr_stub.c. Move thread pool code to tpool.c.
Removed setconcurrency call from initializer, added 'concurrency'
directive to slapd. Tested code under pthreads, pth, and no-threads.
2000-06-13 02:42:13 +00:00
Kurt Zeilenga
922c3ad954
Found ber_error_print pieces which I forgot commit.
2000-06-10 23:13:01 +00:00
Kurt Zeilenga
1ef14875db
Thought I fixed these errors previously... oh well.
2000-06-10 23:06:08 +00:00
Kurt Zeilenga
a56c161bdb
Misc code cleanup.
2000-06-10 22:39:30 +00:00
Kurt Zeilenga
77df7c6098
Add ldap_unbind_ext_s
2000-06-10 17:29:10 +00:00
Kurt Zeilenga
89d7b86178
Add sort/vlv controls
2000-06-10 17:28:09 +00:00
Mark Valence
1f4b174c37
Fix a race condition by removing (unnecessary) unlock/yield/lock.
2000-06-10 04:12:49 +00:00
Mark Valence
d6ee9542ec
A little cleanup
2000-06-10 01:39:05 +00:00
Kurt Zeilenga
7b836babb6
Fix LBER_MEMORY_DEBUG failed realloc bug
2000-06-10 00:17:55 +00:00
Kurt Zeilenga
55dba4395f
Update PF_INET6 and PF_UNIX detection, both default to auto
2000-06-09 23:09:51 +00:00
Mark Valence
f5101f8274
Fix operator precedence bug.
2000-06-09 06:48:43 +00:00
Mark Valence
0715e29ae5
Fix uninitialized var bug.
2000-06-09 06:45:14 +00:00
Kurt Zeilenga
77b235fba5
Apply Novell's IN_KERNEL support (ITS#576)
2000-06-08 17:11:57 +00:00
Mark Valence
3c0e4d35a1
Added a yield or two for Pth.
2000-06-08 06:55:04 +00:00
Mark Valence
a1a78cd2e8
Thread pools enabled again -- test008 passes on NT, cthreads, pthreads
...
(on Linux), with max_concurrency set to 0 (as many as needed), 1, 2,
and 3.
2000-06-08 05:14:46 +00:00
Mark Valence
da355b317e
Disable thread pooling while I fix the deadlock.
2000-06-08 02:07:49 +00:00
Kurt Zeilenga
61be4bd0c8
remove pointer v. int lint from ber_sockbuf_ctrl.
2000-06-08 01:08:01 +00:00
Kurt Zeilenga
e68b429d45
Really disable pthread rw locks
2000-06-08 00:29:32 +00:00
Kurt Zeilenga
0eb19657fa
Add missing -DNO_THREADS trylock and make minor change to TLS
...
in attempt to get it work with GNU PTH.
2000-06-07 23:58:16 +00:00
Kurt Zeilenga
c6e4ad6c12
Add VLV/Sort controls (from Novell)
2000-06-07 23:43:56 +00:00
Kurt Zeilenga
22b8b60e49
Add VLV and SortList Control API and related (and other) I-Ds
2000-06-07 19:39:49 +00:00
Mark Valence
33f4955c07
Add thread pool routines.
2000-06-07 19:21:45 +00:00
Kurt Zeilenga
4933f894ba
Include <lber.h> to use ber_strdup(). (probably should create/use
...
macros LUTIL_STRDUP and friends).
2000-06-07 18:49:36 +00:00
Kurt Zeilenga
9a8cc65162
Update a few misc docs
2000-06-07 06:33:59 +00:00
Kurt Zeilenga
6ad1c45bd3
Use LDAP_VFREE and friends. Other misc code cleanup.
2000-06-07 05:17:29 +00:00
Kurt Zeilenga
107e99e302
Add Pth specific r/w lock implementation.
2000-06-07 01:34:00 +00:00
Kurt Zeilenga
e5ebc553ac
Rework URI parser to provide true scheme not proto/properties.
...
Plus more pthread rwlock code
2000-06-07 01:09:40 +00:00
Kurt Zeilenga
f192014c1a
Use pthread rwlocks, if available
2000-06-07 00:28:35 +00:00
Kurt Zeilenga
93a3f4e7b1
Fix typo in comment
2000-06-06 23:46:45 +00:00
Kurt Zeilenga
5cc86c1745
Demonstrate how rdwr routines could be easily replaced.
...
Update comment with reference to publically available examples.
2000-06-06 21:20:38 +00:00
Mark Valence
72bf2552eb
In preparation for thread pools
2000-06-06 19:59:34 +00:00
Kurt Zeilenga
c1002301d5
Don't include files moved to attic
2000-06-06 02:12:58 +00:00
Kurt Zeilenga
252ccfddbc
(very) incomplete Digest-MD5 impl to Attic (until someone steps up
...
to the plate)
2000-06-06 00:27:49 +00:00
Kurt Zeilenga
7573a81efe
getbyname/getbyaddr should share mutex per ITS#563.
...
Patch provided by Steve @ Novell, thanks!
2000-06-06 00:23:50 +00:00
Kurt Zeilenga
1af849c720
DNSSRV use res_query, not res_search
...
Update configure and depend --enable-dnssrv upon finding res_query
Update back-dnssrv to better handle ManageDSAit control
2000-06-05 23:56:26 +00:00
Kurt Zeilenga
1aa4b07c98
Remove support for DNS DNs (not to be confused with X.500 DN using
...
domainComponents (DC)).
2000-06-05 20:07:02 +00:00
Kurt Zeilenga
c1117666b1
remove old STR_TRANSLATION feature. The use of this feature
...
was only of limited use with LDAPv2 (worked okay if no non-T.61
values existed) but downright dangerous in the face of LDAPv3.
Any translation must be schema aware and the BER isn't.
2000-06-05 19:22:19 +00:00
Kurt Zeilenga
921d24cf3a
Fix up makefiles after removal of getdxname.c
2000-06-05 07:48:57 +00:00
Kurt Zeilenga
7dc76e7139
move --enable-dns (LDAP_API_FEATURE_X_OPENLDAP_V2_DNS) to Attic
2000-06-05 07:19:09 +00:00
Kurt Zeilenga
ea069cb7c2
New indexer/filter codes (test suite works) with cheats
...
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Mark Valence
bb1d03a5e8
Clean up some NT lint.
2000-06-04 04:35:13 +00:00
Kurt Zeilenga
c5765e3827
Use provided macros and comment
2000-06-03 17:24:21 +00:00
Kurt Zeilenga
743598b3d0
This is a one-liner Steve missed in the referral patch. Make sure the
...
ldo_rebindproc value has a sane value.
2000-06-02 23:51:31 +00:00
Kurt Zeilenga
c23536faa9
remove lint
2000-06-01 22:01:00 +00:00
Kurt Zeilenga
b78eec4a25
Remove lint
2000-06-01 22:00:12 +00:00
Kurt Zeilenga
2e0912622b
ITS#537: lber io rewrite from Gambor Gombas.
...
Copyright 2000 Gábor Gombás. All rights reserved.
This is free software. You may redistribute and use it under the same
terms as OpenLDAP itself.
2000-06-01 20:59:21 +00:00
Kurt Zeilenga
81d2747247
A couple of minor fixes to LDAPv3 referral chasing
2000-05-31 17:47:33 +00:00
Kurt Zeilenga
a26cef7fc8
LDAPv3 referrals changes by Steve Sonntag @ Novell
2000-05-31 17:34:43 +00:00
Kurt Zeilenga
58522e3416
Clean links, patch from <Christian.Lorenz@suse.de>
2000-05-31 17:30:03 +00:00
Kurt Zeilenga
b66567f1f8
Minor fix to last commit
2000-05-30 19:07:07 +00:00
Kurt Zeilenga
875610cfcc
Referral hack
2000-05-30 18:32:10 +00:00
Kurt Zeilenga
a43ef5bac4
Preset error just in case
2000-05-29 19:47:48 +00:00
Julio Sánchez Fernández
3e3acf87c8
Let the caller decide how liberal the schema parsing routines will be.
...
Most flags do nothing yet.
2000-05-28 22:45:56 +00:00
Kurt Zeilenga
1bc5314d62
Fix DNSSRV initialization bug
2000-05-26 18:05:27 +00:00
Kurt Zeilenga
e0fc97bfa7
DB3 fixes
2000-05-26 05:47:02 +00:00
Kurt Zeilenga
1497337335
ITS#533: simplify ber_next_read
2000-05-26 01:23:47 +00:00
Kurt Zeilenga
63de8a6ea5
s/0/LDAP_MSG_ONE/ per Steve's patch (ITS#542)
2000-05-26 01:11:18 +00:00
Gary Williams
780d4737af
use HAVE_BERKELEY_DB and check DB_VERSION_MAJOR for differences
2000-05-25 20:41:55 +00:00
Gary Williams
862e624254
Added support for Berkeley DB3. Hidden behind
...
HAVE_BERKELEY_DB3. Configuration support
hopefully coming soon.
2000-05-25 15:21:30 +00:00
Kurt Zeilenga
51fb094701
ITS#541: fix log check bug
2000-05-23 00:32:50 +00:00
Julio Sánchez Fernández
001061daf9
Added extensions to syntaxes, matching rules and object classes.
2000-05-22 10:43:01 +00:00
Kurt Zeilenga
bcf8f7eeb7
Remove lint
2000-05-22 06:19:49 +00:00
Julio Sánchez Fernández
f84c43a43b
Parsing and printing of extensions in schema definitions.
2000-05-21 23:32:39 +00:00
Kurt Zeilenga
f2912805fb
s/2000-2000/2000/ in copyright notice
2000-05-21 18:15:00 +00:00
Kurt Zeilenga
8045b54124
Use getpassphrase() instead of getpass() if available.
2000-05-19 18:41:26 +00:00
Kurt Zeilenga
53338dc4e2
Fix nul ('\0') string termination bug introduced by use of
...
memalloc/memcpy instead of strdup
2000-05-18 16:44:32 +00:00
Kurt Zeilenga
1d00cd34c5
SOCKBUF_VALID should be called with sb not ber
2000-05-17 22:26:06 +00:00
Howard Chu
835d0ebd63
Fix ldif_parse_line, binary attributes got truncated because the final
...
value was copied with ber_strdup.
2000-05-17 05:21:03 +00:00
Kurt Zeilenga
6c49fe7d1b
Fix typo in last commit
2000-05-16 18:32:45 +00:00
Kurt Zeilenga
88411f5c27
Modify dn2domain code such that domains produced are rooted.
...
That is, they end with '.'.
2000-05-16 18:31:35 +00:00
Kurt Zeilenga
4e5992c190
Fix unsigned * vs unsigned long * bugs
2000-05-16 04:52:37 +00:00
Kurt Zeilenga
e3f3500942
Forget return in last commit
2000-05-14 03:38:27 +00:00
Kurt Zeilenga
e9d0b98a10
Update lber-encode/decode man pages
...
Add ber_get_enum() for symmetry
2000-05-13 23:08:25 +00:00
Kurt Zeilenga
3e82a5309b
Add missing copyright notices
2000-05-13 02:43:19 +00:00
Kurt Zeilenga
29d9fa20a2
Y2k copyright update
2000-05-13 02:36:07 +00:00
Kurt Zeilenga
9417c5fdc7
Add (old) copyright... [we really should to update these]
2000-05-13 00:50:27 +00:00
Kurt Zeilenga
69fbf137aa
make ntservice error to string routines static
...
#undef __RETSTR before #define
2000-05-13 00:48:17 +00:00
Howard Chu
3f618bfe03
Fix ambiguous return value in lutil_passwd
2000-05-13 00:10:24 +00:00
Kurt Zeilenga
fadaf7f706
Fix typo in last commit (fixing multiple byte tags)
2000-05-13 00:02:36 +00:00
Howard Chu
237b00049a
Moved GetLastErrorString to ntservice.c. I missed it before, thought it
...
was unused but it's needed in ntservice.c
2000-05-12 23:53:14 +00:00
Kurt Zeilenga
58cede64c1
No longer needs <windows.h>
2000-05-12 23:43:33 +00:00
Kurt Zeilenga
304a57740a
nt_err.c has moved from lutil to lber
2000-05-12 23:37:28 +00:00
Howard Chu
9a79d03e13
Fix previous change to getRegParam, SERVICE_NAME is only known in slapd.
2000-05-12 21:26:30 +00:00
Howard Chu
3dc83998c0
Moved nt_err from liblutil to liblber, renamed WSAGetErrorString to
...
ber_pvt_wsa_err2string.
2000-05-12 21:16:15 +00:00
Howard Chu
8d2aba12b4
Fix typo in lutil_debug for NT: file -> log_file
2000-05-12 20:01:40 +00:00
Kurt Zeilenga
8c15a05b2e
Make sure we don't overallocate callbacks
2000-05-12 19:41:18 +00:00
Howard Chu
878466d375
Fix previous patch, zero out lud_next on new urldesc
2000-05-12 10:48:27 +00:00
Howard Chu
7d402a5562
Fix ldaps / TLS processing...
...
open.c: open_ldap_connection was not honoring the TLS config option.
url.c: ldap_url_dup was not copying the properties.
2000-05-12 10:43:20 +00:00
Howard Chu
36eddf715a
Exit loop after matching command is found in openldap_ldap_init_w_conf
2000-05-12 10:40:29 +00:00
Howard Chu
2e5e4c3f20
More fixes for NT support:
...
liblutil/ntservice.c change registry key path used for non-default
service names.
slapd/Makefile.in change to generate slapd.syms dynamically
slapd/daemon.c fix to make NT service ignore SIGBREAK
slapd/main.c fix to allow NT to retrieve listening url from registry
slapd/nt_svc.c fix for exported symbols
slapd/result.c change use of strerror to sock_errstr
slapd/slapd.syms no longer needed
2000-05-11 20:50:20 +00:00
Kurt Zeilenga
643864c569
Change negotiated mechanism:
...
If application provide one, use it. If application doesn't
provide one, use best of server advertised.
Fix SASL/ANONYMOUS (not normally used, but should work)
PLAIN is not currently working... might be local to me as my
Cyrus installation is a bit hosted.
2000-05-11 20:16:26 +00:00
Howard Chu
7ca81c0a03
Fix one more chk_unix ifdef
2000-05-11 20:00:47 +00:00
Kurt Zeilenga
cdb709fd27
Fix unbalanced #endif
2000-05-11 16:06:41 +00:00
Howard Chu
605832eaa5
Added support for AIX security database:
...
configure.in: check for AIX security library, set in AUTH_LIBS macro
top.mk: add AUTH_LIBS macro to SECURITY_LIBS
portable.h.in: added HAVE_AIX_SECURITY macro (via autoheader)
passwd.c: use AIX getuserpw in chk_unix. Also fix logic in chk_unix:
getpwnam must always succeed for the given user. It is not a
fatal error if getspnam returns no result for the user: On
systems that support /etc/shadow, its usage is optional. The
same logic applies for AIX, SCO/HP SecureWare, etc.
2000-05-11 10:10:53 +00:00
Howard Chu
a556140e65
Fix for systems like AIX where pthread_create creates Detached by default
2000-05-11 09:51:24 +00:00
Howard Chu
588b23cd1c
Fix dynamic linking dependencies for NT and Unix
2000-05-11 09:49:40 +00:00
Howard Chu
b0faccce56
Added debuglevel parameter to ldap_int_initialize().
2000-05-11 09:48:40 +00:00
Howard Chu
d706765e56
Fix error detection for NT
2000-05-11 09:47:55 +00:00
Howard Chu
dddf399090
Fix dynamic link dependencies for NT and Unix
2000-05-11 09:47:15 +00:00
Howard Chu
65d7521be1
Added LBER_OPT_LOG_PRINT_FILE to redirect the output of ber_error_print.
...
Used mainly on NT since stderr doesn't exist when slapd runs as a service.
2000-05-11 09:39:33 +00:00
Kurt Zeilenga
0d6e1a4cbe
Fix cred passing.
2000-05-11 01:40:02 +00:00
Kurt Zeilenga
f9411ca154
Fix another bug... seems to be working... ldap://root.openldap.org/
2000-05-11 01:12:48 +00:00
Kurt Zeilenga
560fe7ade0
Fix == typo
2000-05-11 00:50:14 +00:00
Kurt Zeilenga
3553f9aab6
Fix #ifdefs when --disable-crypt
2000-05-10 23:26:42 +00:00
Kurt Zeilenga
fbb58dec53
Fix minor bugs...
2000-05-10 22:21:57 +00:00
Kurt Zeilenga
e87e01b9c5
DNS SRV meat (a work in progress)
2000-05-10 21:48:18 +00:00
Howard Chu
7a586d4e49
Add ld parameter to ldap_pvt_tls_start invocations. See tls.c...
2000-05-10 21:02:46 +00:00
Howard Chu
f0c4f83ea2
libldap/tls.c: change tls_verify_cb to no longer ignore verification errors.
...
This means a ldaps connection may drop before any LDAP protocol exchange
occurs (due to expired cert, unrecognized CAs, etc.).
Change ldap_pvt_tls_connect to copy any TLS error string to ld_error upon
connection failure, otherwise client just sees "can't contact LDAP server."
slapd/connection.c: add flush/delay when SSL_accept fails, to allow any
TLS alerts we generated to propagate back to the client. (Which will then
be picked up by ldap_pvt_tls_connect on the client...)
2000-05-10 17:07:09 +00:00
Kurt Zeilenga
f224e69558
Add experimental code to check simple bind passwords
...
against Cyrus SASLdb. Like other cleartext mechanisms,
should be protected from eavesdropping.
2000-05-10 04:29:51 +00:00
Kurt Zeilenga
d0555fffe6
Error handling changes including separation of client v. server
...
SASL to LDAP translation. plus comments and other minor changes
2000-05-03 18:59:58 +00:00
Kurt Zeilenga
0b3a6786fe
Use (unsigned char) -1 instead of 0xffU.
2000-05-03 18:55:27 +00:00
Kurt Zeilenga
014afae269
setting UFN prefix to NULL should clear prefix not cause crash.
2000-05-03 10:45:36 +00:00
Kurt Zeilenga
95092681dd
Clarify error string, add comment
2000-04-26 09:17:54 +00:00
Kurt Zeilenga
459194f347
Fix typo in multbyte tag code
2000-04-26 09:17:05 +00:00
Kurt Zeilenga
5043287a4c
Fix NULL filter bug
2000-04-25 13:52:44 +00:00
Kurt Zeilenga
802ee714e4
Framework for authpasswd. Needs work. Behind #ifdef
2000-04-25 13:28:03 +00:00
Kurt Zeilenga
1973c664cc
Fix NULL pointer deref bugs
2000-04-25 10:43:15 +00:00
Kurt Zeilenga
da5673c71a
Apply experimental multibyte tag fix
2000-04-25 10:42:32 +00:00
Kurt Zeilenga
274bf59441
replace ldap_dnssrv_init() with lower level calls
...
ldap_domain2dn()
ldap_domain2hostlist()
and provide prototype to soon-to-be-implemented
ldap_dn2domain().
ldap_dnssrv_init(), if needed, can easily be implemented
using ldap_create(), ldap_set_option() and the above
commands.
2000-04-25 10:38:03 +00:00
Kurt Zeilenga
c02d7e2cb6
ITS#503: Extend ldap tools to support SASL/TLS
...
Submitted by Gabor Gombas <gombasg@inf.elte.hu>
2000-04-20 09:23:51 +00:00
Kurt Zeilenga
16dc181de4
Add RCSid
2000-04-19 13:37:52 +00:00
Kurt Zeilenga
6a4ff3b996
Fix == v != bug
2000-04-19 13:35:43 +00:00
Kurt Zeilenga
21431725fc
fix = vs == bug
2000-04-12 01:06:58 +00:00
Kurt Zeilenga
870dbca576
objectclass=* -> NULL
2000-04-12 01:00:48 +00:00
Kurt Zeilenga
4035b05232
ITS#441: unhex escape referrals. Needs review before being
...
applied to RE 1.2.
2000-03-20 22:00:16 +00:00
Kurt Zeilenga
1a348f9fbe
Return okay after setting LDAP_OPT_X_TLS_CERT (ITS#447)
2000-03-18 23:55:51 +00:00
Kurt Zeilenga
4c0be829e1
Fix usage in comment
2000-03-17 02:07:59 +00:00
Kurt Zeilenga
c2050e04d3
ITS#479 fix: ber_put_seqorset() writes a few bytes beyond an allocated buffer
...
Commit based upon patch and comments provided by Alan Clark <aclark@novell.com>.
> Kudos to Dave Steck for the find and fix
2000-03-15 19:47:22 +00:00
Kurt Zeilenga
535cc1dbbc
Add missing ;
2000-03-14 04:27:00 +00:00
Kurt Zeilenga
72c6446ef6
Mark statically allocated BerElement as valid.
2000-03-14 04:25:49 +00:00
Kurt Zeilenga
117b6a91d0
More fixes and comments
2000-03-14 04:08:12 +00:00
Kurt Zeilenga
c43fec53f5
Cyrus SASL uses screwy terms.
2000-03-14 03:08:46 +00:00
Kurt Zeilenga
5701fec1b5
correct callback numbering
2000-03-14 02:59:53 +00:00
Kurt Zeilenga
17527368d1
work args of ldap_negotiated_sasl_bind_s() and provide examples
...
with authentication id and authorization ids. Note: this routine
doesn't actually negotiate anything. It likely should be renamed
ldap_sasl_auth_s() or ldap_sasl_bind_multistep() or something.
2000-03-14 02:54:08 +00:00
Kurt Zeilenga
db662b516f
Fix NT builds and remove lint
2000-03-13 19:30:14 +00:00
Julio Sánchez Fernández
50dafec453
Fixed an irritating problem with nss_ldap and pam_ldap. Since these
...
modules are dynamically loaded, they summon libldap when needed.
However, depending on the security libraries available when the
shared libldap was built, the latter brings up other dependencies.
On some platforms, it seems that no solution is available: no
indirect dynamic dependencies. But for some platforms where this
is supported (in particular, Linux), the shared libldap must
contain info on what other dynamic libraries it needs. We were
failing to put this info into the shared library. This patch
seems to fix it.
2000-03-13 17:55:41 +00:00
Julio Sánchez Fernández
b9fb4c442c
Useronly logic was inverted, we were ignoring the whole ldap.conf,
...
except where we should.
2000-03-13 12:31:35 +00:00
Kurt Zeilenga
c044b2a667
Remove race condition noted in ITS#216.
2000-03-11 00:58:10 +00:00
Kurt Zeilenga
6e5d2eea4e
Add missing parens so that last commit behaves as desired.
2000-03-10 18:16:22 +00:00
Kurt Zeilenga
5b5b43a9e0
ITS#471: fix handling of delete referrals.
2000-03-08 18:56:22 +00:00
Kurt Zeilenga
655c0bda41
Ignore space in filter: ( !(foo=bar))
2000-02-21 20:57:48 +00:00
Kurt Zeilenga
6cb60f381a
Eliminate second session protocol version field.
2000-02-18 19:57:38 +00:00
Kurt Zeilenga
6c6ecc15d5
Add comment concern appropriate use of LDAP_MEMORY_DEBUG
...
(basically, it's for testing internals, don't enable it otherwise)
2000-02-16 23:51:34 +00:00
Kurt Zeilenga
b8c8f6ef6f
Fix ldap_set_option( NULL, LDAP_OPT_PROTOCOL_VERSION, &v ) as
...
suggested by Steve Sonntag.
2000-02-16 22:59:15 +00:00
Kurt Zeilenga
0dbaf87730
Another round of changes behind -DSLAPD_SCHEMA_NOT_COMPAT
...
plus these changes unhidden changes:
remove now meaning --enable-discreteaci configure option
fix ITS#451, slapd filters
Add ber_bvecadd() to support above
constify ldap_pvt_find_wildcard() and misc slapd routines
renamed some slap.h macros
likely broken something
2000-02-14 20:57:34 +00:00
Kurt Zeilenga
d0d80a633a
Put *free(NULL) asserts behind LDAP_MEMORY_DEBUG
2000-02-11 21:11:44 +00:00
Kurt Zeilenga
6968ede534
ITS#450: teach LDBM/GDBM about cursors
2000-02-11 02:05:14 +00:00
Kurt Zeilenga
0ba3d75913
Don't chdir("/"). Root may not be writable to daemon.
...
Only user can select appropriate run directory. Best left to user.
2000-02-08 04:22:31 +00:00
Kurt Zeilenga
25af82b3ea
Use required form if value is zero length, eg "attr-desc:".
...
Use BASE64 if attr-desc includes ";binary"
2000-02-03 22:28:12 +00:00
Kurt Zeilenga
2549654bb5
Add comment about leaked on exit values.... we likely should
...
implement an at_exit() handler.
2000-02-02 21:26:36 +00:00
Luke Howard
30522f7437
Changed (!strcmp(...)==0) to (strcmp(...)==0); obviously
...
wrong. Fix from adamson@andrew.cmu.edu .
2000-02-01 23:34:16 +00:00
Kurt Zeilenga
0919e503cd
Use LDAP_CONST, not const, in public function declarations.
2000-02-01 01:11:26 +00:00
Kurt Zeilenga
02a604db21
Really fix VPATH support...
2000-01-28 21:52:28 +00:00
Kurt Zeilenga
11c92c8fc8
Last change actually broke VPATH support
2000-01-28 21:38:18 +00:00
Kurt Zeilenga
106ec28414
Fix VPATH support.
2000-01-28 21:32:42 +00:00
Kurt Zeilenga
b9b04e12f0
Remove double listing of libldif which breaks 'make veryclean'
2000-01-28 21:18:55 +00:00
Kurt Zeilenga
10d904735b
Add NT build support for Unicode library.
2000-01-27 01:04:36 +00:00
Kurt Zeilenga
4eb13130a9
typedef ber_int_t ldap_ucs4_t
2000-01-27 01:04:17 +00:00
Kurt Zeilenga
597ddd3a80
unifdef -D__STDC__
2000-01-27 01:00:02 +00:00
Kurt Zeilenga
dd1e4fc53d
Add -llunicode to build environment
2000-01-26 00:00:45 +00:00
Kurt Zeilenga
107b22a73c
Fix typo
2000-01-25 23:58:44 +00:00
Kurt Zeilenga
92705f0061
Remove Java files from HEAD.
2000-01-25 22:47:53 +00:00
Kurt Zeilenga
fe98d9fa7b
Initial revision
2000-01-25 22:38:34 +00:00
Kurt Zeilenga
f3cb97e973
Add utf-8 to MSVC projects and remove lint.
2000-01-25 20:22:17 +00:00
Kurt Zeilenga
ed9969b1c4
Make ldap_utf8_bytes() act like strlen() not sizeof()
2000-01-23 23:33:01 +00:00
Kurt Zeilenga
42cc5e5333
Fix bugs in UTF-8 code. Apply to getdn and charray.
2000-01-23 23:07:24 +00:00
Kurt Zeilenga
61b509d881
Add some robustness to UTF-8 routines.
2000-01-23 18:43:30 +00:00
Kurt Zeilenga
16c903909c
Add comments to UTF-8 declarations.
...
Add US ASCII optimizations macros.
#ifdef out unused routines
Ready to hack getdn.c and others to support UTF-8
2000-01-23 05:35:38 +00:00
Kurt Zeilenga
4e0964e8b4
Add comments.
2000-01-23 02:39:55 +00:00
Kurt Zeilenga
22ba55371e
Move ldap_utf8_*() declarations from ldap-int.h to ldap_pvt.h.
...
We may likely want to expose the routines at a later date (ldap_utf8.h?).
2000-01-22 21:09:24 +00:00
Kurt Zeilenga
aa934d0666
We'll need ldap_utf8_strpbrk() as well.
2000-01-22 21:03:21 +00:00
Kurt Zeilenga
4e3c4d8c6d
Add initial (untested) implementations of ldap_utf8_strtok,
...
ldap_utf8_strcspn, ldap_utf8_strtok.
2000-01-22 20:55:43 +00:00
Kurt Zeilenga
3eca68a5d2
Add additional UTF-8 routines
2000-01-22 18:48:37 +00:00
Kurt Zeilenga
14210f5e34
Fix charlen and add getc
2000-01-22 03:40:54 +00:00
Kurt Zeilenga
23afcd5c6e
Initial UTF-8 routines.
2000-01-22 01:55:34 +00:00
Kurt Zeilenga
5967cc5658
Even more checks around use of crypt(3).
2000-01-17 17:09:33 +00:00
Kurt Zeilenga
c17b89f431
Add additional crypt() sanity checks.
2000-01-17 16:53:15 +00:00
Luke Howard
6a06fb7fba
In ldap_pvt_sasl_init() treat subsequent invocations as no-ops, not error.
2000-01-16 01:29:15 +00:00
Howard Chu
80f85e972d
In ldap_pvt_tls_init() treat subsequent invocations as no-ops, not error.
...
In tls_verify_cb() use CRYPTO_free instead of free (necessary on NT due to
use of different heaps).
Changed update_flags to use SSL_get_error() to check success/status. This
fixes the problem of sb->sb_trans_needs_read getting set on dead sockets.
2000-01-15 19:03:16 +00:00
Kurt Zeilenga
9ac0eab126
remove UNSPECIFIED_TLS... HOST implies ldap://
2000-01-14 01:08:15 +00:00
Kurt Zeilenga
10a6e51521
All close and redirect stdin, stdout, stderr.
2000-01-11 08:04:59 +00:00
Kurt Zeilenga
1fb42bf957
Revamp detach code to ensure stdin, stdout, stderr get closed.
2000-01-11 02:20:01 +00:00
Kurt Zeilenga
34fe70cc71
Validate krb5_init_context
2000-01-10 21:37:04 +00:00
Kurt Zeilenga
38f0b890ab
Borrowed a bit to literally... s/pop/ldap/ s/popper/slapd/
2000-01-09 00:20:00 +00:00
Kurt Zeilenga
e988e175a6
Minor fixes.
2000-01-08 18:51:27 +00:00
Kurt Zeilenga
6437785a82
Initial implementation of Kerberos password verification for
...
simple bind via:
{KERBEROS}principal
Code is disabled by default (for security reasons). Use
--enable-kpasswd to enable. Behind SLAPD_KPASSWD.
Reworked Kerberos detection and split out KBIND as independent
feature (--disable-kbind) (LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND).
KBIND depends upon detection of KRB4 (or KRB425) support. Detection,
building with eBones (as distributed with FreeBSD 3.4) okay, but
wasn't able to test as I don't have a K4 KDC handy.
--with-kerberos has a number of detection options... most likely
don't work properly.
2000-01-08 18:42:11 +00:00
Luke Howard
5a0bbd7eed
Imported <ldap.h> in <ldap_pvt.h> so ldap_pvt_sasl_bind() has necessary
...
types. Changed const sasl_callback_t * to LDAP_CONST sasl_callback_t *.
2000-01-05 12:56:17 +00:00
Luke Howard
a466a64318
Added support for connecting to LDAP servers located using DNS
...
SRV records. Added lock around resolver library which is shared
by the DNS SRV code and the getdxbyname() code.
2000-01-03 02:33:22 +00:00
Luke Howard
57b62dc7d4
Added ldap_pvt_sasl_bind() prototype to ldap_pvt.h. This
...
required importing sasl.h into ldap_pvt.h, thus that import
was removed from ldap-int.h.
2000-01-03 00:15:30 +00:00
Luke Howard
736b8d0a24
Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile
...
without PF_LOCAL support.
2000-01-02 01:56:01 +00:00
Luke Howard
9b4e3b2234
Merged in preliminary support for Cyrus SASL library;
...
support for DCE slash-delimited, left-to-right DNs;
support for a domain socket transport (enable with
--enable-ldapi); and extensions to URL parsing to
support the latter transport.
2000-01-02 01:21:25 +00:00
Howard Chu
d92d403a76
NT requires $(SECURITY_LIBS) at link time.
1999-12-26 00:11:14 +00:00
Kurt Zeilenga
4c7739e6e5
ITS#408: add missing LDAP_END_DECL
1999-12-22 00:42:05 +00:00
Kurt Zeilenga
f3a650b8af
Add comment about removing HANDSOFF may case alignment problems
1999-12-18 19:51:49 +00:00
Kurt Zeilenga
37d28e7d0d
Add ber_bvstr and ber_bvstrdup string to berval allocators.
1999-12-17 05:37:33 +00:00
Kurt Zeilenga
ab7c490960
Add BINDDN user-only directive to .ldaprc
...
Used only for simple bind when dn == NULL and password != NULL.
1999-12-17 03:27:16 +00:00
Kurt Zeilenga
30411f8402
Add slappasswd to generate rootpw.
1999-12-16 02:18:50 +00:00
Kurt Zeilenga
30ffb54064
ITS#399: timelimit/timeout handling
...
ITS#400: LDAP_TIMEOUT handling
1999-12-16 00:41:18 +00:00
Kurt Zeilenga
096dcdc580
Add support for useronly configuration attributes.
1999-12-14 02:26:37 +00:00
Kurt Zeilenga
b1639dadd6
Remove lint
...
Add copyrights
1999-12-13 04:53:59 +00:00
Kurt Zeilenga
d331d4c1f3
Remove lint.
1999-12-12 05:07:17 +00:00
Kurt Zeilenga
cda19446ef
s/generate/hash/
1999-12-12 05:06:36 +00:00
Kurt Zeilenga
18fad04e69
Fix == != typo
1999-12-12 05:02:03 +00:00
Kurt Zeilenga
c1a31ac9a2
Fix decoding of sasl bind and extended operation responses.
1999-12-12 03:16:46 +00:00
Mark Valence
7ee49bc676
Fix mem leak in ldap_start_tls(), treat empty host name as localhost when opening a connection.
1999-12-11 03:50:33 +00:00
Mark Valence
c0faf75a90
Unescape host:port when parsing a host list.
1999-12-11 03:46:07 +00:00
Mark Valence
a76c9f18a9
Start TLS extension: check that TLS was inited successfully, return default referral on failure as appropriate.
1999-12-10 19:18:33 +00:00
Mark Valence
e0e7e9842e
client/server controls added to ldap_start_tls().
1999-12-10 18:26:12 +00:00
Mark Valence
268dd9beaf
Condition ldap_start_tls on HAVE_TLS.
1999-12-10 17:18:59 +00:00
Kurt Zeilenga
431dad371c
Fix slapd SASL/ExternalOps encoding
...
Add controls to extended ops API signatures, need impl.
Update password to support optional server side generation of
new password, verification of old password, and changing of
non-bound user's passwords.
1999-12-10 04:52:32 +00:00
Mark Valence
454284f1ea
Adds for Start TLS functionality on slapd and LDAP C API.
1999-12-09 22:33:22 +00:00
Mark Valence
ccb9e1e9e3
Changed URL to URI for conf/env setting.
1999-12-09 22:17:08 +00:00
Kurt Zeilenga
354d0d5b50
Modify password code such that backend end routine calls into
...
frontend to complete parsing of extended op reqdata.
Modify password extended operation to allow optional id (DN)
entry to change (not tested). Also, provide room to allow
server side password generation (not implemented). Added optional old
password field to support proxying (not implemented).
Need to implement replog() support.
1999-12-09 21:30:32 +00:00
Kurt Zeilenga
b973e61dda
Fix {CRYPT} and {UNIX} passwords
1999-12-09 01:24:38 +00:00
Kurt Zeilenga
5e12c84a6f
Add simple password test program.
...
Rework lutil_passwd routines to use struct berval instead of strings.
1999-12-09 01:11:16 +00:00
Kurt Zeilenga
fd9f76f911
Fix reader/writer bug that allowed 2 writers! Yiks.
...
Reported by tsarna@endicor.com
1999-12-08 23:54:33 +00:00
Howard Chu
6a26e68a02
Backout fix in r1.38
1999-12-08 23:50:59 +00:00
Howard Chu
3c5848a71e
Fix ldap_chase_referrals to treat "ldap://host/" referrals the same as
...
"ldap://host".
1999-12-08 21:37:55 +00:00
Kurt Zeilenga
aeb2de33d7
Found and fixed stupid bug in seeded hash generation.
1999-12-08 19:23:32 +00:00
Kurt Zeilenga
96a126e36a
Need to adjust len by saltlen
1999-12-08 07:07:18 +00:00
Kurt Zeilenga
26c7d69e8c
Update for new password codes for MSVC5
1999-12-08 06:44:22 +00:00
Kurt Zeilenga
d5edb4bff6
Reengineered ldappasswd(1). Uses extended operation to set
...
user password. Likely to be modified to use bind control
instead. Use of modify deprecated in favor mechanisms that
support passwords stored externally to the directory (such
as in a SASL service).
Modified slapd extended operation infrastructure to support
backend provided extended operations.
1999-12-08 04:37:59 +00:00
Mark Valence
601c1530a8
Changes for URI spport: New routines ldap_initialize and ldap_create; LDAPURLDesc replaces LDAPServer, LDAPURLDesc list used instead of ldo_defhost.
1999-12-07 19:47:00 +00:00
Mark Valence
83e2f38543
Changes for URI spport: New routines ldap_initialize and ldap_create; LDAPURLDesc replaces LDAPServer, LDAPURLDesc list used instead of ldo_defhost.
1999-12-07 18:52:05 +00:00
Mark Valence
5f86e47aa8
Changes for URI spport: New routines ldap_initialize and ldap_create; LDAPURLDesc replaces LDAPServer, LDAPURLDesc list used instead of ldo_defhost.
1999-12-07 18:42:25 +00:00
Kurt Zeilenga
942d37afc5
Set ber_errno here and there.
1999-12-06 06:33:26 +00:00
Mark Valence
15c83bef9d
Changed ldap_pvt_tls_init_def_ctx() to not fail if there is no cacertfile/dir specified. This lets LDAP_OPT_X_TLS_REQUIRE_CERT=0 work. If LDAP_OPT_X_TLS_REQUIRE_CERT=1, connection will fail as appropriate since there is no CA list.
1999-12-06 04:44:22 +00:00
Mark Valence
402c511534
Removed some unused vars.
1999-12-06 04:11:50 +00:00
Mark Valence
aa8c95a24a
Bug fix. == NULL changed to != NULL before freeing mem.
1999-12-05 22:22:37 +00:00
Mark Valence
7d98b59dfa
Removed unused local var.
1999-12-05 22:19:08 +00:00
Kurt Zeilenga
fe591cf679
Remove istty test otherwise we may not detach.
1999-12-05 05:25:02 +00:00
Kurt Zeilenga
5d5588836f
Fix ldap_rename parameter order (ITS#387)
1999-12-04 17:19:11 +00:00
Kurt Zeilenga
482b1d7152
Remove lint.
1999-12-03 06:26:41 +00:00
Howard Chu
ed05ed8025
Fix memory losses, ITS#379
1999-12-03 00:21:32 +00:00
Howard Chu
568e25a7a9
ldap_result was losing messages when multiple msgids were queued,
...
and results were being returned one-at-a-time. Ugh, this cost me two
days, loss of hair, sleep, etc.....!
1999-11-30 13:32:06 +00:00
Howard Chu
5279265f2e
Added missing ldap_pvt_thread_mutex_trylock function.
1999-11-28 04:07:11 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +00:00
Kurt Zeilenga
8b99e6cdbd
Remove LBER_{TAG,INT,LEN}_{NTOH,HTON} macros. Rewrite code to
...
manual push bytes about. Allows ber_*_t to be any 32-bit or
larger type. Reworked AC_{HTON,NTOH}{L,S} macros to care only
about 32-bit (netlong) and 16-bit (netshort) reordering as
needed for BSD socket interface.
1999-11-26 23:32:18 +00:00
Kurt Zeilenga
c59d1a34db
Use 'long' for LBER_INT_T.
1999-11-25 17:45:21 +00:00
Kurt Zeilenga
62a06eda3e
Don't use 'int' for LBER_*_T types as we only have hton{s,l}.
...
Select appropriopriate hton{s,l} function to use in lber-int.h.
1999-11-25 17:10:45 +00:00
Kurt Zeilenga
53ee6b01b9
Fix typo in ldap_compare_ext. Found by dspeck@novell.com.
1999-11-19 02:01:50 +00:00
Kurt Zeilenga
357101793b
Use lber types instead of uint32 for md5. sha1 still requires
...
an integer type of exactly 32 bits.
1999-11-17 02:04:06 +00:00
Kurt Zeilenga
5f3ec33b0c
Backout premature commit.
1999-11-08 19:36:30 +00:00
Mark Valence
84be63096b
Minor bug fix in ldap_parse_extended_result.
1999-11-08 18:47:47 +00:00
Kurt Zeilenga
f4856214fb
*** empty log message ***
1999-11-08 15:38:59 +00:00
Kurt Zeilenga
14f107e9ed
Changes to support NT single debug
1999-11-01 22:17:06 +00:00
Kurt Zeilenga
b7af076fee
Use centralized output directories.
...
Update single debug/release not to use service manager nor event manager.
Likely breaks MINGW32 port.
1999-11-01 21:25:22 +00:00
Kurt Zeilenga
4cc712db53
Add <ac/param.h> to wrap <sys/param.h>
1999-11-01 17:21:24 +00:00
Howard Chu
17e1877a12
Fix broken MSVC builds. The previous round of Mingw32 patches changed some
...
ifdefs to depend on _WINNT, which is bogus. Added _WIN32 back on these ifs,
and fixed some other include problems.
1999-10-31 02:26:41 +00:00
Mark Valence
e20d6dfb8b
bug fixes for ldap_msgtype and ldap_msgid
1999-10-30 18:33:37 +00:00
Kurt Zeilenga
baa34f752b
Do not attempt to obtain sizeof(sin_addr.s_addr) or &sin_addr.s_addr
...
as s_addr member of in_addr may be a bitfield.
1999-10-30 04:58:06 +00:00
Kurt Zeilenga
ebc4a8f149
Use uint32 not u_int as code requires 32 bit unsigned integers.
1999-10-30 03:30:10 +00:00
Kurt Zeilenga
5bb1546867
Refine comments.
1999-10-28 17:42:46 +00:00
Howard Chu
e99eab787f
Use new macros from configure.in to accomodate NT/Mingw32 environment.
...
See README 1.27 log
1999-10-28 07:31:59 +00:00
Howard Chu
5438e045af
Fixed use of LDAP_F macro
...
See README 1.27 log
1999-10-28 07:29:25 +00:00
Howard Chu
a57a9abe6d
New files added for Mingw32 support.
...
See README 1.27 log
1999-10-28 07:22:10 +00:00
Howard Chu
dd89498e85
Fix misc syntax warnings and/or bugs.
...
See README 1.27 log
1999-10-28 07:18:48 +00:00
Howard Chu
74d93ac2f8
Fix Winsock-related warning and/or bugs.
...
See README 1.27 log
1999-10-28 07:17:08 +00:00
Mark Valence
a50cd075db
Changes to make TLS work on Windows
1999-10-27 22:40:05 +00:00
Kurt Zeilenga
554f5b7aea
Fix up comments.
1999-10-27 22:00:29 +00:00
Kurt Zeilenga
8d821f3904
Really fix gettimeofday usage.
1999-10-27 21:53:41 +00:00
Kurt Zeilenga
68a569c738
Don't use sig_atomic_t.
...
Comment upon synchronization issue.
Fix gettimeofday usage.
1999-10-27 21:50:49 +00:00
Kurt Zeilenga
c52dc059e6
In fallback mode, use value of buffer to improve quality of hash.
1999-10-27 19:42:27 +00:00
Kurt Zeilenga
f804da9bef
Port to NT.
1999-10-27 04:41:38 +00:00
Kurt Zeilenga
491dc61df6
Didn't mean to commit #undef URANDOM_DEVICE
1999-10-27 00:29:10 +00:00
Kurt Zeilenga
241799c9e3
Make sure rdata differs for each program.
1999-10-27 00:08:31 +00:00
Kurt Zeilenga
9e0958d5bc
Rework counter code in fallback.
1999-10-26 23:54:39 +00:00
Kurt Zeilenga
58e10c7417
Add a fallback based upon Phil Karn's "practical randomness" idea.
1999-10-26 23:41:09 +00:00