Kurt Zeilenga
fe591cf679
Remove istty test otherwise we may not detach.
1999-12-05 05:25:02 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +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
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
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
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
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
Kurt Zeilenga
d0ad0cf228
Minor cleanup.
1999-10-26 23:04:44 +00:00
Kurt Zeilenga
3d064b73c5
Fix compilation errors.
1999-10-26 23:00:30 +00:00
Kurt Zeilenga
bdca662249
Add lutil_entropy(). Currently only supports /dev/urandom or
...
Linux equivs. Should be extended to support other quality
sources of entropy. Should be extended to support a reasonable fallback.
1999-10-26 22:57:39 +00:00
Kurt Zeilenga
f4a0699311
Add macros to compute base64 encode/decode lengths.
1999-10-25 01:44:47 +00:00
Kurt Zeilenga
a284b641b7
Move crypt(3) prototypes from <ac/unistd.h> to <ac/crypt.h> (new) to
...
avoid clashes with Kth Kerberos.
1999-10-01 04:48:30 +00:00
Kurt Zeilenga
3c00fd6d23
Rework passwd routines to allow callers to determine which
...
schemes are supported. This should facilate server rootDSE
advertisement of supported schemes, etc..
1999-09-25 22:13:25 +00:00
Kurt Zeilenga
e642a1b9cd
Add OpenLDAP RCSid
1999-09-08 22:52:19 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Hallvard Furuseth
1ced9c02cf
Fix typo in lutil_debug_file()
1999-09-02 07:40:25 +00:00
Kurt Zeilenga
683ea591f7
pipe(2) needs unistd.h
1999-08-31 17:51:04 +00:00
Kurt Zeilenga
0307dd3b38
Use pipe(2) if descriptors are selectable.
1999-08-31 17:01:10 +00:00
Kurt Zeilenga
ac8b5468aa
Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
1999-08-31 16:47:42 +00:00
Kurt Zeilenga
b509dd4d8c
sockpair cleanup including:
...
provide prototype in lutil.h
use LBER_SOCKET_T instead of int in prototype. (didn't use
ber_socket_t so all of lber.h wouldn't have be dragged in)
rename signal handlers, use RETSIGTYPE, and make SIGHUP wake
rename fd to sd to reflect descriptor must be usable as a socket.
renamed sel_exit_fds to wake_sds to reflect current use
improve readability of sockpeer.c including removing obtuse goto.
1999-08-31 05:18:06 +00:00
Howard Chu
c057653881
Added lutil_pair()
1999-08-31 03:25:23 +00:00
Kurt Zeilenga
b8a3a153bb
Axe <varargs.h> support. Assume STDC C translator is available
...
to build OpenLDAP.
1999-08-24 00:27:53 +00:00
Kurt Zeilenga
e4f6d54877
New dn2id format with base/one/subtree indices (ldbm/bdb2)
...
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Gary Williams
b1701d24e1
if urls is NULL, default to ldap:///
1999-08-04 18:26:19 +00:00
Kurt Zeilenga
59c8a88c2f
Needs <ac/stdlib.h> for EXIT_*
1999-08-03 18:41:55 +00:00
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
e3d164d10e
Simplify and speed up a bit by removing CHAR64LONG16.
1999-08-01 11:16:53 +00:00
Kurt Zeilenga
c881940100
relocate wsa error to -llutil
1999-07-27 00:36:58 +00:00
Kurt Zeilenga
933908f72f
ACL CHANGES:
...
by <who> <access> changed to by <who>+ <access> (joined with AND)
added peername=<regex> sockname=<regex> url=<regex>
removed addr=<regex> (use peername instead).
replace dn_upcase with str2upper and str2lower. Use where needed.
1999-07-21 20:54:23 +00:00
Kurt Zeilenga
94d5067b22
Use assert instead of private Assert macro
1999-07-13 18:39:20 +00:00
Hallvard Furuseth
55fa595f56
Add missing newline at EOF
1999-07-13 04:11:49 +00:00
Kurt Zeilenga
9225707a06
Modify lutil_passwd to accept a third argument char** methods to
...
specific which methods may be used. This will facilate development
of a slapd config directive "passwordMethod ..." to specify which
methods should be allowed.
1999-06-29 22:24:53 +00:00
Kurt Zeilenga
dcc5bdfe7e
Log out to stderr, add LDAP_VERSION3 support to bind.c and modrdn.c
1999-06-29 01:02:48 +00:00
Kurt Zeilenga
1fe082d16c
Support both vsnprintf and vsprintf
1999-06-28 22:04:31 +00:00
Kurt Zeilenga
ab10099fc1
Added support for "userPassword: {UNIX}uid". getpwnam("uid") is
...
used to fetch the pw_passwd which is than passwd to crypt().
getspnam() is used instead of getpwnam() when available.
Added configration detection of pw_passwd, shadow.h, getpwnam()
and getspnam().
1999-06-26 20:52:59 +00:00